开发者

Different popups for different textbox edits, possible?

I have an issue with a popup in Asp.net using AJAX modalpoup extender. Is it possible to show one kind of popup when the user edits few textboxes and the other kind of popup for the remaining textboxes.

I guess it is possible with some javascript function. Could someone help me out?

Ex: Only when txtbox1's value is changed, it should show me popup1 when the save button is click开发者_运维问答ed. Or else popup2.

Thanks in advance!


This might be something that is limited by the fact that you're using ASP.net's modulapopup. Have you tried looking into jQuery?

For example, you could assign event handlers to the specific buttons/textboxes and have them trigger different events - which you would then handle accordingly, i.e. displaying different popups. Take a look at jQuery UI, specifically their Dialog demo.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜