//Another Radio button has been clicked
protected void rdba_CheckedChanged(object sender, EventArgs e)
{
PopulateDropDown ();
}
protected void rdbb_CheckedChanged(object sender, EventArgs e)
{
PopulateDropDown ();
}
protected void rdbc_CheckedChanged(object sender, EventArgs e)
{
PopulateDropDown ();
}
protected void rdbd_CheckedChanged(object sender, EventArgs e)
{
PopulateDropDown ();
}
//Populate drop down
public DataSet PopulateDropDown()
{
string sSearchType = string.Empty;
if (rdba.Checked == true)
{
//Bind Drop down
dsFit.dataSource
}
if (rdbb.Checked == true)
{
//Bind Drop down
dsFit.dataSource
dsFit.Items.Insert(0, "<-- Select -->");
}
if (rdbc.Checked == true)
{
//Bind Drop down
dsFit.dataSource
dsFit.Items.Insert(0, "<-- Select -->");
}
if (rdbd.Checked == true)
{
dsFit.dataSource
}
return dsFil;
}
//Selected index Change
protected void drpFilter_SelectedIndexChanged(object sender, EventArgs e)
{
string sSearchType = string.Empty;
string sSearchInput = string.Empty;
if (drpFilter.SelectedIndex != 0)
{
if (rdba.Checked == true)
{
//Bind data grid
}
if (rdbb.Checked == true)
{
//Bind data grid
}
if (rdbc.Checked == true)
{
//Bind data grid
}
if (rdbd.Checked == true)
{
}
}
}
|