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

RadTextBox Width Attribute not working

10 Answers 604 Views
Input
This is a migrated thread and some comments may be shown as answers.
Curt
Top achievements
Rank 1
Curt asked on 24 Apr 2013, 04:55 PM
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 

10 Answers, 1 is accepted

Sort by
0
MasterChiefMasterChef
Top achievements
Rank 2
answered on 24 Apr 2013, 06:45 PM
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
0
Curt
Top achievements
Rank 1
answered on 24 Apr 2013, 07:18 PM
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
0
Curt
Top achievements
Rank 1
answered on 24 Apr 2013, 07:28 PM
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
0
Galin
Telerik team
answered on 29 Apr 2013, 03:00 PM
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.
0
JDP
Top achievements
Rank 1
answered on 08 May 2013, 01:46 PM
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.
0
Galin
Telerik team
answered on 13 May 2013, 02:19 PM
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.
0
JDP
Top achievements
Rank 1
answered on 14 May 2013, 12:08 PM
Sorry, as it turns out it was IE 8.0 and not 7.0.
0
Galin
Telerik team
answered on 17 May 2013, 01:18 PM
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.
0
JDP
Top achievements
Rank 1
answered on 17 May 2013, 01:27 PM
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.
0
Galin
Telerik team
answered on 22 May 2013, 01:24 PM
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.
Tags
Input
Asked by
Curt
Top achievements
Rank 1
Answers by
MasterChiefMasterChef
Top achievements
Rank 2
Curt
Top achievements
Rank 1
Galin
Telerik team
JDP
Top achievements
Rank 1
Share this question
or