在asp.net中回发页面时,jquery多月日历未显示 [英] jquery multimonths calender not displaying when page is postback in asp.net

查看:61
本文介绍了在asp.net中回发页面时,jquery多月日历未显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生您好,
我在页面上使用jquery多月日历.我的页面上有两个单选按钮(Rd1,Rd2),两个文本框(Txt1,Txt2),两个下拉列表和一个按钮控件.每当我打开页面并选择文本框时,datepicker的显示就很好.但是每当我选择页面上的下拉列表或单选按钮之类的任何控件时(这意味着该页面何时再次回发),然后选择不显示文本框"multimonths datepicker".
如果有人知道请帮助我.

谢谢你. .

Hello sir,
I am using jquery multimonth calender on my page. I have two radiobuttons(Rd1, Rd2), two textboxes(Txt1, Txt2), two dropdownlists and one button control on my page. when ever i open the page and select the textbox multimonths datepicker is displaying well. but when ever i select any control like dropdownlist or radiobutton on the page( that means when ever the page postback and again ) and select the textbox multimonths datepicker is not displaying.
if anybodyknow plz help me.

Thank you. .

推荐答案

这听起来像是回发后日期选择器的视图状态未正确还原.也许您应该调试控件之前和之前的事件,直到控件的load事件,以查看回发之后发生的事情.

而且,在经历太多麻烦之前,值得一看的是看看是否为该控件激活了viewstate.
This sounds like the view state of the date picker is not restored properly after a postback. Perhaps you should debug into the events prior and up to the load event of the control to see what happens after a postback.

And, before going through too much trouble, it is worth a look to see if the viewstate is activated for that control at all.


您好,先生.
非常感谢您的回复.我如何在javascript中设置viewstate我正在使用像这样的datepicker.
hello sir.
thans for your reply. how can i set viewstate in javascript i am using datepicker like this.
<script type="text/javascript">


(document).ready(function(){
(document).ready(function() {


这篇关于在asp.net中回发页面时,jquery多月日历未显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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