RadAlert causes makes page controls unaccessible in IE

5 posts, 0 answers
  1. Philipp Becker
    Philipp Becker avatar
    59 posts
    Member since:
    Nov 2005

    Posted 14 May 2009 Link to this post

    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.
  2. Philipp Becker
    Philipp Becker avatar
    59 posts
    Member since:
    Nov 2005

    Posted 14 May 2009 Link to this post

    In case it matters, other controls on the page include a radcombobox, a checkable radtreeview, radformdecorator, radiobuttonlist, checkboxes, radtextboxes and a raddatetimepicker.
  3. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 14 May 2009 Link to this post

    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.
  4. Philipp Becker
    Philipp Becker avatar
    59 posts
    Member since:
    Nov 2005

    Posted 14 May 2009 Link to this post

    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.
  5. Georgi Tunev
    Admin
    Georgi Tunev avatar
    7207 posts

    Posted 15 May 2009 Link to this post

    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.
Back to Top