Width decreases and styling is lost after postback

7 posts, 0 answers
  1. Aneesh Pulukkul
    Aneesh Pulukkul avatar
    4 posts
    Member since:
    Oct 2009

    Posted 11 Feb 2010 Link to this post

    Hello Team,

    I have a RadComboBox that works fine as long as any postback events do not occur. But when a postback occurs, the width of combobox decreases and the styling is all messed up - additional "select" text is displayed on the right end and list items are displayed with a transparent background. I have tried the solutions found here, but were ineffectual:

    http://www.telerik.com/support/kb/aspnet-ajax/combobox/radcombobox-changes-width-height.aspx
    http://www.telerik.com/community/forums/aspnet/combobox/radcombo-width-changes-after-an-ajax-postback.aspx

    The point here is that it doesn't happen for an AJAX postback - it happens only when entire page is reloaded.

    Could you please provide a solution as we have to use RadComboBox across many pages in our application?

    Thanks,
    Aneesh Pulukkul
  2. Yana
    Admin
    Yana avatar
    4888 posts

    Posted 12 Feb 2010 Link to this post

    Hello Aneesh,

    It looks as the skin is not loaded after the postback, but we're not able to help unless you provide us with a simple project demonstrating the problem.

    Best wishes,
    Yana
    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. Rob
    Rob avatar
    4 posts
    Member since:
    Jun 2008

    Posted 08 Apr 2010 Link to this post

    I'm having the same exact problem and cannot find a resolution to it. It is as explained, when I first load the page the combobox loads perfect with skin and all. Once I have to do a postback to the page, it looks as though the width is half of what it should be or possibly the default width, the top and bottom images are still the correct length, no arrow for the image and the word "select" on the end.

    This problem has only shown up on the latest version of 2009.3.1314.35

    I am also putting this in as a support ticket.

    Thanks
    Rob


  4. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 09 Apr 2010 Link to this post

    Hi Rob,

    Let us continue our communication in the support ticket you have submitted.

    Once we pinpoint the cause of the issue I will write here as well to let others know about the resolution.

    All the best,
    Simon
    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.
  5. Jen
    Jen avatar
    21 posts
    Member since:
    Oct 2008

    Posted 30 Jun 2010 Link to this post

    I am having the same problem...was there any resolution to this issue?
  6. Rob
    Rob avatar
    4 posts
    Member since:
    Jun 2008

    Posted 30 Jun 2010 Link to this post

    Yes there was. I had to add code to the Page Load event to make sure that skin rendering was back on for the ajax controls. I'm currently working on the controls themselves to fix the issue because I have over 45 lines of worthless code to work around this.

     

    // This is hack to make the skin work on these controls until telerik fixes it.

     

     

    if (!rsmInvesting.IsInAsyncPostBack)

     

    {

    lbEdocs.EnableAjaxSkinRendering =

    true;

     

    ddEdocStMonths.EnableAjaxSkinRendering =

    true;

     

    ddEdocsStYear.EnableAjaxSkinRendering =

    true;

     

    ddConfirmsAction.EnableAjaxSkinRendering =

    true;

     

    ddEdocsTaxYear.EnableAjaxSkinRendering =

    true;

     

    ddEdocsTaxType.EnableAjaxSkinRendering =

    true;

     

    ddPositionSelect.EnableAjaxSkinRendering =

    true;

     

    ddActivityCrit.EnableAjaxSkinRendering =

    true;

     

    ddAccounts.EnableAjaxSkinRendering =

    true;
    }

    This is just a few of the lines but you get the idea.

    Thanks
    Rob

     

  7. Jen
    Jen avatar
    21 posts
    Member since:
    Oct 2008

    Posted 30 Jun 2010 Link to this post

    Thanks!  I will give it a try.

Back to Top