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

Tabstrib hang after output long string data to text box

2 Answers 35 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Captain America
Top achievements
Rank 1
Captain America asked on 16 May 2015, 07:22 AM

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 Answers, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 20 May 2015, 11:57 AM
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
0
Captain America
Top achievements
Rank 1
answered on 26 May 2015, 05:40 PM

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

 

 

Tags
TabStrip
Asked by
Captain America
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Captain America
Top achievements
Rank 1
Share this question
or