-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: CreativeUniqueRaj
Message 4 in Discussion
Hi Sagar,
u can obtain the Text of the Label . wht u have to do is that in
the ItemCommand event try to obtain the control from the DataGrid.
like this:
Label l=new Label();
l=(Label) e.Item.Cells(2).FindControl("Label2");
i think this will Solve your problem.
Regards,
Raj.
>From: "BDOTNET" <[email protected]>
>Reply-To: "BDOTNET" <[email protected]>
>To: "BDOTNET" <[email protected]>
>Subject: ClickEvent in DataGrid
>Date: Tue, 11 Apr 2006 03:15:32 -0700
>
>
>
>
>
>
>
>
>
>
>
>
> New Message on BDOTNET
>
>
>
>
>
>
>
> ClickEvent in DataGrid
>
>
>
>
> Reply
>
>
>
>
> Recommend
>
> Message 1 in Discussion
>
>
>
>
>
>
>
> From:
> smartsagaar
>
>
>
>
> Hi I have a datagrid with 3 columns having label and
>one column with Buttons, when user clicks on one row I wanted to capture
>the label text and validate to pass to next page.....how can I find row
>button was clicked and how can I capture label text ? thnx Sagaar
>
>
>
>
>
>
> View other groups in this category.
>
>
>
>
>
>
>
>
>
>
>
>
>
>Also on MSN:
>Start Chatting | Listen to Music | House & Home | Try Online Dating | Daily
>Horoscopes
>
>
>
>
>
>
>
>
>
>
> To stop getting this e-mail, or change how often it
>arrives, go to your E-mail Settings.
>
>
> Need help? If you've forgotten your password,
> please go
>to Passport Member Services.
>
> For other questions or feedback, go to our
> Contact Us
>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.
>
>
>
>
>
>
>
_________________________________________________________________
How good are you in a Formula One car? Play now
http://server1.msn.co.in/sp05/tataracing/onlinegame.asp
-----------------------------------------------------------
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]