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

[Solved] Spin Button click opening new browser window in IE6

2 Answers 30 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Stewart
Top achievements
Rank 1
Stewart asked on 09 Mar 2012, 11:36 AM
I am using Spin Buttons with RadNumerictextBox and when clicking them in IE6 I am getting a new browser window opening with 'javascript:void(0)' in the address bar. I know that the control renders with a href='javascript:void(0)' and that this is probably a known IE6 issue, but is there any way round this within the control?

Cheers

Stewart

2 Answers, 1 is accepted

Sort by
0
Stewart
Top achievements
Rank 1
answered on 09 Mar 2012, 01:12 PM
Ive got round it by doing the following

jQuery(document).ready(function () {
            if ((Browser.Version() < 7)) {
                //IE6 issue only
                //change href value of spin buttons from javascript:void(0) to stop new browser window opening
                jQuery('.spinbutton').attr('href', '#');
            }
        });

But still wondering if Telerik are aware of this issue?

0
Stewart
Top achievements
Rank 1
answered on 09 Mar 2012, 01:54 PM
Ive got round it by doing the following

jQuery(document).ready(function () {
jQuery('.spinbutton').attr('href', '#');
        });

But still wondering if Telerik are aware of this issue?

Tags
NumericTextBox
Asked by
Stewart
Top achievements
Rank 1
Answers by
Stewart
Top achievements
Rank 1
Share this question
or