Click here to Skip to main content
15,898,373 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Javascript code is not working inside a RadAjaxPanel

I have used a telerik RadAjaxPanel. Insdie this panel I have a button. I want to open a new window using javascript code. My code is shown below:

string script = "window.open('http://example.org/NewPage.aspx', 'new_window');";
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "Open window", script, true);

NB. If is use the button outside the RadAjaxPanel then it works nicely.

Thanks in advance
Posted
Comments
thatraja 11-Aug-10 2:12am    
Any errors displaying in IE or in Firefox error console. If yes then post here

1 solution

Did you refer the Telerik forum? or the documented help of their controls?

Did you tried looking here:
Telerik RadGrid Forum[^]

Posting here is fine. Might be someone can help but I had found that specific questions related to 3rd party is answered more quickly and accurately at respective forums.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900