This is a migrated thread and some comments may be shown as answers.

[Solved] Adding functionality to a customized Built-in Dialog

1 Answer 93 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Tijs
Top achievements
Rank 1
Tijs asked on 22 Apr 2009, 07:58 AM

For a webapplication i am working on i need to extend the LinkManager with some new functionality. What i would like is to add a new asp.net databound dropdownlist. To bind the datasource to the dropdownlist control i need to have some kind of code behind, since that part is compiled into the Telerik.Web.UI.dll library i guess it is not possible??

The other 2 options that came to my mind is filling the HTML combobox using ajax by calling a webservice or just create an new custom dialog. Are there any other options??

Thanks in advance

 

1 Answer, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 23 Apr 2009, 07:00 AM
Hello Tijs,

You are correct that RadEditor dialogs are built into the DLL, but they can also be loaded from external location - which allows for extensive modifications.
 Please check the following demo for more information:
http://demos.telerik.com/aspnet-ajax/editor/examples/externaldialogspath/defaultcs.aspx

Important note: building dialogs into the DLL comes with some strings attached - so, even as these dialogs are loaded from external location, it is not possible to write server code into them - it will simply not be parsed by the ASP.NET framework.

So, my suggestion would be to fill the combo using a web service (easiest approach) or to implement a plain old user control that contains the combo and its codebehind separately and simply add the user control to the dialog.

Best regards,
Tervel
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Editor
Asked by
Tijs
Top achievements
Rank 1
Answers by
Tervel
Telerik team
Share this question
or