This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 各位研究过IE WebControl Toolbar的.Net高手救救我吧:我有一个aspx页面,用到Toolbar,其中有一个toolbarbutton是'delete',我想pop up一个confirm窗口确认是否删除,是则刷新主页面,不是则无操作,怎么实现?有代码更好,万分感谢!
-cloud2001(卷云溶月*末班车1*);
2004-4-21
(#1693754@0)
-
JavaScript比较合适。
-luoboyang(萝卜秧);
2004-4-21
(#1693756@0)
-
Try EJB :D
-ra_95(小人-生命换来的金钱);
2004-4-21
(#1693769@0)
-
Try this
-charleslike(愚人);
2004-4-21
(#1693774@0)
-
VB.net embedded javascript, code inside FYI, hopefully it is what you want.'btnContinue and btnCancel they are buttons on the form
msg = "Following stations have previous claims associated with them:\n" & sb.ToString & "Proceed anyway ?"
s = "var x = confirm('" & msg & "');" & vbCrLf
s += "if (x) " & vbCrLf & "__doPostBack('btnContinue', '');" & vbCrLf & "else" & vbCrLf & _
"__doPostBack('btnCancel', '');" & vbCrLf
RegisterStartupScript("Msg", "<script>" & s & "</script>")
-ningxin0809(雁影行洲);
2004-4-21
{488}
(#1693786@0)
-
费了一下午劲,终于有所进展,多谢各位了。:D
-cloud2001(卷云溶月*末班车1*);
2004-4-21
(#1694138@0)