This is a migrated thread and some comments may be shown as answers.

Change Title & Text in RadGrid event

2 Answers 80 Views
Notification
This is a migrated thread and some comments may be shown as answers.
lupotana
Top achievements
Rank 1
lupotana asked on 27 Jul 2011, 11:31 AM
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 Answers, 1 is accepted

Sort by
0
lupotana
Top achievements
Rank 1
answered on 28 Jul 2011, 11:57 AM
Resolved.

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

Good !!!
0
Svetlina Anati
Telerik team
answered on 28 Jul 2011, 02:16 PM
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.

Tags
Notification
Asked by
lupotana
Top achievements
Rank 1
Answers by
lupotana
Top achievements
Rank 1
Svetlina Anati
Telerik team
Share this question
or