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 August 31st, 2007, 01:59 PM
rav rav is offline
Authorized User
 
Join Date: Feb 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default Custom Events Chapter3

Hello:

How to place Custom Events in their own pre-compiled assembly??
How to create seperate secondary project for the source code and reference the compiled .dll file from the main web project?
Can someone help me in this as I am new to asp.net?
thanks




 
Old September 1st, 2007, 11:33 AM
rav rav is offline
Authorized User
 
Join Date: Feb 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

anyone???

 
Old September 2nd, 2007, 08:12 AM
Friend of Wrox
 
Join Date: Sep 2003
Posts: 143
Thanks: 0
Thanked 1 Time in 1 Post
Default

Hi rav,

I created a new C# project in Visual Studio (just started VS again, and created a new project). In there, I created the customevents, and built it.

Then back to the initial site (TheBeerHouse), I clicked on Website, Add Reference, and refered there to the project I just created. Finally, under Project Dependencies, I set the BeerHouse to rely on the CustomEvents one.

No worries, it took me quite some time to figure it out first, too. And then yesterday I finished up chapter 4, and only then realised that I started working on an older version of my code, which didn't have the project reference yet :(

HTH :)

Peter

 
Old September 3rd, 2007, 11:10 AM
Authorized User
 
Join Date: Jul 2003
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to Tremmorkeep Send a message via MSN to Tremmorkeep Send a message via Yahoo to Tremmorkeep
Default

I just went to the properties of my webevents project, and then on the 'build' tab on the left, had it build to the bin directory of my web project. My webevent project is inside my site solution. YOu can, from the File menu, go
File -> New -> Project -> Other Project Types -> Visual Studio Solutions -> Blank Solution

Then either create, or add existing projects to the solutions. Hope that helps.
 
Old September 5th, 2007, 07:43 PM
rav rav is offline
Authorized User
 
Join Date: Feb 2007
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you guys
Both the postings helped a lot.. I was finally able to get the customevents in the project structure properly ...
thanks
rav






Similar Threads
Thread Thread Starter Forum Replies Last Post
Web Custom Events bendjoe BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 1 July 28th, 2008 03:07 PM
Events for custom control in datarepeater?? lauriedthompson VB How-To 0 June 20th, 2007 05:11 AM
Web Custom Control Events junshi ASP.NET 1.0 and 1.1 Professional 1 May 3rd, 2007 01:19 AM
Chapter3 DB question... dtucker01 BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 4 August 25th, 2006 04:21 AM





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