The content in RadPane is all blank when I push the Search Button.

2 posts, 0 answers
  1. liu qingshui
    liu qingshui avatar
    27 posts
    Member since:
    Mar 2010

    Posted 08 Jul 2010 Link to this post

    The problem is that RadPane--rpLeft which contain a usercontrol  is all blank when I make a search.The
    strange thing is that  I click the RadSplitBar to collapse this pane and then click the RadSplitBar again to expand.
    All content in this Pane is there.I don't know what cause this problem. I gusee it maybe the usercontrol in this pane.
    Could someone give me some idea? I will appreciate it.

    telerik:RadSplitter ID="rspSplitter" runat="server" ResizeWithBrowserWindow="true"
                VisibleDuringInit="false" Width="100%" Height="100%">
                <telerik:RadPane ID="rpLeft" runat="server" Width="20%" Scrolling="None" Collapsed="true">
                    <uc4:ajaxoperatorleftpart id="AjaxPart1" runat="server" />
                    <iframe id="frameMain" src="../../Default.aspx" scrolling="no" frameborder="0" width="100%"
                <telerik:RadSplitBar ID="RadSplitBar1" runat="server" CollapseMode="Forward"  />
                <telerik:RadPane ID="rpRight" runat="server" Scrolling="None" Width="80%">
                    <table border="0" cellpadding="0" cellspacing="0" width="100%">
                            <td valign="top">
                                    <table class="table" border="0" cellpadding="0" cellspacing="0" width="100%" style="margin-top: 2px;
                                        margin-bottom: 2px;">
                                                <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                                        <td align="right">
                                                        <td style="width: 220px;">
                                                            <telerik:RadTextBox ID="rtxtKeyStr" runat="server" EmptyMessage="输入关键字" Width="220px">
                                                        <td style="width: 110px;" align="right">
                                                            <asp:RadioButtonList ID="rblDirectSolutionSimple" runat="server" CellPadding="0"
                                                                CellSpacing="0" RepeatDirection="Horizontal" RepeatLayout="Table">
                                                                <asp:ListItem Selected="True" Value="">All</asp:ListItem>
                                                                <asp:ListItem Value="1">Y</asp:ListItem>
                                                                <asp:ListItem Value="0">N</asp:ListItem>
                                                        <td style="width: 80px;">
                                                            <asp:ImageButton ID="ibtnSimpleSearch" runat="server" ImageUrl="~/App_Themes/Default/images/search.gif"
                                                                OnClick="ibtnSimpleSearch_Click" Style="height: 22px" />
                                    <telerik:RadGrid ID="RadGrid1" runat="server">
                                        <MasterTableView Name="requestList" Width="100%">
                                                <telerik:GridTemplateColumn HeaderText="request" UniqueName="column" SortExpression="ID">
                                                        <a href="javascript:void(null);" onclick="openRequestInfo('<%#Eval("ID") %>')">
                                                            <%#Eval("ID") %></a>
                                                    <HeaderStyle Width="80" />
                                                <telerik:GridBoundColumn HeaderText="Name" UniqueName="column1" DataField="UserAccount">
                                                    <HeaderStyle Width="80px" />
                                                <telerik:GridBoundColumn HeaderText="Department" UniqueName="column2" DataField="Department">
                                                    <HeaderStyle Width="90px" />
                                                <telerik:GridBoundColumn HeaderText="Contract" UniqueName="column3" DataField="Telephone">
                                                    <HeaderStyle Width="80px" />
                                                <telerik:GridTemplateColumn HeaderText="Content" UniqueName="column4">
                                                        <asp:Label ID="lblContent" runat="server" Text='<%#Eval("Content") %>' ToolTip='<%#Eval("Content") %>'></asp:Label
                                                    <HeaderStyle Wrap="false" />
                                                    <ItemStyle Wrap="false" />
                                            <HeaderStyle Wrap="false" />
                                            <Selecting AllowRowSelect="true" />
                                            <Resizing AllowColumnResize="True" EnableRealTimeResize="true" ClipCellContentOnResize="true" />
  2. Svetlina Anati
    Svetlina Anati avatar
    2795 posts

    Posted 13 Jul 2010 Link to this post

    Hi liu qingshui,

    Your code seems to be correct and I am afraid I cannot tell you what might be causing the issue. I prepared a test demo based on it but unfortunately to no avail - everything works fine. However, what I can assume is that a js error is thrown or you have incorrectly configured AJAX.

    This being said, what I can suggest is to examine my test demo, modify it in order to reproduce the problem (but keep it still fully runnable) and share the full source code along with detailed reproduction steps and explanations so that I will be able to directly run and debug the problematic code on my side. Another option is to provide a live url along with detailed explanations and  I can try to resolve the problem by examining it if this is possible based only on a live url.

    Kind regards,
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
Back to Top