-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Prem720
Message 4 in Discussion

Hi,

        I am bit confused, will you please elaborate this on this. I am poor
in Vb.Net, 
        Can in have this in C#

prem

> -----Original Message-----
> From: suj [SMTP:[EMAIL PROTECTED]
> Sent: Friday, September 05, 2003 11:40 AM
> To:   BDOTNET
> Subject:      Re: Page_Load
> 
>  
> <http://c.msn.com/c.gif?NC=9523&NA=34131&PS=&PI=26283&DI=416&TP=http://gro
> ups.msn.com>
>   <http://sc.groups.msn.com/themes/pby/img/mail/mlstar.gif>   New Message
> on BDOTNET <http://groups.msn.com/BDotNet>     
>   <http://sc.groups.msn.com/img/c.gif>        
> 
> 
>       Page_Load
> <http://groups.msn.com/BDotNet/_notifications.msnw?type=msg&action=showdis
> cussion&parent=1&item=5544>
>       
>       
> Reply <mailto:[EMAIL PROTECTED]>
>   <http://sc.groups.msn.com/img/c.gif>                 Reply to Sender
> <mailto:[EMAIL PROTECTED]>    Recommend
> <http://groups.msn.com/BDotNet/_notifications.msnw?type=msg&action=recomme
> nd&parent=1&item=5545>        Message 2 in Discussion         
> From: suj <http://groups.msn.com/BDotNet/profile?user=suj>    
> 
> Assume you have a WebForm1.aspx You have 2 buttons Button1(Caption =
> ButtonText1) and Button2(Caption = ButtonText2) In the Page_Load you can
> check for the Request.Form(Button1) and Request.Form(Button2) as
> follows. Private Sub Page_Load(ByVal sender As System.Object,
> ByVal e As System.EventArgs) Handles MyBase.Load CheckClickedButton ...
> ... ... end sub sub CheckClickedButton() if not
> Request.Form(Button1) is nothing AndAlso Request.Form(Button1) <> ""
> then 'Will enter this section if Button1 was clicked as
> "ButtonText1" will be passed as the value of Request.Form(Button1)
> Do the Processing that needs to be done when Buton1 is clicked.
> elseif not Request.Form(Button2) is nothing AndAlso
> Request.Form(Button2) <> "" then 'Will enter this section if
> Button2 was clicked as "ButtonText2" will be passed as the value of
> Request.Form(Button2) 'Do the Processing that needs to be
> done when Buton2 is clicked end if end sub
> 
> HTH
> 
> Sujay
> 
> -----Original Message-----
> From: BDOTNET [mailto:[EMAIL PROTECTED] 
> Sent: Friday, September 05, 2003 11:35 AM
> To: BDOTNET
> Subject: Page_Load
> 
> -----------------------------------------------------------
> 
> New Message on BDOTNET
> 
> -----------------------------------------------------------
> From: Prem720
> Message 1 in Discussion
> 
> Hi Group
> 
> In a Page I am Having a Button Control
> 
> In the Page_Load event I wanted to check if the Button_Click
> event
> is fired or Not.
> 
> Regards
> PremChand
> 
> ____________________________________________
> Confidential: This electronic message and all contents contain
> information
> from Syntel, Inc. which may be privileged, confidential or otherwise
> protected from disclosure. The information is intended to be for the
> addressee only. If you are not the addressee, any disclosure, copy,
> distribution or use of the contents of this message is prohibited. If
> you
> have received this electronic message in error, please notify the sender
> immediately and destroy the original message and all copies.
> 
> 
> -----------------------------------------------------------
> 
> To stop getting this e-mail, or change how often it arrives, go to your
> E-mail Settings.
> http://groups.msn.com/BDotNet/_emailsettings.msnw
> 
> Need help? If you've forgotten your password, please go to Passport
> Member Services.
> http://groups.msn.com/_passportredir.msnw?ppmprop=help
> 
> For other questions or feedback, go to our Contact Us page.
> http://groups.msn.com/contact
> 
> If you do not want to receive future e-mail from this MSN group, or if
> you received this message by mistake, please click the "Remove" link
> below. On the pre-addressed e-mail message that opens, simply click
> "Send". Your e-mail address will be deleted from this group's mailing
> list.
> mailto:[EMAIL PROTECTED]
>       
> 
>       View other groups in this category.
> <http://groups.msn.com/Browse?CatId=26> 
>       
>       Click Here!
> <http://g.msn.com/0AD00001/503024.1??PID=2001966&UIT=M&TargetID=1014733&AN
> =22881&PG=WBCCOM> 
> 
> 
> Also on MSN:
> Start Chatting <http://g.msn.com/2GRENUS/2_8085_01> |   Listen to Music
> <http://g.msn.com/2GRENUS/2_8085_02> |   House & Home
> <http://g.msn.com/2GRENUS/2_8085_03> |   Try Online Dating
> <http://g.msn.com/2GRENUS/2_8085_04> |   Daily Horoscopes
> <http://g.msn.com/2GRENUS/2_8085_05>          
> 
>   <http://sc.groups.msn.com/img/c.gif>        
> 
> 
>       To stop getting this e-mail, or change how often it arrives, go to
> your E-mail Settings <http://groups.msn.com/BDotNet/_emailsettings.msnw>. 
>       
>       Need help? If you've forgotten your password, please go to Passport
> Member Services <http://groups.msn.com/_passportredir.msnw?ppmprop=help>. 
>       For other questions or feedback, go to our Contact Us
> <http://groups.msn.com/contact> page. 
>       
>       If you do not want to receive future e-mail from this MSN group, or
> if you received this message by mistake, please click the "Remove" link
> below. On the pre-addressed e-mail message that opens, simply click
> "Send". Your e-mail address will be deleted from this group's mailing
> list. 
>       Remove my e-mail address from BDOTNET.
> <mailto:[EMAIL PROTECTED]> 
> 
> 
____________________________________________
Confidential:  This electronic message and all contents contain information
from Syntel, Inc. which may be privileged, confidential or otherwise
protected from disclosure. The information is intended to be for the
addressee only. If you are not the addressee, any disclosure, copy,
distribution or use of the contents of this message is prohibited.  If you
have received this electronic message in error, please notify the sender
immediately and destroy the original message and all copies.


-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to