Like in this example:
void OnItemClick(object sender, EventArgs e)
{
string selected;
try
{
selected = Parse(e.Item.Value);
}
catch (Exception ex)
{
Log("Clicked Item not found", ex);
throw;
}
switch (selected)
{
default:
break;
}
}
No comments:
Post a Comment