Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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 20th, 2008, 11:07 AM
Authorized User
 
Join Date: Jan 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default HELPPP CustomEvents

Can somebody please tell how I go about adding Custom events to my project. I'm rather new to asp.net and I'm building a site with similar functionality. I have got as far as making the project customs events and I have added the code to the vb class file. I know is seem silly but i could really us a step by step guide for completing the whole process for adding custome event project to my site.
 
Old April 20th, 2008, 05:45 PM
Registered User
 
Join Date: Apr 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

Have you seen this video tutorial which explains all about custom classes and delegates in C#. Is it what you're looking for?

http://blogs.interfacett.com/dan-wah...es-with-c.html
 
Old April 20th, 2008, 06:09 PM
Authorized User
 
Join Date: Jan 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm trying to add custom events using using vb.net. I created the customer events project with customevents vb file, but i wanted to know how i referenced to it in my main website. The book doesn't make this very clear.

 
Old April 22nd, 2008, 11:44 AM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Quote:
quote:Originally posted by nichola_x_rose
 I'm trying to add custom events using using vb.net. I created the customer events project with customevents vb file, but i wanted to know how i referenced to it in my main website. The book doesn't make this very clear.

1. Right-click on website in Solution Explorer,

2. Choose Add Reference...,

3. Choose Projects tab,

4. Click on the project that contains the custom events, then click OK.


 
Old April 22nd, 2008, 01:47 PM
Authorized User
 
Join Date: Jan 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I right click on the solution explorer and click add reference is no project to select. What am I doing wrong?

 
Old April 22nd, 2008, 03:31 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Quote:
quote:Originally posted by nichola_x_rose
 When I right click on the solution explorer and click add reference is no project to select. What am I doing wrong?

You said that you already created a custom events project. You would want to add that project to the same solution as your website by using File | Add | Existing Project. Once the project is added to the Solution, it should show under the Projects tab in Add Reference.

 
Old April 22nd, 2008, 05:37 PM
Authorized User
 
Join Date: Jan 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks Lee that method worked great. I think I should be ok now. But if i need any more help will you be able to assist.

 
Old April 22nd, 2008, 08:41 PM
Lee Dumond's Avatar
Wrox Author
 
Join Date: Jan 2008
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

Quote:
quote:Originally posted by nichola_x_rose
 Thanks Lee that method worked great. I think I should be ok now. But if i need any more help will you be able to assist.

I'm sure me or somebody else here will. Don't forget there is also another forum where you can ask questions too:

http://forums.asp.net/1115.aspx

 
Old April 24th, 2008, 06:24 AM
Authorized User
 
Join Date: Jan 2007
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok I managed to attach the Custom Events to my website and I have the following errors

Namespace or type specified in the Imports 'System.Web.Management' doesn't contain any public member or cannot be found. Make sure the namespace or the type is defined and contains at least one public member. Make sure the imported element name doesn't use any aliases.

It also tell me that httpcontext webbasecodec and webbaseevent are not defined.

And could not load type 'MB.urbanEntertainment.WebCustomEvent' from assembly 'MB.urbanEntertainment.CustomEvents'.

How do I resolves these problems to get customevents working






Similar Threads
Thread Thread Starter Forum Replies Last Post
No answers in Forum to problem with CustomEvents irelandk BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 June 18th, 2008 05:36 AM
Any1 have a TBH CustomEvents Source? krainov BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 December 28th, 2007 01:54 AM
CustomEvents Lib Project tectrix BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 10 June 16th, 2007 12:59 PM
how do i make a boolean array. helppp Un33k Visual Basic 2005 Basics 2 June 14th, 2007 06:56 AM
Ch 3: CustomEvents.dll lmod BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 January 10th, 2007 12:43 PM





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