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

RadButton cant change with our own css style, if that page contain RadRadioButtonList

3 Answers 180 Views
Button
This is a migrated thread and some comments may be shown as answers.
M Kumar
Top achievements
Rank 1
Iron
Veteran
M Kumar asked on 27 Apr 2020, 05:37 AM

Hi

   We have radbutton in one aspx and apply our own css style (external style sheet),if that page not contain RadRadioButtonList, our css can apply to radbutton, but if i add RadRadioButtonList in same page , then css not reflect for that radbutton.
This is radbutton
 <telerik:RadButton CssClass="btn btn-success" EnableEmbeddedSkins="false"  RenderMode="Lightweight" Primary="true" ID="RadButton1" runat="server" Text="RadButton"></telerik:RadButton>
This is radradiobuttonlist

   <telerik:RadRadioButtonList ID="radListType" AutoPostBack="true" runat="server">
                  <Items>
                      <telerik:ButtonListItem Selected="true"  Text ="Internal User" Value ="Internal User" />
                        <telerik:ButtonListItem  Text ="External User" Value ="External User" />
                
                  </Items>

                </telerik:RadRadioButtonList>

if i remove radradiobutton list   screenshot : http://prntscr.com/s6ixau

if i add radradiobutton list   screenshot : http://prntscr.com/s6ix3f

 

Pls reply asap,Same as some other page also css not reflect in radbutton, not sure which control affect this, for example i gave radbutton with radradiobuttonlist above.

3 Answers, 1 is accepted

Sort by
0
Accepted
Doncho
Telerik team
answered on 29 Apr 2020, 05:15 PM

Hey there,

The issue you are experiencing could be caused by mixing different render modes on the page, check out our KB article Determine the render mode of all Telerik controls and catch mixed render mode issues.

Please ensure you don't use different RenderMode(s) for Controls of the same type on the page.

If the problem persists when using the same RendeMode, I would need to see more details on the custom CCS you apply.

Kind regards,
Doncho
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
M Kumar
Top achievements
Rank 1
Iron
Veteran
answered on 30 Apr 2020, 04:18 AM

Hi, 

    Now ok, EnableEmbeddedSkins properties automatically not showing when type in code behind, if i type fully and make false, button css style will get effect.

Thanks

0
Doncho
Telerik team
answered on 04 May 2020, 05:09 PM

Hello,

Normally the IntelliSense in VisualStudio suggests the property as shown in the screenshot below. In case it is not shown, there might be some conflicts with the reference. For instance, if there is a class with the name "RadGrid1" that does not have the property, hence Visual Studio can't see it. 

You can try making a test method similar to the one in the following screenshot and check if the suggestion appears:

If none of the above works for you, you will need to double-check and ensure the references are correct. 

 

Kind regards,
Doncho
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
Tags
Button
Asked by
M Kumar
Top achievements
Rank 1
Iron
Veteran
Answers by
Doncho
Telerik team
M Kumar
Top achievements
Rank 1
Iron
Veteran
Share this question
or