This is a discussion on GridView.DataBind not working within the ASP and ASP.NET Programming forums, part of the Web Development category; Hi, all I create a Dynamic Repeater in the DataBound Event of the nested repeater(Repeater inside the Repeater). Here ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Hi, all I create a Dynamic Repeater in the DataBound Event of the nested repeater(Repeater inside the Repeater). Here the Repeater which i generated is in the third level of nested Repeater the third Repeater name is cascadingSubCategoryRepeater. i have assign the ItemDataBound event as shown bellow and i bind the cascadingSubCategoryRepeater repeater, It works fine and the Databound event was called perfectly. "cascadingSubCategoryRepeater.ItemDataBound += new System.Web.UI.WebControls.RepeaterItemEventHandler (this.cascadingSubCategoryRepeaterDup_DataBound); cascadingSubCategoryRepeater.DataBind();" Actually my problem starts here. when i replace my Nested Repeater to Nested GridView and when i create a Third GridView Dynamically and assign a Event as show bellow the dataBind event was not firing i checked it by debuging the "cascadingSubCategoryGridView_DataBound" was not fired "cascadingSubCategoryGridView.RowDataBound += new System.Web.UI.WebControls.GridViewRowEventHandler( this.cascadingSubCategoryGridView_DataBound); cascadingSubCategoryGridView.DataBind();" Any ideas, would be greatly appreciated! Thanks, Rajesh.R |
| Sponsored Links |
| |||
| Hi, If u generating the third GridView dynamically,Usiing 'foreach' statement find the presence of dynamically created gridview.Then using that GridView add RowDataBound event..Then it will work i think so... |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Exporting GridView to Excel | shaalini | ASP and ASP.NET Programming | 4 | 03-26-2008 02:23 AM |
| Which is the best among DataList,Repeater and GridView and Why? | poornima | ASP and ASP.NET Programming | 2 | 03-14-2008 08:44 PM |
| GridView Item Tempalte Problem | shaalini | C# Programming | 0 | 01-29-2008 09:11 PM |
| problem when I use this.DataBind() in content page..? | Archer | C# Programming | 1 | 07-22-2007 11:30 PM |
| How to add mouseover function to Gridview..? | kingmaker | C# Programming | 1 | 07-20-2007 12:40 AM |