sebastian3 0 Light Poster

Hi all, i m having the following problem.

I have a Datagrid within Datalist. I m populating the Datagrid in Datalist ItemDataBound, no problems with that. But in the Datagrid RowdataBound i cant access the Datagrid directly, as because the Datagrid is within Datalist. Morover i cant do findcontrol because the e parameter in Rowdatabound event is of the GridViewRowEventArgs type and i cant findcontrol a Datagrid from Datagrid GridViewRowEventArgs e . The findcontrol should be done in DataListItemEventArgs e but it is available in Datalist ItemDatabound and not in Datagrid Rowdatabound.

I think i have explained the problem. Can anyone look into the problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.