Editpopup should be work as BackGround Process..

2 posts, 0 answers
  1. Pradeep Enugala
    Pradeep Enugala avatar
    55 posts
    Member since:
    Apr 2010

    Posted 29 Nov 2012 Link to this post

    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;
    public void SaveData()
    It is not working...
    when the editpopup is opened the background grid is covered with Opacity.
  2. Kostadin
    Kostadin avatar
    1733 posts

    Posted 04 Dec 2012 Link to this post

    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.

    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.
Back to Top