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:
Reporting Made Easy : Steve C. Orr
Seven New Control Gallery Entries : ASP.NET News
Friendly URLs with URL mappings : Marco Bellinaso
ASP.NET Tip: Control the Layout of Your Input Forms : Eric Smith
Three Cures for Common Site Map Ailments : Jeff Prosise

Post your comment

Comment