Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | 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 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: ebmudder
Forum: BOOK: Professional ASP.NET MVC 2 January 26th, 2011, 11:23 AM
Replies: 12
Views: 3,862
Posted By ebmudder
Doh! I had just gone back and copied the...

Doh! I had just gone back and copied the "loadMap" function from the snippet back into map.js, and it started working...and now I know why...sorry for the wasted b/w [:0]
Forum: BOOK: Professional ASP.NET MVC 2 January 26th, 2011, 10:49 AM
Replies: 12
Views: 3,862
Posted By ebmudder
Thanks Flyin...I tried the convert.tostring but...

Thanks Flyin...I tried the convert.tostring but it made no difference.


<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<NerdDinner.Models.Dinner>" %>
<script...
Forum: BOOK: Professional ASP.NET MVC 2 January 26th, 2011, 12:43 AM
Replies: 12
Views: 3,862
Posted By ebmudder
hmmm...I'm not sure about that. The script on the...

hmmm...I'm not sure about that. The script on the map.ascx sets the lat/long vars from the model, then calls LoadMap which is in Map.js.

LoadMap sets the center var, and this is working on...
Forum: BOOK: Professional ASP.NET MVC 2 January 25th, 2011, 11:19 PM
Replies: 12
Views: 3,862
Posted By ebmudder
Thanks Flyin: Here's what I have in map.js (it...

Thanks Flyin: Here's what I have in map.js (it looks like it's there?).

function LoadMap(latitude, longitude, onMapLoaded) {
map = new VEMap('theMap');
options = new VEMapOptions();
...
Forum: BOOK: Professional ASP.NET MVC 2 January 25th, 2011, 09:18 PM
Replies: 12
Views: 3,862
Posted By ebmudder
odd problem with map.js on details.aspx

Hi All: Just working through pages 127-135 with the Ajax Virtual Earth maps.

Using the original source code in the book, I was able to get it to work on the create/edit pages, but in the...
Forum: BOOK: Professional ASP.NET MVC 2 January 25th, 2011, 11:34 AM
Replies: 15
Views: 8,094
Posted By ebmudder
Thanks, Olin! I'm just feeling my way forward at...

Thanks, Olin! I'm just feeling my way forward at this point, so your comments are extremely helpful...I was "nervous" about having two public properties that related back to the same data, but now...
Forum: BOOK: Professional ASP.NET MVC 2 January 25th, 2011, 11:08 AM
Replies: 15
Views: 8,094
Posted By ebmudder
Thanks Olin: That almost gets me there. I didn't...

Thanks Olin: That almost gets me there. I didn't mention that I diverged somewhat from the original code, by exposing all the "dinner" elements as separate properties, with the "Countries" property...
Forum: BOOK: Professional ASP.NET MVC 2 January 22nd, 2011, 10:57 PM
Replies: 15
Views: 8,094
Posted By ebmudder
and for my final, final post...I found a similar...

and for my final, final post...I found a similar thread on forums.asp.net where the user manually mapped the SelectList in the view to the name of the field, which does seem to work:
...
Forum: BOOK: Professional ASP.NET MVC 2 January 22nd, 2011, 09:27 PM
Replies: 15
Views: 8,094
Posted By ebmudder
OK, final post...I realized that there's no way...

OK, final post...I realized that there's no way to "automagically" map a selectList named "Countries" back to the "Country" field in the model. I re-named the select List to "Country" like so:
...
Forum: BOOK: Professional ASP.NET MVC 2 January 22nd, 2011, 08:39 PM
Replies: 15
Views: 8,094
Posted By ebmudder
Well, it _almost_ works [B)] The only form...

Well, it _almost_ works [B)]
The only form value that isn't being picked up is the "Countries" select list. I'm struggling with trying to figure out how to get the "Countries" selectlist value be...
Forum: BOOK: Professional ASP.NET MVC 2 January 22nd, 2011, 03:35 PM
Replies: 15
Views: 8,094
Posted By ebmudder
Hi JMS: Thanks for posting your solution...I...

Hi JMS: Thanks for posting your solution...I tried modifying my pages as per your code, but my update is still failing. What did you do finally to get it to work?

Or can anyone help me figure out...
Forum: BOOK: Professional ASP.NET MVC 2 January 4th, 2011, 05:30 PM
Replies: 9
Views: 2,335
Posted By ebmudder
Sorry to hear that...I like the format of the...

Sorry to hear that...I like the format of the book and want to work through it, so I hope I don't get hung up on too many typos :(

I already gave up on "Test-Drive ASP.NET MVC" because it was more...
Forum: BOOK: Professional ASP.NET MVC 2 January 4th, 2011, 11:46 AM
Replies: 9
Views: 2,335
Posted By ebmudder
Thanks Rushino

Thanks for posting the solution, Rushino...I'm just a newbie working through the book, and the intellisense error in VS2010 was pushing me down the wrong path.

I thought this error had something...
Showing results 1 to 13 of 13

 


All times are GMT -4. The time now is 02:16 PM.


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