dropdown item to open kendo window

0 Answers 59 Views
DropDownList
Azhar
Top achievements
Rank 1
Iron
Azhar asked on 22 Jul 2022, 06:33 AM

I have an existing dropdownlist which gets its data via ajax from api.

Now, I want to add an item "Add New" (just under the existing optionlabel) , which when clicked will open a kendo window.

Questions:

1. First of all, is there any easy/direct way to do this?

2. One option that I could think of - and I am trying to get that working - is to add an item after the initial ajax data is loaded, and use onSelect to check if the option selected is "Add New" and open a window

However, I am not able to implement this. I am stuck at trying to add an additional item to the existing options (which as I mentioned is retrieved via ajax). How to do this? Please note that I already have a optionlabel which I want to retain (based on clients insistence).

 

Any idea how to achieve this?

 

PS: i cannot add this from server side api as that code is not in my control.

 

No answers yet. Maybe you can help?

Tags
DropDownList
Asked by
Azhar
Top achievements
Rank 1
Iron
Share this question
or