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

RadTextBox tabs into validators, doesn't skip

3 Answers 89 Views
Input
This is a migrated thread and some comments may be shown as answers.
Moon
Top achievements
Rank 2
Moon asked on 22 Jan 2009, 01:33 AM
Below code has an example of a textbox with validator, and radtextboxes with validator.

If you run the code, and tab through the fields, the textbox skips over the validator and tabs into the next radtextbox field, however, the radtextboxes tab right into the validators. You can see a tiny little sliver where they stop. The user definitely wouldn't know what happened to their cursor. You have to tab twice to get to the next textbox.

This seems to be a bug with the radtextbox. What can be done?

    <tr> 
        <td colspan="3">  
            <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox> 
            <asp:RequiredFieldValidator ControlToValidate="TextBox3" ErrorMessage="Failure" ID="RequiredFieldValidator3" 
                runat="server"></asp:RequiredFieldValidator> 
        </td> 
    </tr> 
    <tr> 
        <td colspan="3">  
            <telerik:RadTextBox ID="RadTextBox1" runat="server">  
            </telerik:RadTextBox><br /> 
            <asp:RequiredFieldValidator ControlToValidate="RadTextBox1" ErrorMessage="Failure" 
                ID="RequiredFieldValidator1" runat="server"></asp:RequiredFieldValidator> 
        </td> 
    </tr> 
    <tr colspan="3">  
        <td colspan="3">  
            <telerik:RadTextBox ID="RadTextBox2" runat="server">  
            </telerik:RadTextBox><br /> 
            <asp:RequiredFieldValidator ControlToValidate="RadTextBox2" ErrorMessage="Failure" 
                ID="RequiredFieldValidator2" runat="server"></asp:RequiredFieldValidator> 
        </td> 
    </tr> 

Thanks,

Moon

 

 

 

 

 

 

 

 

3 Answers, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 22 Jan 2009, 10:04 AM
Hello,

I am afraid I don't understand what the problem is. Please, provide more details, a step-by-step procedure how to reproduce it, and screenshots.

In addition, tell us which browser do you use and what version of RadControls.

Greetings,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Moon
Top achievements
Rank 2
answered on 22 Jan 2009, 12:31 PM

I am using version 2008, 3, 1314, 35. But this also occurred in the previous 2 versions.

I am using Windows XP and IE 7 and Firefox.

 

If you paste the code into a webform (add the <table></table> tag around it), you can reproduce it.

 

 

0
Accepted
Dimo
Telerik team
answered on 22 Jan 2009, 01:11 PM
Hello,

Thanks for the additional information. I saw your live demo and the problem is caused by this CSS style:

input[type="text"]
{
visibility:visible !important;
}

It is inherited by RadInput controls and some hidden textboxes become visible, while they should not. The solution is to modify the above CSS rule, so that it does not have a global scope, or add the following after the above:

input.rdfd_[type="text"]
{
visibility:hidden !important;
}


Best wishes,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Input
Asked by
Moon
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Moon
Top achievements
Rank 2
Share this question
or