I am trying to run the function "get_data" after the select index gets changed for 2 drop down lists. But how do I find out which dropdownlist triggered the event? In this case, how do I find out if "dropdownlist1" triggered the event and not "dropdownlist2"?
Here is some sample code
<script language="C#" runat="server">
void Get_Data(object source, EventArgs e)
{
//determine if "Dropdownlist1" or "Dropdownlist2" triggered the "Get_Data" function here...
}
</script>
<asp:DropDownList ID="DropDownList1" AutoPostBack="true" OnSelectedIndexChanged="Get_Data" runat="server">
Go to the complete details ...