View Single Post
  #3 (permalink)  
Old January 27th, 2014, 05:06 PM
AlanWheeler AlanWheeler is offline
Authorized User
Points: 416, Level: 7
Points: 416, Level: 7 Points: 416, Level: 7 Points: 416, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Nov 2013
Posts: 84
Thanks: 29
Thanked 2 Times in 2 Posts
Default Ch 8/9 accessing User Control controls

Hi Imar,

Thanks for the quick reminder about creating properties. I will have to do that later as it quickly became apparent trying to do this from the contact.aspx form was going to be pretty involved.

I ended up adding 2 methods for debugging purposes in the ContactForm.ascx.vb file; a Page_Load method that loads up the form if it's not a postback (thank you very much for the reminder), and clear method behind a button.

So, when the page first loads it has a debug email ready to go, and if I want to test the client side error checking I can clear it and we're back to normal.

I'll re-approach accessing the User Control controls after I finish the book because it takes so much time to really absorb each chapter and I don't want to slow down right now.

Later...

Best Regards,
Alan