如何解决ie-Browser中的Tree ViewColaps问题 [英] How can solve Tree ViewColaps Issue in ie-Browser

查看:58
本文介绍了如何解决ie-Browser中的Tree ViewColaps问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Asp.net应用程序中使用树视图控件在该页面上,当我展开折叠树视图时,它询问确认消息,即你想离开这个页面它只是一个bug。如何解决这个问题。这个问题只见IE浏览器,请帮帮我



In my Asp.net application using tree view Control On that page when I expand the collapse tree view it asking confirmation message, ie- "Are you want to leave this Page" its a bug only .How i can solve this issue.This issue is seen only IE Browser,Please help me

//  Script:
<script type="text/javascript" language="javascript">
window.onbeforeunload = function () {
   if (document.getElementById("<%=hdnSavingMode.ClientID %>").value.toUpperCase() == 'TRUE') {
      return "Do you want to leave this page without saving?";
   }
};





代码块和制表



Code block and tabulation

推荐答案

这篇关于如何解决ie-Browser中的Tree ViewColaps问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆