Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the 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
Showing results 1 to 25 of 104
Search took 0.01 seconds.
Search: Posts Made By: flyinhawaiian
Forum: BOOK: Professional ASP.NET MVC 2 May 6th, 2013, 12:18 PM
Replies: 1
Views: 2,183
Posted By flyinhawaiian
Did you create the view?

Did you create the view?
Forum: BOOK: Professional ASP.NET MVC 2 July 26th, 2011, 03:32 PM
Replies: 4
Views: 3,091
Posted By flyinhawaiian
Is this error in your VB version of code or the...

Is this error in your VB version of code or the C# version?
Forum: BOOK: Professional ASP.NET MVC 2 July 26th, 2011, 03:20 PM
Replies: 4
Views: 3,091
Posted By flyinhawaiian
Try this: ...

Try this:

http://philhey.co.uk/Article/Details/VB_Net_MVC_NerdDinner_Source_Code
Forum: BOOK: Professional ASP.NET MVC 2 July 19th, 2011, 11:07 AM
Replies: 24
Views: 13,532
Posted By flyinhawaiian
How does it work? DinnerForm.ascx contains the...

How does it work? DinnerForm.ascx contains the mapDiv div tag. Within it, it tries to load the partial page map.ascx.

map.ascx - Another div tag here with id "theMap". The embedded...
Forum: BOOK: Professional ASP.NET MVC 2 July 19th, 2011, 10:56 AM
Replies: 24
Views: 13,532
Posted By flyinhawaiian
Also in Dinner.ascx (or DinnerForm.ascx or...

Also in Dinner.ascx (or DinnerForm.ascx or whatever you name it) and see if the div tag has matching id

<div id="mapDiv">
<% Html.RenderPartial("Map", Model.Dinner); %>
...
Forum: BOOK: Professional ASP.NET MVC 2 July 19th, 2011, 10:43 AM
Replies: 24
Views: 13,532
Posted By flyinhawaiian
Check Map.ascx. See if the div tag has matching...

Check Map.ascx. See if the div tag has matching ID


<div id="theMap"></div>
Forum: BOOK: Professional ASP.NET MVC 2 July 14th, 2011, 01:09 PM
Replies: 1
Views: 6,939
Posted By flyinhawaiian
Missing a [Bind(Include"Name, LeagueId")] after...

Missing a [Bind(Include"Name, LeagueId")] after the [MetadataType]?

Nerd dinner example looks like this:

[MetadataType(typeof(Dinner_Validation))]...
Forum: BOOK: Professional ASP.NET MVC 2 July 14th, 2011, 12:56 PM
Replies: 1
Views: 1,810
Posted By flyinhawaiian
It certainly doesnt do anything. Looks like the...

It certainly doesnt do anything. Looks like the author forgot to remove it.
Forum: BOOK: Professional ASP.NET MVC 2 June 24th, 2011, 09:40 AM
Replies: 1
Views: 3,513
Posted By flyinhawaiian
Paigination or Pagination ?

Paigination or Pagination ?
Forum: BOOK: Professional ASP.NET MVC 2 June 13th, 2011, 09:26 AM
Replies: 1
Views: 1,796
Posted By flyinhawaiian
Hope this helps Page 88: Doesn't say where...

Hope this helps

Page 88:
Doesn't say where to create the DinnerFormViewModel. Do it in the Models folder.
Compile error. Fix by adding: using System.Web.Mvc


Page 89 - Wrong: ...
Forum: BOOK: Professional ASP.NET MVC 2 May 6th, 2011, 11:12 AM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
If you must use VS 2008, another alternative is...

If you must use VS 2008, another alternative is to use the older version of the tutorial. Obviously you won't be able to take advantage of any new stuff available in 4.0 framework.
...
Forum: BOOK: Professional ASP.NET MVC 2 May 6th, 2011, 11:06 AM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
Crud... It looks like VS 2008 doesnt support 4.0...

Crud... It looks like VS 2008 doesnt support 4.0 framework. You need to upgrade or use the free express version.

http://www.microsoft.com/express/Web/
Forum: BOOK: Professional ASP.NET MVC 2 May 6th, 2011, 09:09 AM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
Check the Target framework of the project. ...

Check the Target framework of the project.

Right click on the project
select properties
select Application tab
Look at Target framework. What version do you see?
Forum: BOOK: Professional ASP.NET MVC 2 May 5th, 2011, 11:35 PM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
So nothing meaning that there is no improvement?...

So nothing meaning that there is no improvement? And errors still there when compiling?
Forum: BOOK: Professional ASP.NET MVC 2 May 5th, 2011, 10:24 PM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
Sorry trying to type with phone. From command...

Sorry trying to type with phone. From command prompt type

Gacutil /cdl

Then try to build again
Forum: BOOK: Professional ASP.NET MVC 2 May 5th, 2011, 08:33 PM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
I wonder if older dll is stuck in cache. Google...

I wonder if older dll is stuck in cache. Google for "gacutil"
Forum: BOOK: Professional ASP.NET MVC 2 May 5th, 2011, 04:42 PM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
Under References folder. See if you have...

Under References folder. See if you have System.Data.Entity. (you should) It should be v4.0.30319

If you don't, add the reference.
C:\Program Files (x86)\Reference...
Forum: BOOK: Professional ASP.NET MVC 2 May 5th, 2011, 04:31 PM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
Hmmmm. I'm using VS 2010 Ultimate. Don't think...

Hmmmm. I'm using VS 2010 Ultimate. Don't think it should make a difference.

[revision] Actually it does make a difference. VS 2008 does not support 4.0 framework.
Forum: BOOK: Professional ASP.NET MVC 2 May 5th, 2011, 04:10 PM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
I don't have that line at all. Edm stuff is...

I don't have that line at all. Edm stuff is supposed to be in
using System.Data.Objects.DataClasses;

Perhaps your EntityFramework is out of date.

Download EntityFramework 4...
Forum: BOOK: Professional ASP.NET MVC 2 May 5th, 2011, 02:32 PM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
Delete this line: using...

Delete this line:

using System.Data.Metadata.Edm;
Forum: BOOK: Professional ASP.NET MVC 2 May 5th, 2011, 09:44 AM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
Check to see if you have .NET Framework 4 ...

Check to see if you have .NET Framework 4

http://www.microsoft.com/net/
Forum: BOOK: Professional ASP.NET MVC 2 May 5th, 2011, 09:43 AM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
Actually, that won't fix your problem. But...

Actually, that won't fix your problem. But you'll need to do that anyway.
Forum: BOOK: Professional ASP.NET MVC 2 May 5th, 2011, 09:29 AM
Replies: 22
Views: 5,108
Posted By flyinhawaiian
Error in the book. Do this: ...

Error in the book. Do this:

[EdmFunction("NerdDinner.Models.Store", "DistanceBetween")]
Forum: BOOK: Professional ASP.NET MVC 2 April 21st, 2011, 01:00 PM
Replies: 24
Views: 8,110
Posted By flyinhawaiian
Well, in this case, HttpMethod should not be set...

Well, in this case, HttpMethod should not be set to "Get".

I was able to run your code and post to the Register method. I set a breakpoint inside Register() and code execution did stop there.
Forum: BOOK: Professional ASP.NET MVC 2 April 20th, 2011, 01:42 PM
Replies: 24
Views: 8,110
Posted By flyinhawaiian
I think this is your problem.... in your...

I think this is your problem.... in your Dinners/Details.aspx you are setting HttpMethod to "Get" when the action is expecting a post.



<%: Ajax.ActionLink("RSVP for this event",
...
Showing results 1 to 25 of 104

 


All times are GMT -4. The time now is 11:46 PM.


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