Rad Tab navigate to wrong URL

2 posts, 0 answers
  1. Naveed
    Naveed avatar
    1 posts
    Member since:
    Aug 2013

    Posted 27 Aug 2013 Link to this post

    Hi,

    I am using Rad Tab Strip with Rad Multipage. Locally on my machine, Every tab l click is working fine. However when i move my code to live site, Rad Tab Click navigate me to a wrong URL. it append %23 at the end of url. I am not using Url functionality of tab strip. Here is the code:
    <asp:ScriptManager ID="MainScriptManager" runat="server">
        </asp:ScriptManager>
    <
    telerik:RadTabStrip ID="MainTabs" runat="server" Width="99%" SelectedIndex="0" OnTabClick="MainTabs_TabClick"
                                    MultiPageID="MainMultiPageView">
                                    <Tabs>
                                        <telerik:RadTab PageViewID="EmployerTab" runat="server" Text="Employer Links">
                                        </telerik:RadTab>
                                        <telerik:RadTab PageViewID="ManagerTab" runat="server" Text="Manager Links">
                                        </telerik:RadTab>
                                        <telerik:RadTab PageViewID="EmployeeTab" runat="server" Text="Employee Links">
                                        </telerik:RadTab>
                                        <telerik:RadTab PageViewID="JobPostingTab" runat="server" Text="Job Posting Links">
                                        </telerik:RadTab>
                                    </Tabs>
                                </telerik:RadTabStrip>
                                <telerik:RadMultiPage ID="MainMultiPageView" runat="server" Width="98.9%" SelectedIndex="0"
                                    BorderStyle="Solid" BorderColor="#CCCCCC" BorderWidth="1px" BackColor="#FCFCFC">
                                    <telerik:RadPageView ID="EmployerPage" runat="server">
                                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td align="left" valign="top">
                                                     
                                                </td>
                                            </tr>
                                            
                                        </table>
                                    </telerik:RadPageView>
                                    <telerik:RadPageView ID="ManagerPage" runat="server">
                                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td align="left" valign="top">
                                                     
                                                </td>
                                            </tr>
                                           
                                        </table>
                                    </telerik:RadPageView>
                                    <telerik:RadPageView ID="EmployeePage" runat="server">
                                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                            <tr>
                                                <td align="left" valign="top">
                                                     
                                                </td>
                                            </tr>
                                            
                                        </table>
                                    </telerik:RadPageView>
                                     
                                </telerik:RadMultiPage>
                                <telerik:RadAjaxLoadingPanel ID="MainAjaxLoadingPanel" runat="server" Height="100%"
                                    Width="100%">
                                    <asp:Image ID="LoadingImage" runat="server" AlternateText="Loading..." ImageUrl="~/hris/images/loading.gif">
                                    </asp:Image>
                                </telerik:RadAjaxLoadingPanel>
                                <telerik:RadAjaxManager ID="AjaxManager" runat="server">
                                    <AjaxSettings>
                                        <telerik:AjaxSetting AjaxControlID="MainTabs">
                                            <UpdatedControls>
                                                <telerik:AjaxUpdatedControl ControlID="MainTabs" />
                                                <telerik:AjaxUpdatedControl ControlID="MainMultiPageView" LoadingPanelID="MainAjaxLoadingPanel" />
                                            </UpdatedControls>
                                        </telerik:AjaxSetting>
                                    </AjaxSettings>
                                </telerik:RadAjaxManager>

    Is it a configuration problem or am i missing some thing.
    Version of Telerik is : 2010.2.713.20
    Any help would be highly appreciated.
  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 30 Aug 2013 Link to this post

    Hello Naveed,

    This is probably caused by the automatic encoding of the URL. The specified symbols replaces the "#".  Does this encoding causing any issues redirecting to the desired page? Please refer to this article, demonstrating how to encode/decode the url.

    Regards,
    Nencho
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top