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

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

1 Answer 26 Views
Splitter
This is a migrated thread and some comments may be shown as answers.
liu qingshui
Top achievements
Rank 1
liu qingshui asked on 08 Jul 2010, 08:57 AM
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%"
                    height="220"></iframe>
            </telerik:RadPane>
            <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%">
                    <tr>
                        <td valign="top">
                            <div>
                                <table class="table" border="0" cellpadding="0" cellspacing="0" width="100%" style="margin-top: 2px;
                                    margin-bottom: 2px;">
                                    <tr>
                                        <td>
                                            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                                <tr>
                                                    <td align="right">
                                                        KeyWords:
                                                    </td>
                                                    <td style="width: 220px;">
                                                        <telerik:RadTextBox ID="rtxtKeyStr" runat="server" EmptyMessage="输入关键字" Width="220px">
                                                        </telerik:RadTextBox>
                                                    </td>
                                                    <td style="width: 110px;" align="right">
                                                        IsDirectSolution:
                                                    </td>
                                                    <td>
                                                        <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>
                                                        </asp:RadioButtonList>
                                                    </td>
                                                    <td style="width: 80px;">
                                                          
                                                        <asp:ImageButton ID="ibtnSimpleSearch" runat="server" ImageUrl="~/App_Themes/Default/images/search.gif"
                                                            OnClick="ibtnSimpleSearch_Click" Style="height: 22px" />
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                    </tr>
                                </table>
                                <telerik:RadGrid ID="RadGrid1" runat="server">
                                    <MasterTableView Name="requestList" Width="100%">
                                        <Columns>
                                            <telerik:GridTemplateColumn HeaderText="request" UniqueName="column" SortExpression="ID">
                                                <ItemTemplate>
                                                    <a href="javascript:void(null);" onclick="openRequestInfo('<%#Eval("ID") %>')">
                                                        <%#Eval("ID") %></a>
                                                </ItemTemplate>
                                                <HeaderStyle Width="80" />
                                            </telerik:GridTemplateColumn>
                                            <telerik:GridBoundColumn HeaderText="Name" UniqueName="column1" DataField="UserAccount">
                                                <HeaderStyle Width="80px" />
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn HeaderText="Department" UniqueName="column2" DataField="Department">
                                                <HeaderStyle Width="90px" />
                                            </telerik:GridBoundColumn>
                                            <telerik:GridBoundColumn HeaderText="Contract" UniqueName="column3" DataField="Telephone">
                                                <HeaderStyle Width="80px" />
                                            </telerik:GridBoundColumn>
                                            <telerik:GridTemplateColumn HeaderText="Content" UniqueName="column4">
                                                <ItemTemplate>
                                                    <asp:Label ID="lblContent" runat="server" Text='<%#Eval("Content") %>' ToolTip='<%#Eval("Content") %>'></asp:Label
                                                </ItemTemplate>
                                                <HeaderStyle Wrap="false" />
                                                <ItemStyle Wrap="false" />
                                            </telerik:GridTemplateColumn>
                                        </Columns>
                                        <HeaderStyle Wrap="false" />
                                    </MasterTableView>
                                    <ClientSettings>
                                        <Selecting AllowRowSelect="true" />
                                        <Resizing AllowColumnResize="True" EnableRealTimeResize="true" ClipCellContentOnResize="true" />
                                    </ClientSettings>
                                </telerik:RadGrid>
                            </div>
                        </td>
                    </tr>
                </table>
            </telerik:RadPane>
        </telerik:RadSplitter>

1 Answer, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 13 Jul 2010, 11:42 AM
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,
Svetlina
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
Tags
Splitter
Asked by
liu qingshui
Top achievements
Rank 1
Answers by
Svetlina Anati
Telerik team
Share this question
or