简体   繁体   English

asp.net工具包日历

[英]asp.net toolkit calendar

i'm using this control for date picker. 我正在为日期选择器使用此控件。 i want that when user click on button the calender will pop up next to the button and when the user pick date the date will save in hidden field or somthing like that. 我希望当用户单击按钮时,日历会在按钮旁边弹出,而当用户选择日期时,日期将保存在隐藏字段或类似的内容中。

the probelm is that the control need target control and he can't get hidden field i don't want to show the date the user pick. 问题是控件需要目标控件,他无法获取隐藏字段,我不想显示用户选择的日期。 only to save this date somehow 只是为了以某种方式保存此日期

thanks!!!! 谢谢!!!!

why not hidding the Textbox (target control ID) 为什么不隐藏文本框(目标控件ID)

<asp:TextBox CssClass="hide" ...

.hide { display: none; }

Works fantastic! 太棒了! Maybe you don't know how to implement it :) 也许您不知道如何实现它:)

for that: 为了那个原因:

Here is a screen cast of it . 这是屏幕截图

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM