Change Title & Text in RadGrid event

3 posts, 0 answers
  1. lupotana
    lupotana avatar
    73 posts
    Member since:
    Nov 2006

    Posted 27 Jul 2011 Link to this post

    Hi, I can't change the property Text and Title in the event UpdateCommand in RadGrid.

    protected void gvList_UpdateCommand(object sender, GridCommandEventArgs e)
        {
            RadNotification1.Title = "1";
            RadNotification1.Text = "2";
            RadNotification1.Show();
        }

    Is it a a problem of Ajax ?
  2. lupotana
    lupotana avatar
    73 posts
    Member since:
    Nov 2006

    Posted 28 Jul 2011 Link to this post

    Resolved.

    The notification is out of AjaxPanel.
    I configured the RadAjaxMAnager event and now is ok.

    Good !!!
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Svetlina Anati
    Admin
    Svetlina Anati avatar
    2795 posts

    Posted 28 Jul 2011 Link to this post

    Hello Lupotana,

    I am glad to hear that you were able to resolve the problem on your side.

    I just want to note that when you update any server control property on the server through an AJAX call, you should make sure you update the control itself as well. This is true for all controls and not only RadControls and this is how MS AJAX works. If you test the same scenario with a standard asp control, e.g a button, you will get the same result and the Text property will not change unless you have updated the button with AJAX.

    In case you encounter any other problems or you have any questions, do not hesitate to contact us again, we will be glad to help.
     

    Kind regards,
    Svetlina
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top