使压光控制下降 [英] To make calender control to drop down
本文介绍了使压光控制下降的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嘿,我在显示日期时遇到问题,因为视觉工作室中的日历控件正在消耗页面大小,我想让它下拉请帮助我
解决方案
jQuery方法怎么样?
< div id = datepicker > < / div >
< script src = @ Url.Content( 〜/脚本/ jquery的-UI-1.8.17 .custom.min.js) type = text / javascript > < / script >
< script 类型 = text / javascript >
(function(){
(#datepicker )。日期选择器();
});
< / script >
并且别忘了添加css链接:
< link href =@ Url.Content(〜/ Content / themes / base / jquery-ui.css) =stylesheettype =text / css/>
Hey i have problem in displaying date because the calender control which is there in visual studio is consuming the page size and i wanted to make it to drop down please help me
解决方案
what about jQuery approach??
<div id="datepicker"></div> <script src="@Url.Content("~/Scripts/jquery-ui-1.8.17.custom.min.js")" type="text/javascript"></script> <script type="text/javascript">
(function () {
("#datepicker").datepicker(); }); </script>
and do not forget to add css link:
<link href="@Url.Content("~/Content/themes/base/jquery-ui.css")" rel="stylesheet" type="text/css" />
这篇关于使压光控制下降的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文