Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > BOOK: Professional ASP.NET MVC 2
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional ASP.NET MVC 2
This is the forum to discuss the Wrox book Professional ASP.NET MVC 2 by Jon Galloway, Scott Hanselman, Phil Haack, Scott Guthrie, Rob Conery; ISBN: Professional ASP.NET MVC 2
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional ASP.NET MVC 2 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 November 24th, 2010, 10:00 AM
Registered User
 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default AJAX code needed for Chapter 7

Sorry but the "code snippets" are just too vague. I now have a Northwind.edmx file and would love to get the example product query working but it isn't happening. Why on earth can't you provide at least whole, downloadable files? Oh, I can use a partial view or a whole view but which one did you use?

My ProductSearch Action result gets as far as finding 7 products beginning with "c". This is certainly good. But communication between the index page and the ProductSearch.ascx just isn't there and I get no results at all posted.

I'm using Chrome and Javascript is allowed (simpler examples already worked, anyway).
  #2 (permalink)  
Old November 24th, 2010, 10:05 AM
Registered User
 
Join Date: Nov 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Fixed it

Sorry guys. Not that I wouldn't like some sample code, mind. I changed the viewmodel of the partial from System.Web.Mvc.ViewUserControl<IList<Product>> to System.Web.Mvc.ViewUserControl<IList<AjaxMVC.Model s.Product>> just tell it what on earth a product is!

Shame you don't get compiler errors for that.
 


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
Chapter 14 Code page 620, help needed! Safi BOOK: Beginning ASP 3.0 3 December 8th, 2010 12:43 PM
Help on chapter 6 needed leemark2k3 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 6 September 1st, 2010 06:04 AM
AJAX help needed enggenius Other Programming Languages 0 February 1st, 2007 12:22 PM
Chapter 7 p 214 code didn't work, changes needed.. jmurdock BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 June 20th, 2004 09:06 PM



All times are GMT -4. The time now is 12:53 AM.


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