Hi this is the OP.
Here is the code:
//********** ASPX Markup *************** *
<asp:GridView ID="gvCRCSearch " runat="server"
AutoGenerateCol umns="False" EnableViewState ="False"
DataKeyNames="A pplicantID">
<Columns>
<asp:BoundFie ld DataField="Firs tName" HeaderText="Fir st Name" />
<asp:BoundFie ld DataField="Midd leName" HeaderText="Mid dle" />
<asp:BoundFie ld DataField="Last Name" HeaderText="Las t Name" />
<asp:BoundFie ld DataField="DOB" DataFormatStrin g="{0:MM/dd/yyyy}"
HeaderText="DOB " HtmlEncode="Fal se" />
<asp:BoundFie ld DataField="Prim aryPhone" HeaderText="Pri m. Phone" /
>
<asp:BoundFie ld DataField="Ethn icity" HeaderText="Eth nicity" />
<asp:BoundFie ld DataField="Subm itDate" DataFormatStrin g="{0:MM/dd/
yyyy}" HeaderText="Sub mit Date" HtmlEncode="Fal se" />
<asp:TemplateFi eld HeaderText="Hir ed?">
<ItemTemplate >
<asp:DropDownLi st ID="ddlHired" runat="server"
AutoPostBack="T rue"
OnSelectedIndex Changed="ddlHir ed_SelectedInde xChanged" >
<asp:ListItem Value="False">N o</asp:ListItem>
<asp:ListItem Value="True">Ye s</asp:ListItem>
</asp:DropDownLis t>
</ItemTemplate>
</asp:TemplateFie ld>
</Columns>
</asp:GridView>
//******** CS code **************
protected void ddlHired_Select edIndexChanged( object sender, EventArgs
e) {
Trace.Warn("I'm here");
}
On Sep 15, 10:22*am, aamir <aamirghan...@g mail.comwrote:
Hello, I guess the subject line says it all. I have put Trace.Warn()
in the SelectedIndexCh anged event handler, but it does not get listed
when the trace is on for that page. I have AutoPostback = True for
that Dorpdownlist as well. What could be I missing. Any leads will be
helpful.
Thanks in advance!