RadComboBox loosing Skin

2 posts, 0 answers
  1. Angie
    Angie avatar
    33 posts
    Member since:
    Jul 2010

    Posted 25 Jul 2011 Link to this post

    I have a RADComboBox with following.
    I databind using code behind. when i click on Footer button i make combobox invisible. I use another button to make this combo box visible. On 2nd button click i re-databind the comboBox but when this happens i loose the Vista Skin.

    I tried using the CSS in the header too by copying the ComboBox.Vista.css CSS file to the project still didn't work. Please help . I have also added screen shot

    <telerik:RadComboBox ID="radBankAccounts" Runat="server" Width="200px" Skin="Vista"                           
                                HighlightTemplatedItems="true" DataTextField="DisplayAccountName"
                                DataValueField="AccountName"
                                onselectedindexchanged="radBankAccounts_SelectedIndexChanged">
                                <FooterTemplate>
                                    <div style="text-align:center">
                                        <asp:LinkButton ID="lnkbtnAddAccount" Text="add new bank account" onclick="hypBtnChangePayAccount_Click" runat="server" />
                                    </div>
                                </FooterTemplate>
                            </telerik:RadComboBox>

  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1268 posts

    Posted 28 Jul 2011 Link to this post

    Hi Ravindranath,

    Thank you for contacting us.

    This problem might occur if you are using ajax in order to hind and show the RadCombobox. In case this is your scenario, please set the EnableAjaxSkinRendering= True property of the RadComboBox, but please note that this should be done in Page_Load event.

    I hope this would help you out.

    All the best,
    Dimitar Terziev
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

Back to Top