Last post Jul 28, 2010 11:29 PM by Qin Dian Tang - MSFT
Jul 26, 2010 01:44 PM|s.dorai|LINK
anyway i managed to code the gridview to my need. i need to make it a custom control so that i can use across all pages,
do anyone have an idea... or where i can learn about it . I mainly need some good resource to learn than to copy codes.
Jul 26, 2010 04:44 PM|sansan|LINK
you have to create a web user control and embed that code in that.
check these links:
You have to register the control and use it in your aspx.
you can create event handlers for your control like a regular asp control
hope this helps
Jul 27, 2010 12:47 PM|s.dorai|LINK
thanks for your reply. i want to generate additional controls to the ones that are generated as tr, td.. by default.
which one do i use, the "web control library" or the "user control".
i am currently using the web control library, cos i want to trap the default events and then code the contents the way i need.
do you have done so, if so , you could post me some code for an overview.
Jul 28, 2010 11:29 PM|Qin Dian Tang - MSFT|LINK
Here are some good articles about custom GridView: