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

GridView disappears

1 Answer 102 Views
Grid
This is a migrated thread and some comments may be shown as answers.
kasi
Top achievements
Rank 1
kasi asked on 30 May 2011, 10:57 AM
Hi,
 I have One Grid View when i click submit button whole grid values saved in database and showing one alert message. When Displaying Alert Message the gridview disappears in the background.
I m using below script to show Display message

ScriptManager.RegisterClientScriptBlock(

Me, Me.GetType, "clientScript", "alert('Rates has Updated Successfully');", True). Can any give me any solution for this.

 



1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 01 Jun 2011, 04:44 PM
Hello kasi,

 The standard javascript alert function blocks the current thread of execution so if it is fired before the grid is completely rendered you might observer the described behaviour. Another option might be to use the radalert function of RadWindowManager which can also be fire from the server but is non-blocking so you should not experience this issue. Here is a detailed demo on the RadWindowManager functions.

Regards,
Marin
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
Grid
Asked by
kasi
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or