Since ASP.NET controls are rendered to the client as HTML (in this case, a
<SPANtag), you need to be thinking about what client-side event would work
for you, the server-side events are only triggered if a postback is
initiated. So, you should add this to your asp:label control via the
page_load() event handler:
lblSomething.at tributes.add("o nChange","clien tSideFunction() ")
And then add a client-side function that matches the second parameter you
gave above that does the clearing of the listbox data.
"Sue" <iy*********@ho tmail.comwrote in message
news:11******** *************@e 65g2000hsc.goog legroups.com...
Hello
Is there an equivalent of a OnTextChangedEv ent for a asp: label
control in asp.Net 2.0. Every time the text of a label changes, I want
the items in a listbox control cleared.
TIA
Sue..