Is there a way to prevent the popup closing when i select a certain value ?
On PopupClosing event, with args=true, i can cancel event but the selectValue return the old value, not the new selected.
Thanks in advance ;)
1 Answer, 1 is accepted
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 06 Mar 2019, 12:05 PM
Hello, Jean-Marc,
Indeed, the PopupClosing event is the appropriate way to prevent closing the popup in certain conditions. Indeed, the new value is committed when the popup is closed.
However, I can suggest you to handle the Popup.MouseDown event and detect which item was clicked and use this information in the PopupClosing event. Please refer to the following code snippet:
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.