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

RadScriptManager can't load at first

1 Answer 69 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Anatoliy
Top achievements
Rank 2
Anatoliy asked on 08 Oct 2012, 10:05 AM
I turned my Login page to Telerik Components. There some problems!
At first, when I saved the password by browser, RadTextBox.Text was empty. That's why I turned back to asp TextBoxes.

Than I found that published website at first load at IIS server throw the Console Errors.

At second time all was complete.

 I try to fix and understand the problem, but I can't. Please, help as fast as possible!


Here is my used telerik components and their properties:
<form id="Login" method="post" runat="server">
<telerik:RadScriptManager ID="ScriptManagerLogin" runat="server" LoadScriptsBeforeUI="False">
<Scripts>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"/>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js"/>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js"/>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"/>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js"/>
<asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js"/>
</Scripts>
</telerik:RadScriptManager>
//First Window
<telerik:RadWindow runat="server" Modal="True" VisibleOnPageLoad="true" Height="260px" Width="284px" Behaviors="Move" VisibleStatusbar="False" ID="RadWindowLogin" Title=" Account Information" EnableShadow="false" Behavior="None">
<ContentTemplate>
<div align="center">
<table  width="258px">
<tr>
<td style="width:70px;">
<asp:Label ID="labelDomainInfo" runat="server" Text="Domain:" ForeColor="Gray" />
</td>
<td style="text-align: center;">
<asp:TextBox ID="TextBoxDomain" runat="server" Width="180px" />
</td>
</tr>
<tr>
<td style="width:70px;">
<asp:Label ID="labelUserInfo" runat="server" Text="Username:" ForeColor="Gray" />
</td>
<td style="text-align: center;">
<asp:TextBox ID="TextBoxUsername" runat="server" Width="180px" />
</td>
</tr>
<tr>
<td style="width:70px;">
<asp:Label ID="labelPasswordInfo" runat="server" Text="Password:" ForeColor="Gray" />
</td>
<td style="text-align: center;">
<asp:TextBox ID="TextBoxPassword" runat="server" Width="180px" TextMode="Password" />
</td>
</tr>
</table>
<table width="258px">
<tr>
<td style="width:40%;">
<asp:CheckBox ID="CheckBoxPersist" runat="server" Text=" Persist Cookie " TextAlign="Left" Font-Size="Small" ForeColor="Gray" />
</td>
<telerik:RadButton ID="ButtonLogin" runat="server" Text="Login" OnClick="ButtonLoginClick" Width="60px">
</telerik:RadButton>
</td>
</tr>
</table>
<asp:Label ID="LabelError" runat="server" ForeColor="#FF3300" ClientIDMode="Static" />
</div>
</ContentTemplate>
</telerik:RadWindow>
 
//second window: if no root group select
<telerik:RadWindow ID="RadWindowSelectRoot" runat="server" Modal="True" VisibleOnPageLoad="false" AutoSizeBehaviors="Default" Behaviors="Move" VisibleStatusbar="False" Title=" Select Admin Group, Please" Height="500px" Width="500px">
<ContentTemplate>
<div align="center">
<table>
<tr>
<td rowspan="2">
<telerik:RadListBox ID="RadListADGroups" runat="server" DataKeyField="Id" DataSourceID="ObjectDataSourceADGroup"
                                    DataTextField="Name" EmptyMessage="Active Directory is missing" ClientIDMode="Static"
                                    Height="420px" PersistClientChanges="False" TransferMode="Copy" Width="400px" />
</td>
<td style="height: 80px;">
<telerik:RadButton ID="RadButtonAddRoot" runat="server" Text="Enter" Height="60px" Width="60px" OnClick="RadButtonAddRootClick">
</telerik:RadButton>
</td>
</tr>
<tr>
<td style="width: 100px;">
<asp:Label ID="LabelMessage" runat="server" ForeColor="#FF3300" ClientIDMode="Static" />
</td>
</tr>
</table>
</div>
<asp:ObjectDataSource ID="ObjectDataSourceADGroup" runat="server" SelectMethod="SelectADGroups" TypeName="Scheduler.WebClient.ADGroup" />
</ContentTemplate>
</telerik:RadWindow>
</form>

1 Answer, 1 is accepted

Sort by
0
Vasil
Telerik team
answered on 11 Oct 2012, 08:30 AM
Hello Anatoliy,

See these troubleshooting articles:
http://www.telerik.com/help/aspnet-ajax/introduction-troubleshooting.html
http://www.telerik.com/help/aspnet-ajax/introduction-web-resources-troubleshooting.html

I hope it helps.

Regards,
Vasil
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Ajax
Asked by
Anatoliy
Top achievements
Rank 2
Answers by
Vasil
Telerik team
Share this question
or