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

problem with open page aspx into radwindow from code behind

0 Answers 71 Views
Window
This is a migrated thread and some comments may be shown as answers.
Fabio Cirillo
Top achievements
Rank 1
Fabio Cirillo asked on 15 Feb 2016, 10:44 PM

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>

No answers yet. Maybe you can help?

Tags
Window
Asked by
Fabio Cirillo
Top achievements
Rank 1
Share this question
or