document.ready不是从用户控件触发 [英] document.ready is not firing from user control

查看:98
本文介绍了document.ready不是从用户控件触发的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨..!



我有一个用户控件,我在document.ready()中设置了一些html控件的默认值。



现在,我将该用户控件动态地从代码后面添加到主页面的更新面板。



请注意,在异步回发时,我正在添加该控件。



但是,用户控件的document.ready()根本没有被触发..!



i理解为什么它不被解雇的原因。


但我无法解决这个问题。



有人可以帮助我摆脱这个问题吗?



谢谢.. !

Hi..!

I have a user control in which i'm setting some default values of html controls in document.ready().

Now, i'm adding that user control to the update panel of the main page dynamically from code behind.

Plz note that, on asynchronous post back, i'm adding that control.

but, document.ready() of the user control is not getting fired at all..!

i understood the reason for why it is not getting fired.

But im unable solve this issue.

Can some one help me get out of this problem?

Thank You..!

推荐答案

http:// stackoverflow.com/questions/256195/jquery-document-ready-and-updatepanels [ ^ ]


这篇关于document.ready不是从用户控件触发的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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