TextBoxEditor

2 posts, 0 answers
  1. Marc
    Marc avatar
    8 posts
    Member since:
    Nov 2010

    Posted 11 Apr 2011 Link to this post

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

    Posted 12 Apr 2011 Link to this post

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