Technical Blog: Edit and Update Gridview Using Ajax Modalpopupextender
Technical Blog: Edit and Update Gridview Using Ajax Modalpopupextender
Technical Blog
Friday, September 21, 2012
Followers (4)
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <style type="text/css"> .modalBackground { background-color: Gray; filter: alpha(opacity=50); opacity: 0.7; } .pnlBackGround { position: fixed; top: 10%; left: 10px; width: 300px; height: 125px; text-align: center; background-color: White; border: solid 3px black; } </style> </head> <body> <form id="form1" runat="server"> <div> <asp:Label ID="lblTitle" runat="server" Text="BINDING DEPARTMENT DETAILS FOR EDIT AND UPDATE OPERATIO NS USING MODALPOPUPEXTENDER CONTROL OF AJAX CONTROL TOOLKIT" ForeColor="Red"></asp:Label> <br /> <br /> <asp:ScriptManager ID="Sc1" runat="server"> </asp:ScriptManager> <asp:GridView ID="gvDeptDtls" runat="server" AutoGenerateColumns="false" DataKeyNames="DeptCode" OnRowCommand="gvDeptDtls_OnRowCommand" BackColor="#FFFFCC" ForeColor="Black"> <HeaderStyle BackColor="Chocolate" Font-Bold="true" /> <Columns> <asp:ButtonField HeaderText="Edit" CommandName="EditRow" Text="Edit" ItemStyle-ForeColor="Blue" /> <asp:TemplateField HeaderText="Department Code"> <ItemTemplate> <asp:Label ID="lblDeptCode" runat="server" Text='<%# Bind("DeptCode")%>'></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Department Name"> <ItemTemplate> <asp:Label ID="lblDeptName" runat="server" Text='<%# Bind("DeptName")%>'></asp:Label> </ItemTemplate> </asp:TemplateField> <asp:TemplateField HeaderText="Department Description"> <ItemTemplate> <asp:Label ID="lblDeptDescp" runat="server" Text='<%# Bind("DeptDescp")%>'></asp:Label> </ItemTemplate> </asp:TemplateField>
Followers
Blog Archive
2012 (38) August (3) September (20) How to install ASP.net AJAX Control ToolKit WPF Application to convert text to speech PASSING TABLE VALUED PARAMETER TO STORED PROCEDURE... ENCRPT AND DECRYPT STORED PROCEDURES IN SQLSERVER ... Sample Code to insert form data into Excel using C... Example of ModalpopupExtender Ajax Control Developing Widgets with ASP.NET EDIT and UPDATE GridView using AJAX MODALPOPUPEXTE... Animation Extender Example - Ajax Control ToolKit Ajax Control ToolKit AlwaysVisibleControlExtender Example AJAX Control ... CalendarExtenderAJAX Control
http://sailajareddy-technical.blogspot.in/2012/09/edit-and-update-gridview-using-ajax.html
1/4
3/7/2014
Labels
AJAX Control ToolKit (21) ASP.NET TOPICS (10) C# (Asp.Net) (8) SQL SERVER 2008 TOPICS (7)
Total Pageviews
20,335
About Me
Sailaja View my complete profile
Code Behind:
http://sailajareddy-technical.blogspot.in/2012/09/edit-and-update-gridview-using-ajax.html
2/4
3/7/2014
http://sailajareddy-technical.blogspot.in/2012/09/edit-and-update-gridview-using-ajax.html
3/4
3/7/2014
Comment as:
Google Account
Publish
Preview
Newer Post
Subscribe to: Post Comments (Atom)
Home
Older Post
http://sailajareddy-technical.blogspot.in/2012/09/edit-and-update-gridview-using-ajax.html
4/4