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

ControlsToSkip and Textbox

2 Answers 36 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:26 PM
Hi,

I have already answered to your question in another thread you have posted, but here it is again:

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.

Greetings,
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:08 PM
Eeek !  how come there are duplicate posts including time stamps ? Anyways, thanks.

This thread may be deleted to maintain consistency of the forum.
Tags
FormDecorator
Asked by
Aarsh
Top achievements
Rank 1
Answers by
Bozhidar
Telerik team
Aarsh
Top achievements
Rank 1
Share this question
or