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

Custom dialogs

1 Answer 9 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Maieutiche
Top achievements
Rank 2
Maieutiche asked on 18 Apr 2013, 08:26 AM
Hi, i have seen http://demos.telerik.com/aspnet-ajax/editor/examples/customdialogs/defaultvb.aspx and i have tried to add new custom dialogs on my application.

But i want to open a new diaolg with some parameters,  in my old telerik i wrote:

 
var args = editor.GetDialogParameters(commandName)
args.text = showSelectedTextContent()
args.html = showSelectedHTMLContent()

but now with last telerik update i have no idea how to do

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 18 Apr 2013, 12:30 PM
Hello,

The GetDialogParameters method is not offered by the new version of RadEditor for ASP.NET AJAX.

You can pass custom dialog parameters via the querystring of the opened dialog and obtain them using Request.QueryString() method.

All the best,
Rumen
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Editor
Asked by
Maieutiche
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or