ComboBox and radgrid loses css style settings on radwindow close

4 posts, 1 answers
  1. Chandra Babu Nambi
    Chandra Babu Nambi avatar
    4 posts
    Member since:
    May 2010

    Posted 31 Aug 2010 Link to this post

    HI team,

    I have a requirement in my application that, I have to perform an action based on the users response(serverside). So I have used radwindow for the same. Based on the response(ok/cancel) respective serverside events are fired. After this operation when i click on any comboboxes it loses its css style (Gets changed to transparent). Radgrids in the page also faces the same issue. please find the follwing code snippets I have used to open and close the radwindow from server side.

    Open radwindow :

    Telerik.Web.UI.

    RadWindow window = radWindowManager.Windows[0];

     

    window.VisibleOnPageLoad =

    true;

     


    Close radwindow :

    Telerik.Web.UI.

    RadWindow window = radWindowManager.Windows[0];

     

    window.VisibleOnPageLoad =

    false;

     

    window.Dispose();


    radwindow in aspx page :

     

    <telerik:RadWindowManager ID="radWindowManager" runat="server">

     

     

    <Windows>

     

     

    <telerik:RadWindow ID="radWindowConfirm" runat="server" VisibleOnPageLoad="false"

     

     

    Skin="Vista" Title="Error(s)" Behaviors="Close,Move" Modal="true" Height="200px">

     

     

    <ContentTemplate>

     

     

    <asp:Label ID="lblDuplicate" runat="server" ForeColor="Red" Text="<%$ Resources:ValidationMessages, DuplicateEntry %>" />

     

     

    <asp:Button ID="btnConfirmOk" Text="OK" runat="server" OnClick="btnRadConfirm_Click"

     

     

    Visible="false" />

     

     

    <asp:Button ID="btnConfirmCancel" Text="Cancel" runat="server" OnClick="btnRadNotConfirm_Click"

     

     

    Visible="false" />

     

     

    </ContentTemplate>

     

     

    </telerik:RadWindow>

     

     

    </Windows>

     

     

    </telerik:RadWindowManager>

     


    Please find the attached screen shots of both scenarios. Please let me help in this issue.

    Regards,
    Chandrababu.
  2. Answer
    Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 31 Aug 2010 Link to this post

    Hello Chandra Babu Nambi,

    As I understand the issue here is that the css styles are not rendered after page postback.
    This can occur in cases when there are full and Ajax postbacks performed at the same page.
    Let me suggest you set the EnableAjaxSkinRendering property of the RadComboBox and RadGrid to "true" at every page load.

    Please let me know if this was helpful.

    All the best,
    Kalina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Devarajan
    Devarajan avatar
    1 posts
    Member since:
    Jun 2009

    Posted 20 Sep 2010 Link to this post

    Hi ,

    Even i am setting the EnableAjaxSkinRendering  property true. Still i have same problem.

    Can you please give me the solution for this?


    Regards,
    Deva
  5. Kalina
    Admin
    Kalina avatar
    918 posts

    Posted 23 Sep 2010 Link to this post

    Hi Devarajan,

    Let me suggest you to register the skins that you use manually as explained at this help article.

    Best wishes,
    Kalina
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top