You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
439 B
16 lines
439 B
<%@ Register TagPrefix="obout" Namespace="OboutInc.Combobox" Assembly="obout_Combobox_Net" %>
|
|
|
|
<script runat="server" Language="C#">
|
|
void Page_Load(object sender, EventArgs e)
|
|
{
|
|
if (!Page.IsPostBack)
|
|
{
|
|
cbo1.SelectedIndex = 5;
|
|
}
|
|
else
|
|
{
|
|
SelectedItemIndex.Text = "The option with the index " + cbo1.SelectedIndex.ToString() + " was selected.";
|
|
}
|
|
}
|
|
</script>
|