AspNetAtoms.com daily updates on ASP.NET Tutorials, Articles, Authors and more. Subscribe to our newsletter and receive updates on ASP.NET resources on the Internet.

Categories

Recent Posts

Custom Buttons in the DataList and Repeater : Scott Mitchell

Friday, March 06 2009

In this tutorial we'll build an interface that uses a Repeater to list the categories in the system, with each category providing a button to show its associated products using a BulletedList control. Throughout the past seventeen DataList and Repeater tutorials, we’ve created both read-only examples and editing and deleting examples. To facilitate editing and deleting capabilities within a DataList, we added buttons to the DataList’s ItemTemplate that, when clicked, caused a postback and raised a DataList event corresponding to the button’s CommandName property. For example, adding a button to the ItemTemplate with a CommandName property value of “Edit” causes the DataList’s EditCommand to fire on postback; one with the CommandName “Delete” raises the DeleteCommand....

Read More:
Custom Buttons in the DataList and Repeater : Scott Mitchell
Also See:
An In-Depth Coverage of ASP.NET 2.0's Master Pages: Part 2 of 3 : Manoj Agarwal
Keep Sites Running Smoothly By Avoiding These 10 Common ASP.NET Pitfalls : Jeff Prosise
Generating image thumbnails in ASP.NET : Bertrand Le Roy
Web Site Navigation in ASP.NET 2.0 : Richard Bean
Using the WebPermission Setting in ASP.NET Partial Trust : Stefan Schackow

Post your comment

Comment