Hi, Text_Changed please
-
Hi,somebody told me to try the onkeypress event of a input object it seems logic but the HTML text doesn't fire a post back & even that i tried this idea but it doesn't work look , for example i have a list of guests in my listbox & i want when i type something in a textbox over that list the guests that only the guests that have the name start whith these letters stay in the listbox can you have any idea how can i do that please ??
try to be good if you can't be the best
-
Hi,somebody told me to try the onkeypress event of a input object it seems logic but the HTML text doesn't fire a post back & even that i tried this idea but it doesn't work look , for example i have a list of guests in my listbox & i want when i type something in a textbox over that list the guests that only the guests that have the name start whith these letters stay in the listbox can you have any idea how can i do that please ??
try to be good if you can't be the best
well if you did get it to work it would post back on every type. That really would be un-sitely. So using javascript i think the even is onKeyPress="CallMyFunction();" then have a javascript function that filters the list box. Its a SELECT element so look that up in msdn. You might have to store the results in another object and add them. Although there is probably a way to make the listbox set a visible property on each item.
-------------------------------------------------------- 1 line of code equals many bugs. So don't write any!! My mad coder blog