I have following simple code:
<%@ Page Language=\"C#\" AutoEventWireup=\"true\" CodeBehind=\"testForm.aspx.cs\" Inherits=\"Orbs.testForm\" %>
Had the same issue - SelectedIndexChanged doesn't fire when selecting the first option, My not clean solution was (not sure that was so smart but it work for me),
At the Page_Load I added the follow script:
if (!IsPostBack)
{
//bind data first time
}
else
{
int ddlSortByValue = int.Parse(ddlSortBy.SelectedValue);
if (ddlSortByValue == 0)
{
ddlSortBy_SelectedIndexChanged(this, EventArgs.Empty);
}
}
That way I force the SelectedIndexChanged event to fire up