With ajax this javascript code not working

2 posts, 0 answers
  1. lakmal
    lakmal avatar
    76 posts
    Member since:
    Jun 2009

    Posted 15 Sep 2009 Link to this post

    Hi,

    When i use ajax following code not working. When i remove ajax from page, its working fine.

    Why this?

     Path = "DocumentInfo.aspx?DocNo=" + lbId.Text;
                    Response.Write("<script language = Javascript>var win=window.open('" + Path + "',null,'width=910,height=455,top=150,left=150','true');</script>");

     

    lakmal

  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 15 Sep 2009 Link to this post

    Hi lakmal,

    You can use ResponseScripts property of RadAjaxManager to achieve your goal.

    Greetings,
    Vlad
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top