AJAX inside of a grid

4 posts, 0 answers
  1. Ana
    Ana avatar
    40 posts
    Member since:
    Jan 2008

    Posted 05 May 2008 Link to this post

    Hi!
    How can I ajaxify controls inside of a (autogenerated) edit form?
    I have a template column with two textboxes and one image button in edit item template, and on a press of that button should only GridDropDownColumn (or dropdownlist when in edit mode) be updated. How to do that?
    Thanks, Ana
  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 05 May 2008 Link to this post

    Hi Ana,

    Go through the following help document link.
    AJAX for controls inside Telerik RadGrid

    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Ana
    Ana avatar
    40 posts
    Member since:
    Jan 2008

    Posted 05 May 2008 Link to this post

    Thanks.
    But how to get controls of an item when is in edit mode?
    I mean, I call function

    protected

    override void RaisePostBackEvent(IPostBackEventHandler source, String eventArgument)
    {
    }

    but now I need controls. In ItemCommand handler, I get them with (for example):

    TextBox

    tbPTT = ((System.Web.UI.WebControls.TextBox)(((System.Web.UI.WebControls.ImageButton)(e.CommandSource)).Parent.FindControl("tbPTT")));


    but there is no "e" in RaisePostBackEvent function.
    Plese help.
    Thanks, Ana

  5. Prangadj
    Prangadj avatar
    174 posts
    Member since:
    Jan 2008

    Posted 05 May 2008 Link to this post

    The ASP.NET AJAX RadGrid does not have internal ajax. To ajax-enable it use RadAjaxManager or RadAjaxPanel as in the online demos:

    http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/Programming/WebMail/DefaultCS.aspx

    Mark this thread as answer if you find it helpful pls

    Prangadj
Back to Top