Xml Comments
page 1 of 1
Published: 29 Sep 2003
Unedited - Community Contributed
Abstract
Allow visitors to rate your web pages and enter their comments in XML format. Vistors can then view comments and ratings left by others in a DataGrid. You determine which pages should be rated by simple adding a link to the comment page.
by Andrew Mooney
Feedback
Average Rating: 
Views (Total / Last 10 Days): 13971/ 21

Allow visitors to rate web pages and enter comments in XML format

Allow visitors to rate your web pages and enter their comments in XML format. Vistors can then view comments and ratings left by others in a DataGrid. You determine which pages should be rated by simple adding a link to the comment page. To see this example in action click the "Run Sample" link at the bottom of this page. The download contains the web page source in both C#.NET and VB.NET. Decide on a page name, this could be a title, filename, number, or any name you want to use. Simply place a link on your web page that passes the page name to the comments page.

A RegularExpressionValidator is used to limit vistor input from the TextBoxComment control. The acceptable inputs are upper and lower case letters a to z, numbers 0 to 9, spaces, periods, commas, and single quotes.

[ Run Sample ] | [ View Source ] | [ Download ]



User Comments

No comments posted yet.






Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2017 ASPAlliance.com  |  Page Processed at 2017-09-21 4:49:01 AM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search