RadAjaxPanel ajaxRequest doesn't update

1 posts, 0 answers
  1. Ravi
    Ravi avatar
    7 posts
    Member since:
    Nov 2010

    Posted 23 Feb 2012 Link to this post

    I have a page with tabstrip and multipage control which each holds a user controls

                <telerik:RadTab Text="Image" PageViewID="PageViewImage" ... />

    <telerik:RadMultiPage ... .>
    <telerik:RadPageView ...>
                     <uc1:ImageChanger id.. />

    User Control: ImageChanger.ascx
    <script language="javascript" ..>
          function OpenImageChanger(){ 
             // Opens a rad window.. 
         function RefreshImage(){
    $find("<%= AjaxPanelID.ClientID %>").ajaxRequest('');
    <telerik:RadAjaxPanel ... OnAjaxRequest="Imager_AjaxRequst" ..
               <asp:Image id="ImgCover" runat="server" ImageUrl="default.jpg" />
    <input type="button" onclik="OpenImageChanger()" />

    Code Behind: ImageChanger.ascx.cs
    protected void Imager_AjaxRequest(object sender, AjaxRequestEventArgs e){
    imgCover.ImageUrl = newImage

    I have put a break point and I do see that the AjaxRequest Event is executed but nothing really changed at the client side.  The Image was still at default.  Also I followed the same approach where another tab and another user control which has treeview.  That treeview didn't get updated as well.  Please advise if I am missing anything since it's being a road block for me to go further.  


Back to Top