Welcome Guest Search | Active Topics | Sign In | Register

Example of getting result from Dialog Options
Jack.Wu
Posted: Sunday, March 14, 2010 10:12:18 AM
Rank: Advanced Member
Groups: Member

Joined: 5/22/2009
Posts: 33
Hello Sir,

I have a question of how to get the results from Dialog. For example, if I put a Grid control with CheckBox Column in a Dialog, how can I get the selected items from Dialog after the Dialog Accept Button pressed.

Please give me an example to get the result from Dialog into the calling asp.net page. Thank you.
eo_support
Posted: Monday, March 15, 2010 9:49:22 AM
Rank: Administration
Groups: Administration

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

You will need to get the control with something like this first:

Code: C#
EO.Web.Grid grid = 
    (EO.Web.Grid)Dialog1.ContentContainer.FindControl("Grid1");


Once you have the grid, everything else will be the same as if you have the Grid directly in your page.

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.