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!
|
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!
|