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

silverlight controls

1 Answer 40 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
itesso
Top achievements
Rank 1
itesso asked on 26 May 2010, 02:44 PM
All,

Im using the telerik silverlight controls now for only a couple of days. In the default silverlight controls i have the option to set a textbox to enable multi line. So far i have not been able to do this with the telerik controls. Using the default controls is not an option for me since i want to apply telerik theming on all of my controls.

Also, i would like to see a sample on how to use the telerik listbox, containing text items. My experience so far is that the listbox items that i create are not shown.

Thanks,

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 27 May 2010, 01:02 PM
Hello dannyh,

There is a known issue with setting a textbox to be multiline and we are working on fixing it. However, as a workaround I may propose to you to use the property of GridViewDataColumn called EditorStyle which allows you to customize the editor being used. For example:

<telerik:GridViewDataColumn.EditorStyle>
   <Style TargetType="TextBox" telerik:StyleManager.BasedOn="Office_Black">
          <Setter Property="AcceptsReturn" Value="True"/>
   </Style>
</telerik:GridViewDataColumn.EditorStyle>


I am sending you a sample project so that you can see and test the proposed solution. Furthermore, a example with the usage of ListBox is included.  

I hope that helps, but in case this does not meet exactly your requirements, please do not hesitate to get back to us.


Best wishes,
Maya
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
itesso
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or