Welcome Guest Search | Active Topics | Sign In | Register

shared dialog Options
quirtep
Posted: Sunday, November 30, 2008 6:24:35 AM
Rank: Advanced Member
Groups: Member

Joined: 9/6/2007
Posts: 133
Is there any way to share a single dialog control with items in a listview or other repeater control? For example, I have a listview showing records from a database, and I want the dialog window to appear when a person clicks an item in the listview, but it would be more efficient to place the eo:Dialog control outside the template of the listview. This is possible with the .Net modalpopup, since the extender can be placed inside the listview template but the popup panel itself outside the listview template, and the contents can be dynamically generated. Is it also possible with the eo:Dialog control?

Thank you!
eo_support
Posted: Monday, December 1, 2008 4:00:43 AM
Rank: Administration
Groups: Administration

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

You can do the same with the dialog. The dialog only acts as a container, so you can put it wherever you want and change the contents whatever way you would like. For example, you can put a Label inside the dialog's ContentTemplate and then set the Label's Text property by code.

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.