Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 12th, 2007, 11:40 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I think the problem may be in this:

Protected Sub txtsubject_DataBinding(ByVal sender As Object, ByVal e As System.EventArgs) _
  Handles txtsubject.DataBinding

You handle a DataBinding event. However, does the TextBox get databound? I think it doesn't so this event never gets called.

Can't you set the Text property directly in Page_Load or in another event? Since I don't know how your page is structured, it's hard to suggest something useful.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old April 23rd, 2007, 10:56 AM
Authorized User
 
Join Date: Apr 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Greetings,
I have completed all the sugested modfications and they all work great. Actually, I have built this into a much larger CMS by extending all the classes etc.
BUT I need to add a Author subscription email to article. That is, when submiting an article for publication, an author is given the option to choose if they want to be notified each time a comment is added to their article. (Note that I have extended the amin section to allow for Authors, Editors, Admins etc). Currently what I have been able to achieve is for the Admin to be notified each time a comment is submitted, but since the Admin is NOT going to be the only author, I would rather have the Original submitter to be the the one getting the email.
Do you have any Ideas or code snipets that can show me how to get this. Note that Admin currently get emails on comments insert.
Cheers,
yousaid

 
Old April 23rd, 2007, 01:31 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

What area of the solution do you need help with? Do you have any specific questions?

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.
 
Old April 23rd, 2007, 02:13 PM
Authorized User
 
Join Date: Apr 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I need suggestion on how to implement email subscription.
That is, an author of an article gets notified whenever a comment is posted to their article.
I already have comments implememted and the admin gets notified.
cheers,
yousaid

 
Old April 23rd, 2007, 03:34 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I understand that, but what do you need help with this? If you have the comment feature, and you know how to send email notifications, what is it you don't know how to do?

Simply look up the address of the author that created the article, and send him / her an e-mail as well.

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 13 - CMS gedgecc BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 2 November 15th, 2012 09:19 AM
CMS Envelope problem chapter 9 luke.koziol BOOK: Beginning Cryptography with Java 1 May 6th, 2007 05:15 PM
problems with chapter 13 cms cyclonic BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 5 March 16th, 2007 04:25 AM
CMS (chapter 13) website integration nick.kirby BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 August 3rd, 2006 04:33 AM
Problems with chapter 13 cms hooligan BOOK: Beginning PHP5, Apache, and MySQL Web Development ISBN: 978-0-7645-7966-0 6 July 24th, 2005 12:19 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.