I have a ddl control with datasource and autopostback = true. But the selectedindexchanges is not firing when the dataelement is only one data and when it is automatically filled up
while page loading. It is not firing when there is not mannually index chaging. If the table has only one record and which poppulated automatically while that page coming. the following is
my code.
<asp:DropDownList ID="ddlModules" runat="server" DataSourceID="LinqModules"
DataTextField="Description" DataValueField="Id"
OnSelectedIndexChanged="ddlModules_SelectedIndexChanged"
ViewStateMode="Disabled" EnableViewState="true" AutoPostBack="true" />
<asp:LinqDataSource ID="LinqModules" runat="server"
ContextTypeName= "DataAccess.SchoolStudyDataContext"
...
Go to the complete details ...