Tuesday, September 11, 2012

select dropdown by text

this.drpLayouts.SelectedIndex = this.drpLayouts.Items.IndexOf(this.drpLayouts.Items.FindByText(this.layoutName.Text));

No comments:

Post a Comment