使用AjaxControlToolkit的asp.net中的calander问题 [英] calander problem in asp.net using AjaxControlToolkit

查看:54
本文介绍了使用AjaxControlToolkit的asp.net中的calander问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

当我单击textBox时,它显示calander但在页面顶部

我想在文本框的后面显示它(我的意思是应该将calander显示在textBox所在的位置)

请我需要codeProject成员帮助.
谢谢


Dear all,

when i click on textBox it display calander but on the top of the page

i want to display it in append to textbox(i mean the calander should be display in same place where the textBox is)

please i need codeProject members help.
thank you


<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>



<asp:TemplateField HeaderText="Proposed Date">
  <ItemTemplate>

 <asp:TextBox ID="ProposedDateTB" runat="server" Width="180px"></asp:TextBox>

 <cc1:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender" runat="server"

   TargetControlID="ProposedDateTB" WatermarkText="yyyy/MM/dd" > </cc1:TextBoxWatermarkExtender>

<cc1:CalendarExtender ID="CalendarExtender" runat="server" FirstDayOfWeek="Saturday" Format="yyyy/MM/dd" TargetControlID="ProposedDateTB">   </cc1:CalendarExtender>
                                       
          </ItemTemplate>
          </asp:TemplateField>


<


<

推荐答案

检查您的文档类型.有时由于这个原因会发生此问题.尝试用以下内容替换您的文档类型:
Check for your document type. Sometimes this issue happen because of this. Try replacing your document type with this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">



还要检查PopupPosition .



--Amit



Check for PopupPosition also.



--Amit


这篇关于使用AjaxControlToolkit的asp.net中的calander问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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