Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Newbie Question (repost)

Reply
Thread Tools

Newbie Question (repost)

 
 
Jack
Guest
Posts: n/a
 
      10-17-2006
Hello,

Sorry for the repost however the post never showed up the newsgroup or
Outlook Express is retrieving it. Either way I apologize.
I have a web form that has alot of event handlers (checkboxes,
dropdownlists). I need to handle certain events for certain controls before
other controls. What specifies which event handler gets called first when
submitting the form and can I modify it?

Thanks


 
Reply With Quote
 
 
 
 
Karl Seguin [MVP]
Guest
Posts: n/a
 
      10-17-2006
I believe the order of the controls is what specifies the order in which
events are raised.

You're best bet is to handle the ordering logic within your controls
themeselves..maybe by calling a function.


sub CheckBox_Changed(...)
ProcessGlobalEvent()
'do checkbox changed specific stuff
end sub

sub TextBox_Changed(...)
ProcessGlobalEvent()
'do textbox changed specific stuff
end sub

where ProcessGlobalEvent() is a function/sub which handles all the stuff you
need to do before handling any specific event.

Karl

--
http://www.openmymind.net/
http://www.codebetter.com/


"Jack" <> wrote in message
news:...
> Hello,
>
> Sorry for the repost however the post never showed up the newsgroup or
> Outlook Express is retrieving it. Either way I apologize.
> I have a web form that has alot of event handlers (checkboxes,
> dropdownlists). I need to handle certain events for certain controls
> before other controls. What specifies which event handler gets called
> first when submitting the form and can I modify it?
>
> Thanks
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

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
VONAGE Newbie w/newbie question New_kid@nowhere.new VOIP 0 08-11-2007 01:40 PM
another newbie question from another newbie.... Lee UK VOIP 4 05-17-2005 04:10 PM
newbie: cisco vlan newbie question No Spam Cisco 3 06-07-2004 10:02 AM
dumb newbie question (or newbie dumb question) Jerry C. Perl Misc 8 11-23-2003 04:11 AM
Newbie! I'm a newbie! What's wrong with this program? Id0x Python 4 07-20-2003 11:40 PM



Advertisments