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

TextBoxEditor

1 Answer 53 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Marc
Top achievements
Rank 1
Marc asked on 11 Apr 2011, 08:23 PM
I am trying to just put a text box for data entry on my screen. I don't need a RichTextBox, or a masked one just normal text ox editor.

I'm using:
<Controls:Label Margin="6,6,6,6" Content="Invoice:" Grid.Column="4" Grid.Row="0"/>
<telerik:TextBoxEditor Margin="6,6,6,6" Grid.Column="5" Grid.Row="0"  
	Text="{Binding Mode=TwoWay, Path=Invoice}" LostFocus="InvoiceChanged" />

As seen in the pic attached the text box does not render. Whats even more annoying is that it is there. If I use 'tab' to where the control should be I can change the Invoice prop on my ViewModel. So the control is there, but not showing. 

Also why does the masked and textbox editor function differently? Putting a lost focus event on a masked text editor works as expected where one on a TextBoxEditor does not. A masked text box editor throwing a lost focus event will bind the entered value to the view model then trigger the event. The text box editor throws the lost focus event then binds. Why are controls not universal in their behaviors? 

1 Answer, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 12 Apr 2011, 07:03 AM
Hi,

 Please use plain TextBox instead. This control is specific for RadGridView and should not be used outside of the grid!

Greetings,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Marc
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Share this question
or