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

Editpopup should be work as BackGround Process..

1 Answer 16 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pradeep Enugala
Top achievements
Rank 1
Pradeep Enugala asked on 29 Nov 2012, 12:38 PM
Hi Telerik team,

In my rad grid Edit popup, I'm saving the excel data to the DB and importing it to the server.It is taking a lot of time to save the data to DB and import an excel sheet[as it contains many rows] to the server.so I want to make this process as Back ground process[Threads] so that i can access other pages till it completes.

I have used the below format..
Event :
protected void btn_Save(sender o,Eventargs e)
{
 Thread obj = new Thread(new ThreadStart(SaveData));
             obj.IsBackground = true;
}
Method:
public void SaveData()
{
....
....
}
It is not working...
when the editpopup is opened the background grid is covered with Opacity.

1 Answer, 1 is accepted

Sort by
0
Kostadin
Telerik team
answered on 04 Dec 2012, 12:52 PM
Hello Pradeep,

I'm afraid that implementing this functionality is not applicable in an ASP.NET page using our RadGrid. If you start a new thread to get your data, the execution of the ASP.NET page lifecycle will continue and quite possibly at the time your thread finishes, the lifecycle will already be completed, and the response sent to the client.

Regards,
Kostadin
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Pradeep Enugala
Top achievements
Rank 1
Answers by
Kostadin
Telerik team
Share this question
or