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

Add query string to Telerik.Web.UI.DialogHandler.aspx

1 Answer 149 Views
Editor
This is a migrated thread and some comments may be shown as answers.
ErikK
Top achievements
Rank 1
ErikK asked on 25 May 2010, 10:34 PM
Hi

It is possible to add custom querystrings to Telerik.Web.UI.DialogHandler.aspx

Example

Page with the RadEditor :
MyPage.aspx?MODE=Update&PageGUID=%7b43C05F0F-F82A-4AE4-AF06-01CF306604F6%7d

when a dialog opens the querystring need to be appended to the ex LinkManager

../Telerik.Web.UI.DialogHandler.aspx?DialogName=LinkManager&Skin=Default&Title=Hyperlink%20Manager&doid=..&MODE=Update&PageGUID=%7b43C05F0F-F82A-4AE4-AF06-01CF306604F6%7d

In the LinkManager i have placed a custom button, which need these parameters

/Erik K

1 Answer, 1 is accepted

Sort by
0
Accepted
Rumen
Telerik team
answered on 27 May 2010, 11:16 AM
Hi ErikK,

Here is how to set an additional queristring to the dialog url:

- via server code:
RadEditor1.DialogOpener.AdditionalQueryString = "string";

- via client code
editor.get_dialogOpener().set_additionalQueryString()

You can get the original queritystring using
editor.get_dialogOpener().get_additionalQueryString() 

Best regards,
Rumen
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Editor
Asked by
ErikK
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Share this question
or