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

Weirdly rendered ComboBox inside FormView

2 Answers 56 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
asimptota
Top achievements
Rank 1
asimptota asked on 20 Apr 2011, 01:12 PM
HI,
I have a RadComboBox as an EditItemTemplate field within FormView. That FormView is decorated using FormDecorator. That combobox is rendered totally weird (IE, Firefox) when DecoratedControls is set to GridFormDetailsViews. But, if FormView is not decorated it renders, of course, as it should. Any help?

2 Answers, 1 is accepted

Sort by
0
Accepted
Niko
Telerik team
answered on 21 Apr 2011, 04:39 PM
Hi Jasmin,

Please, note that the DecoratedControls property specifies the HTML element types (by their tags) that should be decorated. If you wish to decorate DropDownLists you should set the DecoratedControls value to Select. If you wish to decorate the controls within a specific container then you should use the DecorationZoneID property and set the container's ID as the value. Please, check the following definition that has these two properties set:
<telerik:RadFormDecorator ID="theFormDecorator" runat="server" Skin="Forest" DecorationZoneID="specialDecoration_Zone1" DecoratedControls="Select" EnableRoundedCorners="false" />

Hope this helps.

All the best,
Niko
the Telerik team
Explore the entire set of ASP.NET AJAX controls we offer here and browse the myriad online demos to learn more about the components and the features they incorporate.
0
asimptota
Top achievements
Rank 1
answered on 21 Apr 2011, 07:51 PM
Hvala Niko :)

Problem solved. Turns out that the only thing I had to do is just to replace RadComboBox with asp:DropDownList, so I didn't use decoration zone and I've set DecoratedControls to "All". It worked just as I wanted.
Thanx for such a quick answer.
Tags
FormDecorator
Asked by
asimptota
Top achievements
Rank 1
Answers by
Niko
Telerik team
asimptota
Top achievements
Rank 1
Share this question
or