-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: LovelyVedaJenoSingh
Message 9 in Discussion
Even if you put the dropdown list in the header template of the datagrid the
onchange event fire
to achive do the following
1)In the aspx file add the event handler for the dropdownlist as shown below
<asp:TemplateColumn HeaderText="Customer" >
<HeaderTemplate>
<asp:dropdownlist id="selCustomerlist" CssClass="combo" Runat="server"
width="88%"
AutoPostBack="True"
OnSelectedIndexChanged="CustomerSelectedIndexChanged"
TabIndex="4">
</asp:dropdownlist>
</HeaderTemplate>
</asp:TemplateColumn>
2)In the .vb file add the following code it will work
Protected Sub CustomerSelectedIndexChanged(ByVal sender As Object, ByVal e
As EventArgs)
Handles selCustomerlist.SelectedIndexChanged
End Sub
_________________________________________________________________
Marriage? http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74 Join
BharatMatrimony.com for free.
-----------------------------------------------------------
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]