RadScriptManager can't load at first

2 posts, 0 answers
  1. Anatoliy
    Anatoliy avatar
    37 posts
    Member since:
    Oct 2012

    Posted 08 Oct 2012 Link to this post

    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>
  2. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 11 Oct 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top