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

Timeout when editing in popup form

2 Answers 82 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Clive Hoggar
Top achievements
Rank 1
Clive Hoggar asked on 21 Nov 2012, 04:39 PM
HI 

Can someone help me here... 

I have a grid with a popup edit form that seems to timeout, so that when the Update button is clicked there is an exception error (seems to be a 404) and the data entered in the form is lost. The timeout seems to be at about 20 minutes as per the default session value. Before that point the Update works entirely as expected.

Access to the grid requires a login which is maintained in a session variable, so may be is related to that ?  I am not sure because
I have increased the session timeout in web.config as below.

Is there something timing out in view state that needs to be increased?  Please help. Client users are getting mad at losing their inputs...

Thanks

Clive
PS Q2 2010 and asp.net 4.0
<system.web>
        <sessionState timeout="60"></sessionState>

2 Answers, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 26 Nov 2012, 09:28 AM
Hello Clive,

By default RadGrid does not use Session to persist any of its settings. However, if you have enabled the ViewState to be persisted in Session you may observe the reported behavior. Please ensure that your viewstate is not persisted in session.

In addition in case you use RadCompression, please ensure that you have not enabled compressing viewstate in session.

I hope this helps.

Regards,
Martin
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.
0
Clive Hoggar
Top achievements
Rank 1
answered on 26 Nov 2012, 07:35 PM
Mea Culpa...

It turns out the root cause was that on the remote site I had not increased the database column to nvarchar(max) as I had on my development machine, and one particular uses was entering more than the expected number of characters, causes an exception error when the Update link was clicked, which was gracefully handled and seemed like a timeout.

Doh!

Clive
Tags
Grid
Asked by
Clive Hoggar
Top achievements
Rank 1
Answers by
Martin
Telerik team
Clive Hoggar
Top achievements
Rank 1
Share this question
or