TextBox Validation tooltip

4 posts, 0 answers
  1. Karthik
    Karthik avatar
    15 posts
    Member since:
    Feb 2012

    Posted 28 Feb 2012 Link to this post

    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
  2. Maya
    Admin
    Maya avatar
    4062 posts

    Posted 29 Feb 2012 Link to this post

    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 >>
  3. Karthik
    Karthik avatar
    15 posts
    Member since:
    Feb 2012

    Posted 29 Feb 2012 Link to this post

    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
  4. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 29 Feb 2012 Link to this post

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