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

RadWindow open from QueryString value

1 Answer 60 Views
Window
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 14 Mar 2010, 02:29 AM
Hi,

Title should read RadWindow open from URL - sorry

I have a image gallery app. Thumnails are inside a DataList and the full image is shown in a tooltip.

What I would like to do is be able to share links to specific images - so for example something like this

http://www.site.com/123/65342/image.aspx

Where 123 would be read and open up that album but then also 65432 would be read and open up RadWindow with that image in it on top.
I hope this makes sense but is it possible?

Cheers,

Jon

1 Answer, 1 is accepted

Sort by
0
Accepted
Georgi Tunev
Telerik team
answered on 15 Mar 2010, 10:04 AM
Hi Jon,

Yes, this is possible - you need to get the query string on the server, split it (for example by the "/" separator) and open the RadWindow control from the server by setting its VisibleOnPageLoad property to true. More information on the subject is available in various resources in the Net and in the following 2 articles from RadWindow's documentation:
http://www.telerik.com/help/aspnet-ajax/window_programmingusingtheurlquerystring.html
http://www.telerik.com/help/aspnet-ajax/window_settingserversideproperties.html



Kind regards,
Georgi Tunev
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
Window
Asked by
Jon
Top achievements
Rank 1
Answers by
Georgi Tunev
Telerik team
Share this question
or