Custom dialogs

2 posts, 0 answers
  1. Maieutiche
    Maieutiche avatar
    5 posts
    Member since:
    Oct 2008

    Posted 18 Apr 2013 Link to this post

    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
  2. Rumen
    Admin
    Rumen avatar
    13889 posts

    Posted 18 Apr 2013 Link to this post

    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.
Back to Top