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

Create or open a RadWindow without using a javascript function?

2 Answers 79 Views
Window
This is a migrated thread and some comments may be shown as answers.
Keith
Top achievements
Rank 1
Keith asked on 04 Dec 2015, 04:37 PM

Is it possible to create or open a RadWindow without using a javascript function?

The reason I ask is because I have an ASP.Net page with multiple UpdatePanels that is updated by a Timer every few seconds.  Each UpdatePanel has a button for the user to click on to open another ASP.Net page with a Bar Chart.

I have found a way to get a button within an UpdatePanel to work and to get a button outside of an UpdatePanel to work.  But as soon as I set up the button to call a javascript function directly using OnClientClicked or from the code behind, nothing happens when clicking on the buttons.

It would be nice to be able to open a window without using a javascript function.

Maybe there is a way to do it using the RadWindowManager.

Please help.

Sincerely,

Keith Jackson

2 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 07 Dec 2015, 06:20 AM

Hi Keith,

Everything RadWindow does is done on the client. This includes the actual rendering of the controls. Its server code can, at most, serialize settings to the client-side.

What I can suggest you look into is the following:

If you still can't resolve this, post here a sample snippet that shows what you are trying to achieve and the exact problem you have.

Regards,

Marin Bratanov
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Keith
Top achievements
Rank 1
answered on 09 Dec 2015, 04:33 PM

Hi Marin,

    Thanks for your response!  I did finally get it to work.  Thanks for the information on making sure the RadWindow/RadWindowManager is outside of the update panel!

Sincerely,

Keith Jackson

Tags
Window
Asked by
Keith
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Keith
Top achievements
Rank 1
Share this question
or