Rebind datagrid from client-side javascript

6 posts, 0 answers
  1. thepilsbury
    thepilsbury avatar
    36 posts
    Member since:
    Jan 2007

    Posted 01 Feb 2008 Link to this post

    I would like to be able to rebind a datagrid from client-side javascript using ajax technology. Can this be done? If so, do you have a sample I could follow?

    Many thanks.
  2. Yavor
    Admin
    Yavor avatar
    11 posts

    Posted 01 Feb 2008 Link to this post

    Hello,

    Unfortunately, at present the required functionality is not available.
    You can only use an AjaxRequest, to get to the server and rebind the control. I hope this is a suitable option for you.

    Greetings,
    Yavor
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. thepilsbury
    thepilsbury avatar
    36 posts
    Member since:
    Jan 2007

    Posted 01 Feb 2008 Link to this post

    That may work for me. Please advise how to do this. I've tried the following but to no avail:

    form1[

    "<%=RadGrid1.ClientID %>"].AjaxRequest('<%= RadGrid1.UniqueID %>','Rebind');

    Thanks

  5. Konstantin Petkov
    Admin
    Konstantin Petkov avatar
    1911 posts

    Posted 04 Feb 2008 Link to this post

    Hello thepilsbury,

    The built-in AJAX mode in RadGrid is removed in Prometheus. You can use RadAjax AjaxRequest instead:

    http://www.telerik.com/help/radcontrols/prometheus/?ajxClientSideAPI.html

    Greetings,
    Konstantin Petkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. MGrassman
    MGrassman avatar
    92 posts
    Member since:
    Apr 2007

    Posted 04 Feb 2008 Link to this post

    Does this solution work with the radajaxmanagerproxy control.

    If so can you list code.

    Thanks,
  7. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 05 Feb 2008 Link to this post

    Hi MGrassman,

    RadAjaxManagerProxy is only "AjaxSettings container" and does not expose AjaxRequest event. You can use GetCurrent() method to get the manager from the user control/content page and then wire up the AjaxRequest() method manually:

    RadAjaxManager1.AjaxRequest += new Telerik.Web.UI.RadAjaxControl.AjaxRequestDelegate(this.RadAjaxManager1_AjaxRequest);

    Here is another forum thread that elaborates on the matter.

    Kind regards,
    Steve
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017