asp LinkButton in RadAjax

2 posts, 0 answers
  1. HAN MING
    HAN MING avatar
    4 posts
    Member since:
    Sep 2016

    Posted 07 Oct Link to this post

    <telerik:RadAjaxLoadingPanel ID = "rdAjaxLoadingPanel" runat="server">
    </telerik:RadAjaxLoadingPanel>
     
    <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:RadNotification>
     
        <telerik:RadTabStrip RenderMode = "Lightweight" runat="server" ID="rdTpEvents" MultiPageID="rdmlPage" SelectedIndex="0" Skin="Silk" OnTabClick="tabClick">
            <Tabs>
                 
            </Tabs>
        </telerik:RadTabStrip>
     
     
        <telerik:RadMultiPage runat = "server" ID="rdmlPage" SelectedIndex="0" CssClass="outerMultiPage">
     
            <telerik:RadPageView runat = "server" ID="rdPgLatest">
                <div class="dwp-clear">
                      
                </div>
     
                <asp:DataList ID = "LatestEvents" runat="server" RepeatDirection="Vertical" Width="100%" OnItemCommand="LatestEvents_ItemCommand" DataKeyField="id"
                    OnItemDataBound="LatestEvents_ItemDataBound">
                    <ItemTemplate>
         
                            <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>
                                                   
                                           </div>
                                      </div>
                                </div>
         
                    </ItemTemplate>
               
                </asp:DataList>
     
            </telerik:RadPageView>
     
        
        </telerik:RadMultiPage>
     
    </telerik:RadAjaxPanel>

     

     

    Hi, 

    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
    Admin
    Konstantin Dikov avatar
    1794 posts

    Posted 11 Oct Link to this post

    Hi Han,

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


    Regards,
    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