1
所有的尊重,我有一个硕士详细项目的asp.net(sql数据)项目中的Master.aspx随着代码页面Master.aspx.cs。以下是代码:asp.net gridview编辑模式弹出日历
<asp:TemplateField HeaderText="Date of Failure" SortExpression="Failure_date" >
<EditItemTemplate>
<asp:TextBox ID="EditFailure_date" runat="server" Text='<%# Bind("Failure_date", "{0:d}") %>' ></asp:TextBox><img src="_images/images.jpg" style="margin-top:3px;width:30px;height:30px;cursor:hand;" onclick="PopupPicker('EditFailure_date')" />
<asp:RequiredFieldValidator ID="Failure_dateRequiredFieldValidator" runat="server" ControlToValidate="EditFailure_date" Display="Dynamic" ErrorMessage="Can not be blank" SetFocusOnError="True"></asp:RequiredFieldValidator>
</EditItemTemplate>
<ItemStyle HorizontalAlign="Left" VerticalAlign="Top" />
<HeaderStyle HorizontalAlign="Left" VerticalAlign="Top" />
<ItemTemplate>
<asp:Label ID="Failure_date" runat="server" Text='<%# Bind("Failure_date", "{0:dd/MM/yyyy}") %>' ></asp:Label>
</ItemTemplate>
</asp:TemplateField>
现在我想添加一个弹出式压光机的上方文本框“EditFailure_date”没有代码隐藏。请帮忙。
非常感谢主席先生。 – user1235981 2012-02-29 11:23:33
@ user1235981欢迎您!如果这正是您需要的,请将答案标记为已接受。否则,请随时用更多的信息更新您的问题。欢迎来到Stackoverflow! – 2012-02-29 13:11:48