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

New Message on cochindotnet

-----------------------------------------------------------
From: dolly
Message 1 in Discussion


Hi Sajay, 
>From msdn KB: Note   If you call the DataBind method of the parent control (the 
>DataList, Repeater, or DataGrid control), the ItemCommand event is not raised, 
>because the contents of the parent control are reset. Therefore, you generally do not 
>want to call the DataBind method on each round trip (that is, in the page 
>initialization without checking for a post back). For details, see Data Binding 
>Multi-Record Web Server Controls and Data Binding Single-Value Web Server Controls at 
>Design Time. 
Regards, 
Dolly    From: sajay Sent: 7/14/2003 9:32 AM     Hello guys,   I have been pondering 
the item command of the datagrid for sometime now but no success in raising this even 
for template columns . Any idea how to raise this event from a control in a template 
column. I have managed to assign a seperate delegate to these controls and used the 
standard Itemtemplate but still the itemCommand is not fired in the datagrid. I dont 
know whether my approach is wrong. Incase there is  a standard method or any 
workarounds please do let me know.    How come this fires only for button controls in 
the datagrid or am i wrong. ?   Regard Sajay 

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

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/cochindotnet/_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