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

[Solved] Validation on TextBlock

2 Answers 110 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Shweta
Top achievements
Rank 1
Shweta asked on 24 Oct 2011, 05:43 AM
Hi Team,
I added validation on TextBlock. But is showing error message in collapsed form with small red triangle on top-right corner of textblock  with red color border around textbox.
My requirement is to, make error message always visible. Means, message should be displayed near textblock whenever red border comes around textblock.

How can I achieve this?


Regards,
Shweta

2 Answers, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 24 Oct 2011, 06:36 AM
Hello Shweta,

 


Generally in such cases you have to predefine the template of the corresponding control.
For example, the default template for a Textbox control has a "ValidationErrorElement" defined as a ToolTip that is only visible if the control has a validation error. 
Can you verify how is this related to RadControls/Silverlight? 



 

Greetings,
Vanya Pavlova
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Shweta
Top achievements
Rank 1
answered on 24 Oct 2011, 06:43 AM
Hi Team,

<

 

 

telerik:RadBusyIndicator>
    <Grid ...>
        <StackPanel>
             <TextBLock .... />
        </StackPanel>
    </Grid>

 

</

 

 

telerik:RadBusyIndicator>

 

Tags
General Discussions
Asked by
Shweta
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Shweta
Top achievements
Rank 1
Share this question
or