Click here to Skip to main content
15,912,400 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Is it possible to add virtual controls to the DOM tree? Pin
George L. Jackson19-Dec-06 9:03
George L. Jackson19-Dec-06 9:03 
GeneralRe: Is it possible to add virtual controls to the DOM tree? Pin
howardjr19-Dec-06 11:53
howardjr19-Dec-06 11:53 
GeneralRe: Is it possible to add virtual controls to the DOM tree? Pin
George L. Jackson19-Dec-06 13:39
George L. Jackson19-Dec-06 13:39 
GeneralRe: Is it possible to add virtual controls to the DOM tree? Pin
howardjr19-Dec-06 15:53
howardjr19-Dec-06 15:53 
Questionwebsite development in different language.... Pin
Nagraj Naik19-Dec-06 1:05
Nagraj Naik19-Dec-06 1:05 
AnswerRe: website development in different language.... Pin
Bradml19-Dec-06 1:17
Bradml19-Dec-06 1:17 
QuestionCrystal Reports XI Pin
jagmit2019-Dec-06 0:50
jagmit2019-Dec-06 0:50 
QuestionComboBox custom web/server-side control - where's the data? Pin
howardjr18-Dec-06 18:29
howardjr18-Dec-06 18:29 
I wrote a custom combobox server control that inherited the webcontrols.listbox class so that I'd get all of the built-in list handling features. Then I added a textbox to allow me to type in a value that wasn't in the listbox, and some client-side javascript to set the textbox to the selected item in the list when one was clicked, select a matching item in the list when one was typed into the textbox, or to set the list's selectedIndex to -1 when the value typed into the textbox didn't match. All of this works fine.

The problem is that when the form posts back I don't see any of the data I expected, not the list selection, nor the textbox value.

As I said I expected the list selection to be returned automatically, but I didn't actually use that instance, opting instead to use a span container with the a textbox, another listbox, and an imagebutton added to the span's controls, then rendered from the span level. So, how do I get the data to post-back from these sub-controls?

I really don't want to use the original list that my control inherited, as I need the span container to make my control work in absolute position mode. However, to make my control work in non-absolute position mode, when the textbox's width is set to auto, I don't always render the span, instead I simply render the controls below the span and let the browser work out all of the widths.

Thank you in advance.
AnswerRe: ComboBox custom web/server-side control - where's the data? Pin
howardjr19-Dec-06 15:52
howardjr19-Dec-06 15:52 
GeneralRe: ComboBox custom web/server-side control - where's the data? Pin
howardjr19-Dec-06 16:28
howardjr19-Dec-06 16:28 
GeneralRe: ComboBox custom web/server-side control - where's the data? Pin
howardjr20-Dec-06 10:16
howardjr20-Dec-06 10:16 
QuestionHow do I left align text within a span tag Pin
howardjr18-Dec-06 10:53
howardjr18-Dec-06 10:53 
AnswerRe: How do I left align text within a span tag Pin
George L. Jackson18-Dec-06 12:38
George L. Jackson18-Dec-06 12:38 
GeneralRe: How do I left align text within a span tag Pin
howardjr18-Dec-06 13:56
howardjr18-Dec-06 13:56 
GeneralRe: How do I left align text within a span tag Pin
George L. Jackson18-Dec-06 14:04
George L. Jackson18-Dec-06 14:04 
GeneralRe: How do I left align text within a span tag Pin
howardjr18-Dec-06 18:16
howardjr18-Dec-06 18:16 
GeneralRe: How do I left align text within a span tag Pin
George L. Jackson19-Dec-06 1:54
George L. Jackson19-Dec-06 1:54 
GeneralRe: How do I left align text within a span tag Pin
howardjr19-Dec-06 5:54
howardjr19-Dec-06 5:54 
QuestionIE with JS Pin
militiaware16-Dec-06 22:47
militiaware16-Dec-06 22:47 
JokeRe: IE with JS Pin
Bradml16-Dec-06 23:30
Bradml16-Dec-06 23:30 
GeneralRe: IE with JS Pin
militiaware16-Dec-06 23:43
militiaware16-Dec-06 23:43 
GeneralRe: IE with JS Pin
Bradml17-Dec-06 0:06
Bradml17-Dec-06 0:06 
GeneralRe: IE with JS Pin
JimmyRopes17-Dec-06 17:42
professionalJimmyRopes17-Dec-06 17:42 
AnswerRe: IE with JS Pin
Guffa17-Dec-06 0:10
Guffa17-Dec-06 0:10 
GeneralRe: IE with JS Pin
militiaware17-Dec-06 0:14
militiaware17-Dec-06 0:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.