有没有没有updatepanel的方法可以使用updateprogress? [英] Is there any way to use updateprogress without updatepanel?

查看:112
本文介绍了有没有没有updatepanel的方法可以使用updateprogress?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我使用updatepanel来使用updateprogress,但是使用诸如手风琴之类的updatepanel时出现的许多问题并未触发,因此请给我一些想法,以在没有updatepanel

的帮助下放置updateprogress

解决方案

您好,

如果要在第一次页面加载时显示UpdateProgress,可以检查以下代码.



< script type = " >



函数 pageLoad()
{


         var  updateProgress = 


get(' var dynamicLayout = ' <%= UpdateProgress1.DynamicLayout. ToString().ToLower()%>'; 如果(dynamicLayout){ updateProgress.style.display = " ; } 其他 { updateProgress.style.visibility = " ; } } </script>


Hi,

I used updatepanel to use updateprogress but soo many of problems araising while using updatepanel like accordion is not triggering so please give me some idea to put updateprogress without the help of updatepanel

解决方案

Hi,

If you want to show UpdateProgress at the first time page load, you can check the below code.



<script type="text/javascript">



function pageLoad()
{


        var updateProgress =


get('<%= UpdateProgress1.ClientID %>'); var dynamicLayout = '<%= UpdateProgress1.DynamicLayout.ToString().ToLower() %>'; if (dynamicLayout) { updateProgress.style.display = "block"; } else { updateProgress.style.visibility = "visible"; } } </script>


这篇关于有没有没有updatepanel的方法可以使用updateprogress?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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