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

ControlsToSkip and Textbox

2 Answers 67 Views
FormDecorator
This is a migrated thread and some comments may be shown as answers.
Aarsh
Top achievements
Rank 1
Aarsh asked on 09 Oct 2012, 03:55 PM
Hi friends,

<telerik:RadFormDecorator ID="id runat="server" ControlsToSkip="Textbox"></telerik:RadFormDecorator>


Seems not to be working for textboxes, instead, the below serves the purpose.
<telerik:RadFormDecorator ID="id runat="server" ControlsToSkip="Textarea"></telerik:RadFormDecorator>


Am I missing something ?

Thanks,
-Aarsh

2 Answers, 1 is accepted

Sort by
0
Bozhidar
Telerik team
answered on 10 Oct 2012, 12:25 PM
Hello,

I have tested your scenario, and the only additional property I have added is DecoratedControls:

<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <telerik:RadFormDecorator ID="rfd1" runat="server" DecoratedControls="All" ControlsToSkip="Textbox" />
    <asp:TextBox runat="server"></asp:TextBox>
    </form>
</body>
</html>

It works as expected and the asp text box is not decorated.

All the best,
Bozhidar
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
Aarsh
Top achievements
Rank 1
answered on 10 Oct 2012, 02:50 PM
Thanks, I ended up using:

<telerik:RadFormDecorator ID="SomeID" runat="server" DecoratedControls="All" ControlsToSkip="Textbox, Scrollbars"></telerik:RadFormDecorator>


Thanks,
-Aarsh

Please mark as ans if it deserves to be the answer of this question.
Tags
FormDecorator
Asked by
Aarsh
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Aarsh
Top achievements
Rank 1
Share this question
or