Tabstrib hang after output long string data to text box

3 posts, 0 answers
  1. Captain America
    Captain America avatar
    5 posts
    Member since:
    Mar 2012

    Posted 16 May 2015 Link to this post

    i have a tabstrib with 3 tab working fine until error occur on tab3 with RadPageView3 , inside the pageview has a textbox to display the output string

    after the output display , the tabstrib hang, cant click to other tab, cant do anything

    , must refresh the page, please help me to detect why? Thanks

    If I directly set    txtLogoutPut.Text ="xxxxxx"  to test, it's OK. 

     

     

      <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
        <telerik:RadSkinManager ID="RadSkinManager1" runat="server" Skin="WebBlue"></telerik:RadSkinManager>


        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="WebBlue">
        </telerik:RadAjaxLoadingPanel>

        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1"> 

     

    .................

    ..................

    <telerik:RadPageView ID="RadPageView3" runat="server" Width="100%">
                            <div style="padding: 20px;">
                                <div class="lblNotice">
                                    <asp:Label ID="Label26" runat="server" Text="Select Time Range"></asp:Label>
                                </div>
                                <div>
                                    <telerik:RadDateTimePicker ID="RadDateTimePickerStart" runat="server" Width="200px">
                                    </telerik:RadDateTimePicker>
                                </div>
                                <div>
                                    <telerik:RadDateTimePicker ID="RadDateTimePickerEnd" runat="server" Width="200">
                                    </telerik:RadDateTimePicker>
                                </div>
                                <div></div>

                                <div>
                                    <telerik:RadButton ID="btnViewLog" runat="server" Text="View Log" OnClick="btnViewLog_Click" ButtonType="SkinnedButton" Width="70" Height="22" />
                                </div>
                                <div>

                                    <asp:TextBox ID="txtLogoutPut" runat="server" Height="620px" Text="" Width="720" Rows="0" TextMode="Multiline" />

                                </div>
                            </div>
                        </telerik:RadPageView>

     

     

         string triggerpath = System.IO.Path.Combine(ConfigClass.MailTriggerLog, (new MailAddress(txtUserEmail.Text)).User + "_queue.log");
                using (StreamReader sr = File.OpenText(triggerpath))
                {
                    s = sr.ReadToEnd();

                }
                txtLogoutPut.Text = s;

     

     

     

     

  2. Nencho
    Admin
    Nencho avatar
    1458 posts

    Posted 20 May 2015 Link to this post

    Hi Captain,

    Please make sure that the logic for obtaining the triggerpath is correct. In addition, make sure that there are not javascript errors on the page as this might reflect as the experienced behavior.

    In order to get more descriptive error message, you can temporary remove the UpdatePanel and test the behavior.

    Regards,
    Nencho
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Captain America
    Captain America avatar
    5 posts
    Member since:
    Mar 2012

    Posted 26 May 2015 in reply to Nencho Link to this post

    Dear Nencho

    I have discovered that the problem  occur because that the output string contain some html character .

    After add ValidateRequest="false"  to aspx file, the problem gone

     

    Thanks any way

     

     

Back to Top