想学下怎样使用gridview,在利用模板列时出现了问题,在将一个Calender控件拖入ItemTemplate后,回到design状态下,该控件漂浮着,并未出现在模板列中,按照正常状态应该是模板列的每一行都是该控件,可该控件偏偏漂浮在其他地方,还就只有一个,同时也不能编辑,看下HTML代码,如下
<asp:TemplateField HeaderText="sas">
<ItemTemplate>
<asp:Calendar ID="Calendar1" runat="server" Height="152px" Style="z-index: 100; left: 34px;
position: absolute; top: 61px"></asp:Calendar>
</ItemTemplate>
</asp:TemplateField>
也已经加入进去了,可就是达不到效果,这是咋回事呢?
但在别的电脑上就没问题,莫非是我的VS2005哪个位置设置不对?
<asp:TemplateField HeaderText="sas">
<ItemTemplate>
<asp:Calendar ID="Calendar1" runat="server" Height="152px" Style="z-index: 100; left: 34px;
position: absolute; top: 61px"></asp:Calendar>
</ItemTemplate>
</asp:TemplateField>
也已经加入进去了,可就是达不到效果,这是咋回事呢?
但在别的电脑上就没问题,莫非是我的VS2005哪个位置设置不对?
position: absolute; top: 61px">
删除