PC Review


Reply
Thread Tools Rate Thread

Cannot find answer anywhere: where does the class="DDTextBox" come from?

 
 
hal9000
Guest
Posts: n/a
 
      29th Nov 2011
This is my control:
<aspynamicControl runat="server" DataField="Quantity"
Mode="ReadOnly" CssClass="quantity" />

This is what gets rendered in the browser:
<input name="ListView1$ctrl0$__Quantity$TextBox" type="text" size="5"
id="ListView1___Quantity_TextBox" class="DDTextBox" />

Where does the class="DDTextBox" come from?
I do see the quantity class, but it is on the span element that is the
parent to the input element. Since that gets overridden by the
DDTextBox class in the input element, having it on the span element
does not help.

It must have something to do with Dynamic Data, but I can't find the
answer anywhere. I searched all the file in my solution and DDTextBox
is nowhere to be found.

And where does the size=5 come from? I am able to enter more than 5
characters into the text box, so it seems to have no effect.

By the way, I'm trying to control the width of the input box and right-
align the text in it.

Thanks!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
i cant get the exact answer e.g answer is 13.49% i got 13.00% =?Utf-8?B?emFp?= Microsoft Excel Misc 2 9th Jun 2005 10:31 AM
Pull last columns' answer until answer changes =?Utf-8?B?S2V2aW4gTQ==?= Microsoft Excel Misc 1 3rd Nov 2004 02:30 AM
strange problem, easy answer (The Final Answer!) Rhizome Microsoft Windows 2000 Applications 1 22nd Aug 2003 06:27 AM
strange problem, easy answer (The Final Answer!) Rhizome Microsoft Windows 2000 1 22nd Aug 2003 06:27 AM
strange problem, easy answer (The Final Answer!) Rhizome Microsoft Windows 2000 Setup 1 22nd Aug 2003 06:27 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:08 AM.