RadTextBox Width Attribute not working

11 posts, 0 answers
  1. Curt
    Curt avatar
    82 posts
    Member since:
    Sep 2012

    Posted 24 Apr 2013 Link to this post

    I recently upgrade to the newest version of telerik and now all of the width attributes in my radtextbox's are not working. Essentially setting all of my textboxes at a default ~150px. I am using a custom theme. Can anyone suggest a fix. 

    I found this after posting - http://www.telerik.com/community/forums/aspnet-ajax/input/radtextbox-width-not-working-after-upgrade.aspx


    downgrading does not seem to help 
  2. MasterChiefMasterChef
    MasterChiefMasterChef avatar
    152 posts
    Member since:
    Jan 2013

    Posted 24 Apr 2013 Link to this post

    Hi Curt,

    I just attempted to replicate your issue but was unable to find the width property not working. It could have something to do with your custom theme, but likely doesn't. Can you provide some code to make it easier to replicate the issue? 

    Thanks
    Master Chief
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Curt
    Curt avatar
    82 posts
    Member since:
    Sep 2012

    Posted 24 Apr 2013 Link to this post

    There are many different places that it is happening.

    #1 on the paging textbox at the bottom of each radgrid (image attached). It has default settings with no custom code. Only paging enabled.

    #2 
    <telerik:RadNumericTextBox ID="RadNumericTextBoxItem1" runat="server" EnableEmbeddedSkins="false"
    Skin="CustomTheme" Width="25" NumberFormat-DecimalDigits="0" />

    #3 any other radtextbox in the project seems to be set at a default width. with exception to multiline textboxes
  5. Curt
    Curt avatar
    82 posts
    Member since:
    Sep 2012

    Posted 24 Apr 2013 Link to this post

    So I started going through some settings in the webconfig and found the issue seemed to be related to embeddedbasestylesheets being set to false.

    <add key="Telerik.EnableEmbeddedBaseStylesheet" value="false" />


    when I remove the entry my textboxes go back to normal but all of my calendars no longer have formatting (image attached)..

    any ideas?
    thanks
  6. Galin
    Admin
    Galin avatar
    526 posts

    Posted 29 Apr 2013 Link to this post

    Hello Curt,

    In case you set globally the EnableEmbeddedBaseStylesheet to false you will have to register the needed control base CSS file by hand.

    I am not quite sure that I correctly understand why including the base CSS files brings the described issue. Therefore, in case the issue persists could you open a regular support ticket and send possibly a simple running project so that I can examine it locally?


    Kind regards,
    Galin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  7. JDP
    JDP avatar
    14 posts
    Member since:
    Mar 2008

    Posted 08 May 2013 Link to this post

    I had the same issue and have not found a resolution yet other then setting the width to a set Pixel width.   Whereas in my case I had to change Width="60%" to Width="550px" 

    The thing is, I had what appeared to be identical PC's (same OS & browser) and the percantage width would work on one but not the other.  The fixed pixel width solved it for now.  Probably why Telerik support says there is no problem because they don't see a problem.  Trust me, it's there.
  8. Galin
    Admin
    Galin avatar
    526 posts

    Posted 13 May 2013 Link to this post

    Hello James,

    The described issue is a known bug and can be observed only in IE 7. Our developers are working on it and it will be fixed for the next release.

    Kind regards,
    Galin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  9. JDP
    JDP avatar
    14 posts
    Member since:
    Mar 2008

    Posted 14 May 2013 Link to this post

    Sorry, as it turns out it was IE 8.0 and not 7.0.
  10. Galin
    Admin
    Galin avatar
    526 posts

    Posted 17 May 2013 Link to this post

    Hi James,

    I tested again, but the issue is replicated only in IE7 on my side. Could you verify you are not using the browser in Compatibility Mode, which is similar to IE7?


    Greetings,
    Galin
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  11. JDP
    JDP avatar
    14 posts
    Member since:
    Mar 2008

    Posted 17 May 2013 Link to this post

    I was initially helping out Curt who had started this thread...

    Trust me on this - I did check to see Compatibility Mode was turned on and it wasn't.  I do not have the time in my schedule to hunt this down at the moment.   I resolved my issue at that time by setting a fixed pixel width to resolve it.  The client was running Windows 7 with IE 8.0 and not in Compatibility Mode. Have sinced moved on.
  12. Galin
    Admin
    Galin avatar
    526 posts

    Posted 22 May 2013 Link to this post

    Hello James,

    Thank you for reporting this issue. I have forwarded it to our developers so they could further investigate it. 

    Regards,
    Galin
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017