AspDotNetAtoms.com provides daily updates on ASP.NET Tutorials, Programming Resources, .NET Articles, Authors and more.

Categories

Recent Posts

Adding and Responding to Buttons to a GridView : Scott Mitchell

Sunday, August 10 2008

In this tutorial we,ll look at how to add custom buttons, both to a template and to the fields of a GridView or DetailsView control. In particular, we'll build an interface that has a FormView that allows the user to page through the suppliers. While many reporting scenarios involve read-only access to the report data, it’s not uncommon for reports to include the ability to perform actions based upon the data displayed. Typically this involved adding a Button, LinkButton, or ImageButton Web control with each record displayed in the report that, when clicked, causes a postback and invokes some server-side code. Editing and deleting the data on a record-by-record basis is the most common example. In fact, as we saw starting with the Overview of Inserting, Updating, and Deleting Data tutorial, editing and deleting is so common that the GridView, DetailsView, and FormView controls can support such functionality without the need for writing a single line of code....

Read More:
Adding and Responding to Buttons to a GridView : Scott Mitchell
Also See:
Web Parts in ASP.NET : Richard Bean
Common UI Practices in ASP.NET Applications : Mohammad Ashraful Alam
How to Popup a Window Using DIV Layer in ASP.NET 1.x/2.x : Bilal Haidar
Integrate Membership, Roles and Profile providers into your ASP.NET 2.0 Site : Peter Bromberg
ASP.NET Tip: Control the Layout of Your Input Forms : Eric Smith

Post your comment

Comment