Wednesday, October 13, 2010

What are the RowTypes supported by GridView ?

DataRow ,
Header ,
Footer,
EmptyDataRow,
Pager,
Separator


1. What is the difference between RowCreated and RowDataBound ?

The Bound Cell Data is not available in RowCreated event.

Otherwise there all the things which can be done in RowDataBound
can also be done in RowCreated ( things which do not involve bound data).

Other difference is RowCreated is automatically called in
Postback and Nonpostback scenarios. RowDataBound is called when a
call to DataBind is given.


2. What is RowCommand ?
This is an event fired when command button is clicked on Gridview.
The command button can be one of the system types (delete, edit, update,..)
or custom command type.

No comments:

Post a Comment

How to check local and global angular versions

 Use the command ng version (or ng v ) to find the version of Angular CLI in the current folder. Run it outside of the Angular project, to f...