RadTabStrip RadAjaxManager RadFileUpload

2 posts, 0 answers
  1. Saravanan K
    Saravanan K avatar
    1 posts
    Member since:
    Aug 2009

    Posted 24 Aug 2009 Link to this post

    I have three tab (implemented by using RADTabStrip and Multipage view). And I've used RadAjaxmanager for navigation between the tabs. Its working well. But the problem is,  in my first tab I've the facility to upload a file. The RadUpload will uploads the file only when the page gets post. But in my case, the file has to be uploaded when I was move to second tab. Can you help me how do I achieve this.

    Here is my code
    <telerik:RadTabStrip runat="server" ID="tbSpec" SelectedIndex="0" MultiPageID="rdmpSpec" Skin="Hay">
            <telerik:RadTab Text="File Upload" Selected="True"></telerik:RadTab>
            <telerik:RadTab Text="Show Content"></telerik:RadTab>
            <telerik:RadTab Text="Validation"></telerik:RadTab>
    <telerik:RadMultiPage runat="server" ID="rdmpSpec" SelectedIndex="0" Width="100%" >
        <telerik:RadPageView runat="server" ID="page1">
            <telerik:RadUpload ID="chooseFile" runat="server" OverwriteExistingFiles="true" TargetFolder="~/Inbox" ControlObjectsVisibility="None" />
        <telerik:RadPageView runat="server" ID="page2">
            <telerik:RadGrid ID="grdmapping" runat="server" GridLines="Horizontal">
                <MasterTableView AutoGenerateColumns="true">
        <telerik:RadPageView runat="server" ID="page3">
            <telerik:RadGrid ID="grdValid" runat="server" GridLines="Horizontal">
                <MasterTableView AutoGenerateColumns="true">
    <telerik:RadAjaxManager ID="RadAjaxManager2" runat="server">
            <telerik:AjaxSetting AjaxControlID="cmdNext">
                    <telerik:AjaxUpdatedControl ControlID="tbSpec"></telerik:AjaxUpdatedControl>
                    <telerik:AjaxUpdatedControl ControlID="rdmpSpec"></telerik:AjaxUpdatedControl>
                    <telerik:AjaxUpdatedControl ControlID="grdmapping" LoadingPanelID="RadAjaxLoadingPanel1">
                    <telerik:AjaxUpdatedControl ControlID="grdValid" LoadingPanelID="RadAjaxLoadingPanel1">
                    <telerik:AjaxUpdatedControl ControlID="chooseFile"></telerik:AjaxUpdatedControl>

    Thanks in advance.

  2. Paul
    Paul avatar
    4281 posts

    Posted 24 Aug 2009 Link to this post

    Hi Saravanan K,

    You can try just attach a TabClick event to the tabstrip so a postback is fired on tab click.

    Kind regards,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top