Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP .Net Web Controls (http://www.velocityreviews.com/forums/f63-asp-net-web-controls.html)
-   -   Please help regarding setting gridview in edit mode dynamically (http://www.velocityreviews.com/forums/t946393-please-help-regarding-setting-gridview-in-edit-mode-dynamically.html)

satejd 05-20-2012 01:35 PM

Please help regarding setting gridview in edit mode dynamically
 
Hello,
I have to create Nested Gridview with controls to be attached to each of them dynamically.
so what i have done is that in parent gridview i have two <asp:templateField>'s with first one having expand,collapse image logic and second template having <asp:Gridview></asp:Gridview>.
At runtime,i m creating boundfields and inserting between those two templatefields making inner gridview template at the last to fulfill the requirement.
Currently,i m working on Edit and Update rows which i have to do it dynamically.By googling through net i found that setting gridview.editindex=e.neweditindex will automatically placed gridview in editmode( yes its happening but in textbox controls only).
I have to bind gridview cells with another controls like 'Dropdownlist' with selected data bind to dropdown list.
How should i do that and in which event it is possible.
(for reference follow below link
http://www.codeproject.com/Articles/...iew-All-in-One)
Regards,
Satej


All times are GMT. The time now is 09:25 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.