Hi guys,
I got a problem regarding user chooses a specified option in combobox, poping up a new window for user.
the aspx code just put a telerik radcombobox on the web page and set SelectIndexChanged event
backend code are:
protected void ddlClient1_SelectedIndexChanged(object sender, EventArgs e)
{
if (ddlClient1.SelectedValue.Equals("-1"))
{
string script = "alert('aabb')";
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), ((Telerik.Web.UI.RadComboBox)sender).ClientID, script, true);
}
}
but it doesn't work.
Thanks
Alex
I got a problem regarding user chooses a specified option in combobox, poping up a new window for user.
the aspx code just put a telerik radcombobox on the web page and set SelectIndexChanged event
backend code are:
protected void ddlClient1_SelectedIndexChanged(object sender, EventArgs e)
{
if (ddlClient1.SelectedValue.Equals("-1"))
{
string script = "alert('aabb')";
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), ((Telerik.Web.UI.RadComboBox)sender).ClientID, script, true);
}
}
but it doesn't work.
Thanks
Alex