Welcome Guest Search | Active Topics | Log In | Register

Datagrid within Datalist problem Options · View
sebastian3
#1 Posted : Thursday, May 29, 2008 7:45:11 AM

Rank: YAF Forumling




Joined: 5/29/2008
Posts: 1
Location: Kolkata, India
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.
behnam
#2 Posted : Friday, July 04, 2008 4:50:30 PM

Rank: YAF Forumling


Joined: 7/2/2008
Posts: 2
Location: Bandare Anzali, Iran
i suggest that u point datagrid events to some methods when u have access on grid in datalist itemdatabound
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.3 RC2 | YAF © 2003-2008, Yet Another Forum.NET
This page was generated in 0.051 seconds.

SourceForge.net Logo Powered by ASP.NET v2.0 411ASP.NET