Hi,
We had the page which was already in .NET and was working perfectly fine previously. We just modified the same page to add few additional telerik controls (mainly Tabs and RadListBox)..
Some of users are facing the above error and they are using IE7.
We are not able to re-create the issue.
Could you please suggest what could be the issue..
Thanks
Best Regards
Yogesh
We had the page which was already in .NET and was working perfectly fine previously. We just modified the same page to add few additional telerik controls (mainly Tabs and RadListBox)..
Some of users are facing the above error and they are using IE7.
We are not able to re-create the issue.
Could you please suggest what could be the issue..
Thanks
Best Regards
Yogesh
6 Answers, 1 is accepted
0
Yogesh
Top achievements
Rank 1
answered on 03 Feb 2012, 11:25 PM
Hi,
just to add to below that we are using 2011, 2, 712, 35 version of telerik dll..
Thanks
Best Regards
Yogesh
just to add to below that we are using 2011, 2, 712, 35 version of telerik dll..
Thanks
Best Regards
Yogesh
0
Hello Yogesh,
The error is stating that server-side error has occurred while performing ajax request. To get more details about the nature of the error, please disable ajax and make a screenshot of the error that you will see. Then attach the screenshot here so that we can take a look.
On a side note, do you by any means perform drag and drop/reorder on the listbox before the error is thrown?
All the best,
Genady Sergeev
the Telerik team
The error is stating that server-side error has occurred while performing ajax request. To get more details about the nature of the error, please disable ajax and make a screenshot of the error that you will see. Then attach the screenshot here so that we can take a look.
On a side note, do you by any means perform drag and drop/reorder on the listbox before the error is thrown?
All the best,
Genady Sergeev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Yogesh
Top achievements
Rank 1
answered on 08 Feb 2012, 05:40 PM
Hi Genady,
Thanks for your response..
regd your point "Please disable ajax and make a screenshot of the error that you will see"...like as I stated previously only some of users are facing this error and they were using IE7 and we had them browser upgraded to IE8 but still the issue exists.
They are getting the issue with Prod site mostly and we are not able to re-create the issue yet..
regd your point "drag and drop/reorder on the listbox before the error is thrown"
yes, here are basic step which user is performing on regular basis..
1) When page loads, User will enter some of mandatory fields in text box in the first tab
2) User will switch to another tab and then drag few report name to one list box from another list box.
3) Hit the save button..
It's not happening consistently but yes every now and then we get this error.
Thanks for your response..
regd your point "Please disable ajax and make a screenshot of the error that you will see"...like as I stated previously only some of users are facing this error and they were using IE7 and we had them browser upgraded to IE8 but still the issue exists.
They are getting the issue with Prod site mostly and we are not able to re-create the issue yet..
regd your point "drag and drop/reorder on the listbox before the error is thrown"
yes, here are basic step which user is performing on regular basis..
1) When page loads, User will enter some of mandatory fields in text box in the first tab
2) User will switch to another tab and then drag few report name to one list box from another list box.
3) Hit the save button..
It's not happening consistently but yes every now and then we get this error.
0
Hello Yogesh,
I believe this is an issue with Ajax and RadListBox. Please find below my explanation to another client what is going wrong. In his case the same error was being thrown upload transfe:
When you transfer (reorder) items from the source listbox to the destination the changes are written to the client states of the both listboxes. This is done for the sake of playing the state on the server and correctly updating the view state of the both controls. What happens when you postback is precisely the same. Both listboxes play their client states and the changes in question take place. The source loses 3 items and 3 items are appended to the destination listbox. Then, both RadListBoxes clear their client states because they have already played the changes. Now, what happens when you don't update the listboxes is that they client state is not correctly cleaned. In fact it is not cleaned at all. However, the viewstate of the page is updated by RadAjaxPanel and the changes made to the listboxes are saved there. Then, on a subsequent postback both listboxes try to play the very same client state once again which leads to the error that you have faced. You can verify this behavior If you inspect the source/destination RadListBox ClientState using a tool like FireBug. Compare the situation when the listboxes are not updated by RadAjaxPanel and when they are updated.
In short, whenever changes are made to the client state of RadListBox the async postback should update the latter.
To summarize, every time there is ajax postback, the listboxes should be updated, if there had been transfer/reoder/client insert operation.
All the best,
Genady Sergeev
the Telerik team
I believe this is an issue with Ajax and RadListBox. Please find below my explanation to another client what is going wrong. In his case the same error was being thrown upload transfe:
When you transfer (reorder) items from the source listbox to the destination the changes are written to the client states of the both listboxes. This is done for the sake of playing the state on the server and correctly updating the view state of the both controls. What happens when you postback is precisely the same. Both listboxes play their client states and the changes in question take place. The source loses 3 items and 3 items are appended to the destination listbox. Then, both RadListBoxes clear their client states because they have already played the changes. Now, what happens when you don't update the listboxes is that they client state is not correctly cleaned. In fact it is not cleaned at all. However, the viewstate of the page is updated by RadAjaxPanel and the changes made to the listboxes are saved there. Then, on a subsequent postback both listboxes try to play the very same client state once again which leads to the error that you have faced. You can verify this behavior If you inspect the source/destination RadListBox ClientState using a tool like FireBug. Compare the situation when the listboxes are not updated by RadAjaxPanel and when they are updated.
In short, whenever changes are made to the client state of RadListBox the async postback should update the latter.
To summarize, every time there is ajax postback, the listboxes should be updated, if there had been transfer/reoder/client insert operation.
All the best,
Genady Sergeev
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Yogesh
Top achievements
Rank 1
answered on 21 Feb 2012, 09:35 PM
Thanks Genady for detailed explanation.
Could you please guide us or provide some link/sample code to resolve the issue.
Thanks
Best Regards
Yogesh Ramdeo
Could you please guide us or provide some link/sample code to resolve the issue.
Thanks
Best Regards
Yogesh Ramdeo
0
Hello yogesh,
Here is an example with RadListBox and RadAjaxManager. I am not quite sure what is your setup. Could you please try to change the sample project and reproduce the issue?
In order to resolve your case faster, please send me a working stripped version of your project to investigate it locally.
Regards,
Peter Filipov
the Telerik team
Here is an example with RadListBox and RadAjaxManager. I am not quite sure what is your setup. Could you please try to change the sample project and reproduce the issue?
In order to resolve your case faster, please send me a working stripped version of your project to investigate it locally.
Regards,
Peter Filipov
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.