Hello there.
I am writing an ASP.net page using C# and I want to invoke an event that is called when I enter a reference number in the TextBox. This event will go on to cause a corresponding ListBox to be populated.
I thought the OnTextChanged would be a suitable event but this is not happening for me at the moment. I don't want to use a Button and hence a click event in that way, so can anybody think of a suitable way to do this please?
I am thinking possibly of a JavaScript function and then add attributes to the TextBox to call this method but again, I'm not sure what event this could be coded towards..?
Thank you.
M :o)
I am writing an ASP.net page using C# and I want to invoke an event that is called when I enter a reference number in the TextBox. This event will go on to cause a corresponding ListBox to be populated.
I thought the OnTextChanged would be a suitable event but this is not happening for me at the moment. I don't want to use a Button and hence a click event in that way, so can anybody think of a suitable way to do this please?
I am thinking possibly of a JavaScript function and then add attributes to the TextBox to call this method but again, I'm not sure what event this could be coded towards..?
Thank you.
M :o)
Comment