All was workin fine b4 I added the Update Panel and Content Template.
The Script Manager is in the Master Page Please help me....
You will need to create them again in the Pre Render event if it's a postback.
So you will probably also need to store some of the information you used to determine how to create the Link Buttons in View State, so that you can re-create them in Pre Render.
How Edit Operation works When a user clicks on the pencil image button used for editing, the Grid View enters into Edit mode and the Figure 2 The figure above shows how it looks when the Grid View enters into Edit mode.
For every field, data bound textboxes are displayed.
This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. By joining today you can post your own programming questions, respond to other developers questions, and eliminate the ads that are displayed to guests. Hi All I am creating a Datagrid on the fly, which works fine, added a edit,cancel update command field as a template field.
However wen I click on Update nothin happens, currently it isn't connected to the database I just want it to change the text of a button so I know the update works.
THE ANSWER: Making sure that Button Type="Link" and Causes Validation="false" appears to fix the problem.
You are currently viewing the Ajax section of the Wrox Programmer to Programmer discussions.
Net you can use a Repeater or Grid View controls to simply display any data collection came from any data source(database, XML file,...etc).
Sometimes each item of that collection has a property that is another collection and to display it you will use another Repeater or another Grid View(nested Repeater or nested Grid View).
A Grid View Update Event Args object is passed to the event-handling method, which enables you to determine the index of the current row and to indicate that the update operation should be canceled.