This is a migrated thread and some comments may be shown as answers.
File Explorer Not Working When Put Inside telerik:RadPageView
1 Answer 40 Views
This is a migrated thread and some comments may be shown as answers.
ashok kumar
Top achievements
Rank 1
ashok kumar asked on 04 Nov 2009, 12:58 PM
Admin ,

i have fileexplorer inside the telerik:RadPageView , i have totally have 4 telerik:RadPageView , in which first and fourth has file explorer,when page loads the first telerik:RadPageView is loaded where the configuration paths are given from code behind and works fine as expected , the issue comes when i click the fourth telerik:RadPageView where the control gets loaded and the configuration path is given from the code behind but the file explorer does not show me any path its jus shows only the control on first time and when i go to other telerik:RadPageView and come back here to the fourth telerik:RadPageView it shows me the path with expected result ,

the html is as follows,

<telerik:RadTabStrip runat="server" BackColor="#C9D9ED" BorderWidth="0px" ID="RadTabReport"
    OnTabClick="RadTabReport_TabClick" Skin="Office2007" ShowBaseLine="True" SelectedIndex="0"
    MultiPageID="RadMultiPageReport" CausesValidation="false" Height="110px" Width="100%">
    <Tabs>
        <telerik:RadTab Text="Plans and Reports" runat="server" SelectedIndex="0" Selected="True">
            <Tabs>
                <telerik:RadTab CssClass="icon_padd" PageViewID="SelectReport" Text="Select Report"
                    runat="server" Selected="true">
                </telerik:RadTab>
                <telerik:RadTab CssClass="icon_padd" PageViewID="ViewReport" Text="View Report" runat="server">
                </telerik:RadTab>
                <telerik:RadTab CssClass="icon_padd" PageViewID="ReportHistory" Text="Report History"
                    runat="server">
                </telerik:RadTab>
                <telerik:RadTab CssClass="icon_padd" PageViewID="SendReport" Text="Send Report" runat="server">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTab>
    </Tabs>
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="RadMultiPageReport" runat="server" SelectedIndex="0" Width="100%">
    <telerik:RadPageView ID="SelectReport" runat="server" BackColor="#C9D9ED">
        <div>
            <telerik:RadFileExplorer runat="server" ID="RadFileExplorer1" Width="575px" Skin="Office2007"
                BackColor="white" Height="375px" EnableOpenFile="false">
            </telerik:RadFileExplorer>
        </div>
    </telerik:RadPageView>
    <telerik:RadPageView ID="ViewReport" runat="server" BackColor="#C9D9ED">
        <div>
            ViewReport
        </div>
    </telerik:RadPageView>
    <telerik:RadPageView ID="ReportHistory" runat="server" BackColor="#C9D9ED">
        <div>
            ReportHistory
        </div>
    </telerik:RadPageView>
    <telerik:RadPageView ID="SendReport" runat="server" BackColor="#C9D9ED">
        <div>
            Select Report :
            <br />
            Note : This report will be send as attachment
            <br />
        </div>
        <div>
            <telerik:RadFileExplorer runat="server" ID="RadFileExplorer2" Width="575px" Skin="Office2007"
                BackColor="white" Height="375px" EnableOpenFile="false">
            </telerik:RadFileExplorer>
        </div>
        <div>
            <table>
                <tr>
                    <td>
                        Email Subject :
                    </td>
                    <td>
                        <asp:TextBox ID="txtEmailSubject" runat="server" Width="250px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        Receipients :
                    </td>
                    <td>
                        <asp:TextBox ID="txtReceipients" runat="server" Width="250px"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td>
                        Seperate multiple receipents by commas
                    </td>
                </tr>
                <tr>
                    <td>
                        Message:
                    </td>
                    <td>
                        <asp:TextBox ID="txtMessage" runat="server" Width="250px" TextMode="MultiLine"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                    <td align="right">
                        <asp:Button ID="btnPreview" runat="server" Text="Preview"></asp:Button>
                        <asp:Button ID="btnSend" runat="server" Text="Send"></asp:Button>
                    </td>
                </tr>
            </table>
        </div>
    </telerik:RadPageView>
</telerik:RadMultiPage>

Please Advice me , thanks in advance :)

Regards,

Ashok.c

1 Answer, 1 is accepted

Sort by
0
Fiko
Telerik team
answered on 09 Nov 2009, 04:38 PM
Hi Ashok,

I suppose that you set the paths properties of the RadFileExplorer control in the RadTabReport_TabClick handler. This event, however, is fired after Page_Load event. Note that the paths properties of the RadFileExplorer control can be set least in the Page_Load event and in your case I recommend you use the approach implemented in the demo project.

I hope this helps.

Sincerely yours,
Fiko
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Asked by
ashok kumar
Top achievements
Rank 1
Answers by
Fiko
Telerik team
Share this question
or