Findcontrol in gridview rowupdating event

Rated 4.14/5 based on 642 customer reviews

I'm programmatically querying the db and i'm not using the smart tag of the gridview. Yes, i could see the controls in item template, but not in edititemtemplate.Is there any way to get controls of the edit template? Here's my source code: " Select Command="SELECT tb_entity. that's why i don't know how to go about it.This post has been edited by jpcsmit: 20 January 2010 - PM @eclipsed4utoo: Then you have not truly delved into Grid Views, grasshopper.Using Template Fields in the Grid View Control Yes there is, but that's a Bound Field, which means the user can't change the value in the Grid View.

Also, the fourth column is already a template field.The following example demonstrates how to use the Row Command event to add the name of a customer from a Grid View control to a List Box control when a row's Add button is clicked.The following example demonstrates how to use the Row Command event to update the price of a product when a row's button is clicked.This example has the paging functionality enabled for the Grid View control and sets the Command Argument property of the Button control to the appropriate row index.The Row Command event is raised when a button is clicked in the Grid View control.

Leave a Reply