ASP.NET Client side event question

  • Thread starter Thread starter Karl
  • Start date Start date
K

Karl

Hi I am new to asp.net and I need to get my head around
the way client side events interact with server side
events.

I want to have three listbox's on a page, the value the
user selects in the first listbox determines the second
listbox's values, the value the user selects in the second
box determines the third listbox's values etc.

I double clicked on the first listbox to generate a code
behind event which I filled with the appropriate code but
of course nothing happens on the web interface because my
event is server side.

Please help.
 
With ASP.NET you are still bound by all the constraints of HTML and client
side events you were with ASP. if you want something to happen on your
client, you have to output the appropriate javascript to make it happen.
The alternative is to do round trips to the server.

--
Regards

John Timney (Microsoft ASP.NET MVP)
----------------------------------------------
<shameless_author_plug>
Professional .NET for Java Developers with C#
ISBN:1-861007-91-4
Professional Windows Forms
ISBN: 1861005547
Professional JSP 2nd Edition
ISBN: 1861004958
Professional JSP
ISBN: 1861003625
Beginning JSP Web Development
ISBN: 1861002092
</shameless_author_plug>
 
Back
Top