PC Review


Reply
Thread Tools Rate Thread

ASP.NET Client side event question

 
 
Karl
Guest
Posts: n/a
 
      11th Dec 2003
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.
 
Reply With Quote
 
 
 
 
John Timney \(Microsoft MVP\)
Guest
Posts: n/a
 
      12th Dec 2003
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>
----------------------------------------------

"Karl" <(E-Mail Removed)> wrote in message
news:1247601c3c02c$fc020270$(E-Mail Removed)...
> 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.



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mixing a client-side/server-side event =?Utf-8?B?am9uZWZlcg==?= Microsoft Dot NET 7 5th Jun 2007 10:27 PM
Cancel serverside event using client side event csgraham74 Microsoft ASP .NET 5 14th Jun 2005 11:17 PM
Safe to have client-side AND server-side page load event procedures? Fred Microsoft ASP .NET 2 12th Jul 2004 07:46 PM
Button disabled and re-enabled in client side not firing server-side click event. =?Utf-8?B?QmluIFNvbmcsIE1DUA==?= Microsoft ASP .NET 1 2nd Jun 2004 04:44 PM
fire server side event from client side code =?Utf-8?B?TmVpbA==?= Microsoft ASP .NET 5 23rd Mar 2004 11:50 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:29 AM.