Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Community Forums > AJAX and Web 2.0 > Telerik and asp.net update panels

Not answered Telerik and asp.net update panels

Feed from this thread
  • Peter Nwan avatar

    Posted on Feb 26, 2010 (permalink)

    Hi i am using a telerik grid as well as an update panel on the same page. In the update panel, there is a javascript popup which i edit some information in, the problem is these changes are not detected, for instance the test i enter into the textbox is not sent back to the database, in fact when i debug it, the textbox shows empty data when there is actually data within it. Here is a portion of my code which loads the grid;

           protected override void NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)  
           {  
               this.radGrid.DataSource = Sessions.GetByID(intID);  
           }  
     

    The problem is i think my grid is getting hit each time, my question is how do i stop it from firing each time, especially considering I have wrapped my popup with an asp.net updatepanel

    Reply

  • Nikita Gourme Master avatar

    Posted on Mar 1, 2010 (permalink)

    Peter, as far as I understand (after consulting with this topic) the Telerik grid will fire its NeedDataSource event on each page lifecycle right after the PageLoad event. Why using complicated approach with js popup when you have integrated popup edit form for the grid? It should work with MS UpdatePanel as well as with RadAjax.

    Nikita

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Community Forums > AJAX and Web 2.0 > Telerik and asp.net update panels