Detailsview detailsview1 fired event itemupdating which


Using even this code: protected void Grid View1_Selected Index Changed(object sender, Event Args e) protected void Form View1_Item Updated(object sender, Event Args e) This doesn't make sense, please explain more about why you are trying to disable the Text Box, have you just left the Item Template off in your question?

Like we need gridview sample with calendar control, when clicking the textbox of the gridview,it will show the calendar control for editing textbox.

Haiii bhavin here , Sir i am making C#window application and i want to add dynamic column as a check box for delete and edit .

The point is that I need to disable some of the Text Boxes in the Form View1 based on, for example, user access levels.

Selecting the item from Grid View1 disables the Text Box1 just fine, but when I click the Update button on the Form View1 then all Text Boxes are enabled, even if I see in the debugger code running through the Grid View1_Selected Index Changed() function.

The edit button required two clicks to change the mode to Edit instead of Read Only.