event is raised when a row's Edit button is clicked, but before the Grid View control enters edit mode.This enables you to provide an event-handling method that performs a custom routine, such as canceling the edit operation, whenever this event occurs.

get value from gridview rowupdating-71

protected void My Upd Button_Click(object sender, Event Args e) { var My Date Ins Calendar = Grid View1. Visible = false; } protected void Grid View1_Row Editing(object sender, Grid View Edit Event Args e) { Grid View1.

Find Control("My Date Ins Calendar") as Calendar; My Date Ins Calendar. Data Source = My Data Source; //Set it to your datasource Grid View1.

NET forums is how to deal with exceptions like The Grid View 'Grid View1' fired event Row Editing which wasn't handled.

I am developing a web app in asp.net/trying to simulate a desktop app I developed which needs for editable cells in gridviews where users need for increase/decrease the number of rows/columns, being them all editable.

Thanks to your article I can go forward with my personal project, so I am very very grateful.

Is this compatible with copying data from excel and pasting it in the gridview you are providing us?

I can access the calendar control inside the Gridview Footer Template.

But it's not so easy to do the same thing in the Edit Item Template Can anybody suggest how to do this?

I am using 3 controls in the Edit Item Template: protected void My Date Ins Button_Click(object sender, Event Args e) { if (Grid View1.

Visible = false; } } protected void My Date Ins Calendar_Selection Changed(object sender, Event Args e) { Calendar My Cal = (Calendar)sender; ((Text Box)Grid View1.

Visible = false; } method will work for getting the selected date from the calendar control into the textbox control, but I still want to make the calendar appear and disappear when the user presses the image button.