I have code like this:
<asp:textbox id="theID" Runat="server" readonly=True width="150px">
It gets rendered as this:
<INPUT id=theID style="WIDTH: 100%" readOnly value=Normal name=theID>
Why has the width changed? I've seen this before and, like now,
I resort to using
because that doesn't change.
I did have a look with reflector to see if I could see anything but
I actually tracked this down to a bit of code in the base class that
I knew nothing
about (not written by me) that manually does this change! Sounds a bit
ill advised to me
Thanks for the help.
|All times are GMT. The time now is 09:53 AM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.