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

RadAlert causes makes page controls unaccessible in IE

4 Answers 35 Views
Window
This is a migrated thread and some comments may be shown as answers.
Philipp Becker
Top achievements
Rank 2
Philipp Becker asked on 14 May 2009, 07:57 AM
Hi,

I have a radalert as a confirmation message / error message popup in a usercontrol.  The alert is fired from codebehind via

Me.ctlAjax.ResponseScripts.Add("ModuleMessage('" & strMessage & "');return false;"

which then fires
function ModuleMessage(msg)   
{  
     radalert(msg);  
}  

the js part is wrapped in a RadScriptBlock, ctlAjax is a RadAjaxManager.

This is alsmost working as expected. The issue is that in IE (7 & 8), after the OK button has been clicked, textbox controls on the page cannot be accessed, e.g. cannot receive focus (neither from js nor by clicking in them) until I click on another control like a combox or so on the page. This does not happen in Firefox.

is this a know issue? Can I somehow work around this? What I tried so far is the hook into the add_close event of the alertbox and force focus on any of the textboxes, but this throws a textbox-cannot-receive-focus-because-it-is-not-accessible exception.

Any pointers are greatly appreciated.

4 Answers, 1 is accepted

Sort by
0
Philipp Becker
Top achievements
Rank 2
answered on 14 May 2009, 08:02 AM
In case it matters, other controls on the page include a radcombobox, a checkable radtreeview, radformdecorator, radiobuttonlist, checkboxes, radtextboxes and a raddatetimepicker.
0
Georgi Tunev
Telerik team
answered on 14 May 2009, 02:13 PM
Hi Philipp,

I was not able to reproduce the problem locally and I don't recall this problem being reported before. Could you please open a support ticket and send me a small sample application where this issue could be reproduced? I will check it right away.

Thank you in advance for your cooperation.


All the best,
Georgi Tunev
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.
0
Philipp Becker
Top achievements
Rank 2
answered on 14 May 2009, 02:55 PM
I stripped down my control to setup a small sample for you and the issue went away. I'll have to re-add functionality step by step so I can tell what part exactly causes the my issue.
0
Georgi Tunev
Telerik team
answered on 15 May 2009, 02:12 PM
OK Philipp,

If you manage to isolate the problem, please send the project to me and I will check it.



Best wishes,
Georgi Tunev
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
Window
Asked by
Philipp Becker
Top achievements
Rank 2
Answers by
Philipp Becker
Top achievements
Rank 2
Georgi Tunev
Telerik team
Share this question
or