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 17 of 17
Search took 0.01 seconds.
Search: Posts Made By: flyinhawaiian
Forum: BOOK: Professional ASP.NET MVC 2 March 3rd, 2011, 02:55 PM
Replies: 2
Views: 4,922
Posted By flyinhawaiian
Need full namespace for Dinner. <%@ Page...

Need full namespace for Dinner.

<%@ Page Inherits="System.Web.Mvc.ViewPage<NerdDinner.Helpers.PaginatedList<NerdDinner.Models.Dinner>>" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" %>
Forum: BOOK: Professional ASP.NET MVC 2 March 1st, 2011, 08:15 PM
Replies: 12
Views: 3,892
Posted By flyinhawaiian
Regarding "m.Dinner.Title", note on page 91 the...

Regarding "m.Dinner.Title", note on page 91 the book mentions a "Custom-Shaped ViewModel"

With this in mind, you could do this in your view model.


public string Title
{
get { return...
Forum: BOOK: Professional ASP.NET MVC 2 March 1st, 2011, 07:49 PM
Replies: 12
Views: 3,892
Posted By flyinhawaiian
I think you missed a step on page 89. Somewhere...

I think you missed a step on page 89. Somewhere (in the book?) this same thing needs to be done to other views.
Forum: BOOK: Professional ASP.NET MVC 2 February 15th, 2011, 01:17 AM
Replies: 8
Views: 1,806
Posted By flyinhawaiian
The data does not need to match the book at all,...

The data does not need to match the book at all, especially latitude & longitude. The only thing that you should pay attention to is the EventDate. You must enter data that is a future date...
Forum: BOOK: Professional ASP.NET MVC 2 January 26th, 2011, 11:11 AM
Replies: 12
Views: 3,744
Posted By flyinhawaiian
Bingo! this is it for sure. Case sensitive. ...

Bingo! this is it for sure. Case sensitive. JavaScript is "loose" and will just create OnLoadMap along side with the real, existing onLoadMap.

if (onMapLoaded != null)
...
Forum: BOOK: Professional ASP.NET MVC 2 January 25th, 2011, 02:35 PM
Replies: 8
Views: 1,806
Posted By flyinhawaiian
Mine looks just like yours. Can you click in...

Mine looks just like yours. Can you click in the cell just below "Title" column? Should be able to fill in each field. When you tab out of the last field, the ID is automatically filled.
Forum: BOOK: Professional ASP.NET MVC 2 January 24th, 2011, 02:22 PM
Replies: 2
Views: 1,186
Posted By flyinhawaiian
Might try looking at NerdDinner V1. ...

Might try looking at NerdDinner V1.
http://aspnetmvcbook.s3.amazonaws.com/aspnetmvc-nerdinner_v1.pdf
Forum: BOOK: Professional ASP.NET MVC 2 January 3rd, 2011, 10:41 AM
Replies: 5
Views: 2,141
Posted By flyinhawaiian
Here's what my DinnerForm.ascx looks like. Hope...

Here's what my DinnerForm.ascx looks like. Hope this will help.


<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<NerdDinner.Models.DinnerFormViewModel>" %>

<script...
Forum: BOOK: Professional ASP.NET MVC 2 December 17th, 2010, 06:08 PM
Replies: 24
Views: 8,103
Posted By flyinhawaiian
Two heads are better than one. I knew we could...

Two heads are better than one. I knew we could both figure this out. I find that I learn more by helping others. Merry Christmas. :)
Forum: BOOK: Professional ASP.NET MVC 2 December 17th, 2010, 05:45 PM
Replies: 24
Views: 8,103
Posted By flyinhawaiian
Also, scripts are cached. May need to clear...

Also, scripts are cached. May need to clear cache in IE (Ctrl+F5). I use fiddler to clear my cache. http://www.fiddler2.com/fiddler2/
Forum: BOOK: Professional ASP.NET MVC 2 December 17th, 2010, 05:39 PM
Replies: 24
Views: 8,103
Posted By flyinhawaiian
Ok one more thing to check. In my notes I put...

Ok one more thing to check. In my notes I put reference to ajax script in Site.Master (this is not in the book).

Try putting this between the <body> </bod> tags.
[code]
<script...
Forum: BOOK: Professional ASP.NET MVC 2 December 14th, 2010, 02:22 PM
Replies: 1
Views: 1,719
Posted By flyinhawaiian
I havent tried that yet. But I think you're on...

I havent tried that yet. But I think you're on the right track. This is what I would do... First, figure out the web.config changes (google sql connection string). Don't mess with log-in stuff...
Forum: BOOK: Professional ASP.NET MVC 2 December 2nd, 2010, 11:30 AM
Replies: 3
Views: 885
Posted By flyinhawaiian
Also, if you haven't already noticed. There a...

Also, if you haven't already noticed. There a lot of errors in this chapter. Many have contributed to solutions in this forum. So be sure to search the forum when you get stuck. There's one...
Forum: BOOK: Professional ASP.NET MVC 2 December 2nd, 2010, 11:23 AM
Replies: 3
Views: 885
Posted By flyinhawaiian
Can you post your Index.aspx code here? Also...

Can you post your Index.aspx code here?

Also would like to see:

Index() method in DinnersController.cs

FindUpcomingDinners() method in DinnerRepository.cs btw, this code only looks for...
Forum: BOOK: Professional ASP.NET MVC 2 October 29th, 2010, 07:05 PM
Replies: 8
Views: 5,928
Posted By flyinhawaiian
Yea, I answered my own problem. Change this:...

Yea, I answered my own problem.

Change this:
[EdmFunction("NerdDinnerModel.Store", "DistanceBetween")]

To this:


[EdmFunction("NerdDinner.Models.Store", "DistanceBetween")]
Forum: BOOK: Professional ASP.NET MVC 2 October 11th, 2010, 05:10 PM
Replies: 24
Views: 13,527
Posted By flyinhawaiian
Add this to your Site.css When I took this out....

Add this to your Site.css When I took this out. I got the same warped out map as you did. So this has got to be it.

Site.css

#theMap
{
position: relative;
width: 580px;
...
Forum: BOOK: Professional ASP.NET MVC 2 October 11th, 2010, 11:59 AM
Replies: 24
Views: 13,527
Posted By flyinhawaiian
Mine isn't exactly showing up in the right place...

Mine isn't exactly showing up in the right place either. But a little closer. First, does your div tag have an id?

<div id="mapDiv">
<% Html.RenderPartial("map"); %>
...
Showing results 1 to 17 of 17

 


All times are GMT -4. The time now is 08:07 AM.


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