Welcome Guest Search | Active Topics | Sign In | Register

Grid with Button column style Options
lliu
Posted: Thursday, January 21, 2010 5:02:11 PM
Rank: Newbie
Groups: Member

Joined: 3/31/2008
Posts: 4
Hi

I added 2 grid controls to my page. (grid1 and grid2). For grid1, I use Button column style. I try to load data to grid2 based on the grid1 button click. (diff row will have diff dataset) How do I do that? For regular gridview control, we can use rowDataBound and SelectedIndexChanged to handle this. I don't know how to do this for Essential Objects "Grid".

Thanks for help!
Li Liu
eo_support
Posted: Thursday, January 21, 2010 5:07:14 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

ButtonColumn triggers ItemCommand event. So you will need to handle Grid1's ItemCommand event and do whatever you need to there (such as filling Grid2).

Thanks!


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.