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

TextBox Validation tooltip

3 Answers 90 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Karthik
Top achievements
Rank 1
Karthik asked on 29 Feb 2012, 01:27 AM
I have a TextBox that I validate on the ViewModel side. The validation works and it shows a red border around the TextBox when the validation fails, the tool tip shows up when I hover over the top right corner of the TextBox. How could I make the tool tip to automatically show up along with the red border instead of having to hover on the corner?

I have a similar validation on a combobox and it seems to behave as I wanted it to, am I missing something here?

This is how my TextBox looks like
<TextBox x:Name="TextBoxWindow" Margin="0" TextWrapping="Wrap" Text="{Binding TBProperty, Mode=TwoWay, ValidatesOnExceptions=True, NotifyOnValidationError=True}"/>


Any help will be greatly appreciated

Thanks
K

3 Answers, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 29 Feb 2012, 08:14 AM
Hi Karthik,

Will it be possible to clarify a bit about your exact settings and requirements ? Do you use a specific RadControl ? 

Greetings,
Maya
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Karthik
Top achievements
Rank 1
answered on 29 Feb 2012, 01:41 PM
Maya,

There are no custom settings as such. Its just a TextBox, there are no templates. just the code that I have included below. The only requirement is that I would like the tooltip to show up along with the red border instead of having to hover on top right corner

Thanks
K
0
Vlad
Telerik team
answered on 29 Feb 2012, 01:43 PM
Hello,

 Maybe it will be better to ask such questions on official Microsoft Silverlight forums. Please use Telerik forums for Telerik components related questions!

Greetings,
Vlad
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
GridView
Asked by
Karthik
Top achievements
Rank 1
Answers by
Maya
Telerik team
Karthik
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or