asp LinkButton in RadAjax

2 posts, 0 answers
    HAN MING avatar
    5 posts
    Member since:
    Sep 2016

    Posted 07 Oct 2016 Link to this post

    <telerik:RadAjaxLoadingPanel ID = "rdAjaxLoadingPanel" runat="server">
    <telerik:RadAjaxPanel ID = "rdAjaxPanel" runat="server" LoadingPanelID="rdAjaxLoadingPanel" EnablePageHeadUpdate="false">
        <telerik:RadNotification RenderMode = "Lightweight" ID="rdNotification" runat="server" Position="Center"
            Width="330" Height="160" Animation="Fade" EnableRoundedCorners="true" EnableShadow="true" Style="z-index: 100000">
        <telerik:RadTabStrip RenderMode = "Lightweight" runat="server" ID="rdTpEvents" MultiPageID="rdmlPage" SelectedIndex="0" Skin="Silk" OnTabClick="tabClick">
        <telerik:RadMultiPage runat = "server" ID="rdmlPage" SelectedIndex="0" CssClass="outerMultiPage">
            <telerik:RadPageView runat = "server" ID="rdPgLatest">
                <div class="dwp-clear">
                <asp:DataList ID = "LatestEvents" runat="server" RepeatDirection="Vertical" Width="100%" OnItemCommand="LatestEvents_ItemCommand" DataKeyField="id"
                            <div class="row">
                                <div class="col-md-12">
                                          <div class="text-center register" id="dvRgisterNow" runat="server">
                                               <asp:LinkButton ID = "lnkRegisterNow" runat="server" CommandName="RegisterNow" Text="Register Now"></asp:LinkButton>




    I have a asp LinkButton in RadAjaxPanel. The LinkButton initial text is "Register" and after a event happen it will change to "Unregister". After going to another pages and click on Browsers back button, the LinkButton text is "Register" and not "Unregister". This happen in IE but for Chrome and Mozilla it retain "Unregister" because of viewstate.

    Please advise.

    Thank you





  2. Konstantin Dikov
    Konstantin Dikov avatar
    2210 posts

    Posted 11 Oct 2016 Link to this post

    Hi Han,

    Please refer to the following helps topics for this particular behavior:
    Hope this helps.

    Konstantin Dikov
    Telerik by Progress
    Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Back to Top