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

Highlight problem after postback

1 Answer 61 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Ed
Top achievements
Rank 2
Ed asked on 27 Feb 2009, 10:05 PM
This is more of an annoyance than anything.

I have a radGrid..I click on a row, make an ajaxRequestWithTarget to write JavaScript & open a RadWindow.
During the Ajax Postback, all the text in all the rows of the grid get highlighted as if I'm selecting the text with my mouse.
It's only highlighted/selected briefly & then goes back to normal.

To correct that, I stopped using the ajaxRequestWithTarget & called my openPopupWindow method from the client side.

The highlighting issue is also happening when I close my RadWindow & have to refresh my grid.
I have to make the Ajax Request here, so I can't stop it from briefly selecting everything in the grid.

This isn't a problem in the previous telerik version. We have both versions in our app, until we convert them all over.

I could use this javascript to prevent selecting any text on the page, but then the user can't copy/paste data,
document.onselectstart = function() {return false;}

Any ideas?

Thanks,
Ed

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 03 Mar 2009, 11:39 AM
Hello Ed,

I tried to reproduce the unwanted effect locally using the latest version 2008.3.1314 of RadControls for ASP.NET AJAX but unfortunately to no avail. To progress in our investigation, can you please provide a live url where the oddity can be observed? Thus I do everything possible to advice you how to address it.

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Ajax
Asked by
Ed
Top achievements
Rank 2
Answers by
Sebastian
Telerik team
Share this question
or