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

[Solved] Passing a value to Telerik window

0 Answers 50 Views
Window
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sandeep S
Top achievements
Rank 1
Sandeep S asked on 06 May 2013, 01:37 PM
Hi,

I am opening Telerik window as below.

Html.Telerik().Window()
    .Name("MyWindow")
    .Title("My Window")
    .Resizable(resizing => resizing.Enabled(true))
    .ClientEvents(events => events.OnClose("TelerikWindowOnClose"))
    .Content("Loading....")
    .Visible(false)
    .Modal(false)
    .Buttons(b => b.Maximize().Close())
    .Width(810).Draggable(true).Scrollable(true)
    .Height(500)
    .Render();

Then in the window I have links to different pages. But in all the pages I need to get the parent page URL. If it was only one page I could have passed it as a parameter or used a hidden field. But for my case it can't be done. Is it possible to get parent page URL from the window in anyother way except through query string or hidden field? If not the url it would work for me if I can pass a value to the window which can be accessed in all the pages that are opened inside the window.


Thanks
Tags
Window
Asked by
Sandeep S
Top achievements
Rank 1
Share this question
or