Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old August 31st, 2007, 01:59 PM
rav rav is offline
Authorized User
 
Join Date: Feb 2007
Location: , , .
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




  #2 (permalink)  
Old September 1st, 2007, 11:33 AM
rav rav is offline
Authorized User
 
Join Date: Feb 2007
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

anyone???

  #3 (permalink)  
Old September 2nd, 2007, 08:12 AM
Friend of Wrox
 
Join Date: Sep 2003
Location: Copenhagen, , Denmark.
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

  #4 (permalink)  
Old September 3rd, 2007, 11:10 AM
Authorized User
 
Join Date: Jul 2003
Location: Ogden, Utah, USA.
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.
  #5 (permalink)  
Old September 5th, 2007, 07:43 PM
rav rav is offline
Authorized User
 
Join Date: Feb 2007
Location: , , .
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

 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:24 PM.


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