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.

3 Answers 42 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:58 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>

3 Answers, 1 is accepted

Sort by
0
Svetlina Anati
Telerik team
answered on 13 Jul 2010, 11:42 AM
Hello liu qingshui,

I already answered your other thread and for your convenience I pasted my reply below:

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.


All the best,
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
0
liu qingshui
Top achievements
Rank 1
answered on 14 Jul 2010, 03:29 AM
Hey Svetlina:
Thank your kindly help.  And I really don't konw what cause this problem.
After  checked all the code one by one,I found that this can be solved only by set the property
 Collapsed="false".Although this solution work,I wonder why,that's the reason behind this.
 I guess there is a  relationship between this property  and the problem.
And this relationship is key to the problem. Any idea and suggestions
will be appreciated.Thanks!
0
Svetlina Anati
Telerik team
answered on 16 Jul 2010, 09:33 AM
Hi liu qingshui,

I am afraid I cannot detect the problem based only on this information. The only thing I can suggest is to isolate the issue and modify my demo code in order to reproduce the issue and provide it to me or at least provide a live url. Otherwise, unfortunately, we cannot assume what might be happening since we have not seen such an issue before.

Best wishes,
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
liu qingshui
Top achievements
Rank 1
Share this question
or