简体   繁体   中英

ASP.NET AJAX Control Toolkit: conditional ModalPopup

I need to show a modal popup if the user has selected a treeview's node on a specific depth.

Is there any way to show a modal popup on a conditional way?

Thank you!

If you're using the ModalPopupExtender, you can display the modal in a postback. Put the TreeView in an UpdatePanel, and when the node in a specified depth is selected show the modal.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM