无法在modalpopup扩展器中显示datepicker [英] Unable to display datepicker inside modalpopup extender

查看:92
本文介绍了无法在modalpopup扩展器中显示datepicker的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

以下是这种情况:



点击按钮我显示一个modalpopup,在那里我放了一个文本框,我想添加日期时间选择器;我已经尝试了所有类型的日期时间选择器,如Ajax日期选择器,JQuery日期选择器,没有任何作用。



请帮助我!!

Here is the situation:

While click on a button i display one modalpopup, there i put one textbox where i want to add datetime picker; i've tried all kind of date time picker like Ajax date picker, JQuery date picker, nothing works.

Please help me!!

推荐答案

在你的网页上添加Ajax工具脚本管理器




你的aspx页面中的
修改你的文本框如下





< asp:textbox id =Date; RUNAT = 服务器; width =195px;>

< asp:calendarextender id =CalendarExtender1; RUNAT = 服务器; TargetControlID =日期;格式= dd / MM / yyyy;>





希望这会对你有帮助。
fist add Ajax tool script Manager on ur web page


in ur aspx page modify ur text box as below


<asp:textbox id="Date"; runat="server"; width="195px";>
<asp:calendarextender id="CalendarExtender1"; runat="server"; TargetControlID =Date; Format=dd/MM/yyyy;>


hope this will help u.


这篇关于无法在modalpopup扩展器中显示datepicker的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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