无回传日历控件 [英] Calendar control without postback

查看:145
本文介绍了无回传日历控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我注意到ASP.NET Calendar控件不具有的AutoPostBack 属性。我想,当我从控制一个日期,控制必须不是回来后的页面。我该怎么做呢?还有一件事,当我在日历上悬停显示我的脚本。 的javascript:__ doPostBack('CALENDAR2','5098')。所以我的问题是如何禁用此JavaScript来不回发

I notice the calendar control in ASP.NET does not have an AutoPostBack property. I want that when I select a date from the control, the control must not post back the page. How do I do that?and one thing more when i hover over on the calender it shows me a script. "javascript:__doPostBack('Calendar2','5098')". So my question is how to disable this javascript to don't postback the values

推荐答案

有没有办法在回传关闭服务器,但你可以使用的的UpdatePanel 控制,它可以帮助你一些东西。

There is no way to turn off the postbacks to the server but you can use updatepanel control which can help you some what.

这篇关于无回传日历控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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