problem with open page aspx into radwindow from code behind

1 posts, 0 answers
  1. Fabio Cirillo
    Fabio Cirillo avatar
    179 posts
    Member since:
    Jan 2010

    Posted 15 Feb Link to this post

    hi, I want to load a page in an .aspx radwindow with code-behind, impostatndo the url, eco vb code and html code, but I get this javascript message that I do not understand because I seem to have written well everything.

    this is error:

    JavaScript critical error at line 41, column 10 in (unknown source location) \ n \ nSCRIPT1004: Expected ';'

    url = "../report/report.aspx?date1=" + date          
    Report_Window.NavigateUrl = url          
    Report_Window.Title = "Report "
    Dim script As String = "Function f(){$find(""" + Report_Window.ClientID + """).show(); Sys.Application.remove_load(f);}Sys.Application.add_load(f);"
    ScriptManager.RegisterStartupScript(Me, Me.[GetType](), "show", script, True)

    <telerik:RadWindow ID="Report_Window" runat="server" Title="Report" ShowContentDuringLoad="false" VisibleStatusbar="false"<br>            Behaviors="Close, Move" Skin="Silk" Height="100px" Width="200px" AutoSize="true" Modal="true" ReloadOnShow="true"><br>        </telerik:RadWindow>

Back to Top