Rank: Advanced Member Groups: Member
Joined: 10/20/2008 Posts: 39
|
hello, i want make a custom dialog insert link for the editor so with the example i do this : Quote: <DialogContents> <eo:EditorDialogContent CommandName="InsertOrEditLink"> <ContentTemplate> <table cellSpacing="3" cellPadding="1" border="0"> <tr> <td>Text:</td> <td><asp:DropDownList ID="listGloss" runat="server" ></asp:DropDownList></td> </tr>
.....
It is work, but i can't access to the controle "istGloss" in behind code, any issue? or i must use javascript for add item? Thanks!
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You can not access it directly because it is not a direct child of the page. I believe there is a way but a very long way ---- You will need to access the Editor's DialogContents property first, then get the corresponding EditorDialogContent object, from that object you can get the Dialog object, then call FindControl on the Dialog's ContentContainer property.
Thanks!
|