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

Application Crashes on multiple clicks

4 Answers 71 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Rahul
Top achievements
Rank 1
Rahul asked on 08 Jul 2011, 02:47 PM
I have a aspx user control page that has a LinkButton . The page uses some radajax controls too.
In Firefox(FF 3.6 and 4), if I rapidly keep clicking on the linkbutton .NET will come up with an "Invalid postback or callback argument" error. This error does not seem to happen when I click in IE. Normal single clicks on the linkbutton work fine, but it's when I click on the button repeatedly while the page is in the process of posting back that I run into trouble.
I was suggested to use "EnableEventValidation = false" but it ended up with some security hole. So, i was looking for some alternative solution other than "EnableEventValidation" property.

4 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 14 Jul 2011, 03:06 PM
Hello Rahul,

Please try one of the following options:

1) Increase the request queue size:
Set maximum request queue size

2) Add loading panel to prevent the users from trying to break the application:
RadAjaxLoadingPanel

Best regards,
Daniel
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

0
Rahul
Top achievements
Rank 1
answered on 08 Aug 2011, 08:30 PM
Hi,

We tried to use the SetMaxRequestQueueSize() but this method is not supported with the radjaxcontrols . I am not sure its the version problem or something like that . We are using 2011.2.712.35 version of telerik controls.

We added the following code to Page Load

 Dim instance As RadAjaxControl
Instance.SetMaxRequestQueueSize(5)
But this gives error SetMaxRequestQueueSize is  not a member of telerik.web.ui.RadAjaxControl.

Please help me in this.


Thanks,
Rahul
0
Rahul
Top achievements
Rank 1
answered on 10 Aug 2011, 01:01 PM
Hi ,

We are waiting for the reply of our above query. Please help and reply asap . this really very urgent for us and it will great and we will be very much thankful to hear from you soon.

Thanks,

0
Daniel
Telerik team
answered on 10 Aug 2011, 04:37 PM
Hello Rahul,

I'm sorry, I have sent you an outdated link. This is the correct help topic address:
Ajax requests queueing

Regards,
Daniel
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
Ajax
Asked by
Rahul
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Rahul
Top achievements
Rank 1
Share this question
or