Click here to Skip to main content
15,891,905 members
Articles / Web Development / ASP.NET

GridView with a single ModalPopupExtender/Panel for row editing

Rate me:
Please Sign up or sign in to vote.
4.93/5 (45 votes)
22 Feb 2007CPOL3 min read 300.5K   11.5K   149  
GridView with a single ModalPopupExtender/Panel for row editing.
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Date.ascx.cs" Inherits="controls_Date" %>
<asp:TextBox ID="txtCalendar" runat="server"></asp:TextBox>
<asp:Image ID="imgCalendar" runat="server" ImageUrl="~/App_Themes/default/images/Calendar.png" style="cursor:hand;"/>
<ajaxToolKit:CalendarExtender ID="CalendarExtender1" runat="server" Format="MM/dd/yyyy" PopupButtonID="imgCalendar" TargetControlID="txtCalendar">
</ajaxToolKit:CalendarExtender>
<ajaxToolKit:MaskedEditExtender ID="MaskedEditExtender1"  runat="server" TargetControlID="txtCalendar" ClearMaskOnLostFocus="false" Mask="99/99/9999" MaskType="Date" AutoComplete="true">
</ajaxToolKit:MaskedEditExtender>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions