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

Restricting css to content page

1 Answer 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rajesh
Top achievements
Rank 1
Rajesh asked on 21 Jul 2011, 02:56 PM
Hi,

      I need to customize .RadInput css on my content page.
    

 

    <style type="text/css">

 

 

        .RadInput

 

        {

 

            display: none;

 

        }

 

    </style>

 



 I'm able to achieve what I want. But I also have a Radtextbox on my master page. when this page loads, master page's textbox also disappears. Is there some way I could restrict this modified css's efect to content page?

Thanks
Rajesh

1 Answer, 1 is accepted

Sort by
0
Slav
Telerik team
answered on 21 Jul 2011, 04:03 PM
Hi Rajesh,

For the purpose of isolating the customization of RadTextBoxes only on a specific content page, create a CSS class which overrides the default button display:
.RadInputHide
{
    display: none;
}

Then you can apply it to the RadTextBoxes on the content page:
<telerik:RadTextBox runat="server" CssClass="RadInputHide" ID="InnerTextBox" Text="InnerTextBox"></telerik:RadTextBox>

Please let us know if you successfully implemented the suggested solution.

Regards,
Slav
the Telerik team

Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Tags
General Discussions
Asked by
Rajesh
Top achievements
Rank 1
Answers by
Slav
Telerik team
Share this question
or