This is a migrated thread and some comments may be shown as answers.

Alert on selectionchanged

1 Answer 25 Views
MultiColumnComboBox
This is a migrated thread and some comments may be shown as answers.
sarthkee
Top achievements
Rank 1
Veteran
sarthkee asked on 04 Feb 2021, 12:50 PM

Hello, I am using MultiColumnComboBox so for that i have to popup javascript alert and enable disable another MultiColumnComboBox depends on first ( on selectionindexchanged from server side).
Following is my code that i have done. but it doesn't work for me.

 

Regards,
Sarthkee

protected void multiColumCombobox1_SelectedIndexChanged(object sender, Telerik.Web.UI.RadMultiColumnComboBoxSelectedIndexChangedEventArgs e)
    {       
        if (multiColumCombobox1.Value=="1")
        {
            ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('HI');", true);
            multiColumCombobox2.Enable = true;
 
        }
        else
        {
               ClientScript.RegisterStartupScript(this.GetType(), "alert", "alert('Bye');", true);  
               multiColumCombobox2.Enable = False;
 
        }
    }

1 Answer, 1 is accepted

Sort by
0
Doncho
Telerik team
answered on 09 Feb 2021, 08:41 AM

Hi Sarthkee,

This thread is duplicated in https://www.telerik.com/forums/alert-on-selectionchanged.

I have already posted an answer to your question on the other ticket. I will close this thread and I would suggest we proceed with the communication in the other one.

Kind regards,
Doncho
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
MultiColumnComboBox
Asked by
sarthkee
Top achievements
Rank 1
Veteran
Answers by
Doncho
Telerik team
Share this question
or