J
Jay
I am trying to get the caption (value) of the server side button to use it
in a query. The function below is a database function which needs the Field
to search in and the Value to search for.
I tried sender.ToString() but it returns me the type along with the value.
I should be able to get the value or even the ID (which I made the same as
the value). Neither one seems to be available to the generic object sender.
Any help would be appreciated! Thank You!
private void Button_ServerClick(object sender, System.EventArgs e)
{
ShowSortData("",this.ddlFields.SelectedValue, WHAT GOES HERE);
}
in a query. The function below is a database function which needs the Field
to search in and the Value to search for.
I tried sender.ToString() but it returns me the type along with the value.
I should be able to get the value or even the ID (which I made the same as
the value). Neither one seems to be available to the generic object sender.
Any help would be appreciated! Thank You!
private void Button_ServerClick(object sender, System.EventArgs e)
{
ShowSortData("",this.ddlFields.SelectedValue, WHAT GOES HERE);
}