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 25 of 52
Search took 0.01 seconds.
Search: Posts Made By: philthy
Forum: BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 September 8th, 2009, 03:14 AM
Replies: 2
Views: 1,388
Posted By philthy
Does anyone have an answer to this?

Does anyone have an answer to this?
Forum: BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 July 26th, 2009, 10:36 AM
Replies: 6
Views: 4,646
Posted By philthy
Yup, changing the ?id= to / in the link works... ...

Yup, changing the ?id= to / in the link works...

Now that I think of it, isn't this the way it is supposed to look in MVC, since the route in Global.asax looks like this:...
Forum: BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 July 26th, 2009, 08:07 AM
Replies: 6
Views: 4,646
Posted By philthy
This is the entire ManageUser View. As you can...

This is the entire ManageUser View. As you can see, the only difference between this and the original is that, because I use a different layout, I have a few more Content areas.



<%@ Page...
Forum: BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 July 26th, 2009, 07:15 AM
Replies: 6
Views: 4,646
Posted By philthy
System.NullReferenceException in the EditUser View...

I have a strange problem in the ManageUser/EditUser part of the site.
I'm building the site from scratch, using a different layout, but so far, the Controller and Model code is identical with the...
Forum: BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 July 25th, 2009, 06:44 AM
Replies: 2
Views: 1,388
Posted By philthy
Action Method to handle POST, ex. ManageUser

There is one version of the ManageUser action with the
"[Authorize(Roles = "Admin")]" attribute on it. In the ManageUser View, there is a <form method="post" action="ManageUser">

The way I...
Forum: BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 July 23rd, 2009, 05:05 AM
Replies: 1
Views: 1,455
Posted By philthy
Contact form?

On page 161 it says:

"In that chapter (chapter 4) you also developed a configuration class that would handle the <contact>
sub-element of <theBeerHouse>, with settings for the Contact form in the...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 July 18th, 2009, 08:39 AM
Replies: 2
Views: 1,433
Posted By philthy
Hey... It's the demo site for the book: ...

Hey...

It's the demo site for the book:

asp.net MVC 1.0 website programming - Problem - Design - Solution

- in which TheBeerHouse is built using asp.net MVC.

This is the forum for the...
Forum: BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 July 15th, 2009, 06:16 PM
Replies: 1
Views: 2,515
Posted By philthy
I tried opening the project, using the VS...

I tried opening the project, using the VS Solution file in the download, and now the project runs fine.

Before, I used the "Open website" option in VS, and browsed to the downloaded...
Forum: BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 July 15th, 2009, 09:08 AM
Replies: 1
Views: 2,515
Posted By philthy
"The type or namespace name 'TheBeerHouse' could not be found "

I'm trying to run the example project (I have the newest version), and I get this error:

CS0246: The type or namespace name 'TheBeerHouse' could not be found (are you missing a using directive or...
Forum: BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 July 13th, 2009, 07:50 AM
Replies: 2
Views: 1,325
Posted By philthy
SQL Server version

Just got the book in the mail [:D]

In the book, it is recommended that SQL Server 2008 is used. It is possible to use 2005 instead, right?
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 June 23rd, 2009, 08:02 AM
Replies: 5
Views: 9,682
Posted By philthy
Going back to the topic of this thread, I managed...

Going back to the topic of this thread, I managed to figure out why the ItemCommand event on the Repeater didn't fire. I had the Repeater wrapped in an UpdatePanel, and as soon as I removed the...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 June 20th, 2009, 05:45 AM
Replies: 5
Views: 9,682
Posted By philthy
One of the reasons I skipped around the DataPager...

One of the reasons I skipped around the DataPager option, is because I'm not binding the ListView to a datasource declaratively.

I'm building the query dynamically in the codebehind, based on the...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 June 19th, 2009, 06:25 PM
Replies: 3
Views: 870
Posted By philthy
I can't even tell you how much I have learned...

I can't even tell you how much I have learned from Marcos book, I'll even go as far as saying that this is THE book that seriously kickstarted web programming for me.

So, you're right, it's a...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 June 19th, 2009, 06:10 PM
Replies: 5
Views: 9,682
Posted By philthy
Repeater ItemCommand not fired...

In my search module, based on TheBeerHouse, I’m trying to fix together some paging using a repeater control. I have a DAL method that returns a list of objects. In my first attempt, I filled the...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 June 11th, 2009, 03:38 PM
Replies: 2
Views: 1,123
Posted By philthy
Thanks man, that works [:)]

Thanks man, that works [:)]
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 June 11th, 2009, 09:18 AM
Replies: 2
Views: 1,123
Posted By philthy
Returning a List<> using a DataReader, skips first item.

I'm building a search module, using the TheBeerHouse architecture. I've noticed something odd.


public static List<ProfilSearch> GetProfiles(string _search)
{
using...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 March 25th, 2009, 08:38 AM
Replies: 8
Views: 809
Posted By philthy
Well, in that case, I must be really good [:D] ...

Well, in that case, I must be really good [:D]

Thnx [:)]
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 March 25th, 2009, 07:40 AM
Replies: 8
Views: 809
Posted By philthy
Ok, I'm not sure if I dare to tell what was wrong...

Ok, I'm not sure if I dare to tell what was wrong here. Turns out the error was located a couple of feet from the keyboard...[:I]

Since I'm still testing my application, every time I added a new...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 March 24th, 2009, 01:44 PM
Replies: 8
Views: 809
Posted By philthy
I was thinking of cache issues too, but I just...

I was thinking of cache issues too, but I just assumed that it would work "out of the box" so to speak, if I kept the order by clause as Order By ReleaseDate DESC, just as in TheBeerHouse. Ill try...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 March 24th, 2009, 09:30 AM
Replies: 8
Views: 809
Posted By philthy
ArticleListing - Order By...

In TheBeerHouse, the articles in ArticleListing are listed with the newest entry first. I expect this is because of the Order By ReleaseDate DESC clause in the SP. However, If I change this to Order...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 March 10th, 2009, 04:43 PM
Replies: 11
Views: 1,573
Posted By philthy
You're right Lee, that looks a lot more clean,...

You're right Lee, that looks a lot more clean, and it works perfectly.

Another lesson learned [:)]

Like I said, you can always count on a good answer in this forum [:)]

Thanks

Soeren
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 March 10th, 2009, 02:52 PM
Replies: 11
Views: 1,573
Posted By philthy
I found the cause of this. As you can...

I found the cause of this.

As you can see in the code I pasted earlier, I use a hyperlink control like this:

<asp:HyperLink ID="catLink" runat="server"
...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 March 10th, 2009, 10:08 AM
Replies: 11
Views: 1,573
Posted By philthy
Hi Scott. I know, I'm a span freak [:D] I...

Hi Scott.

I know, I'm a span freak [:D]
I even used to wrap label controls into spans, until Lee pointed out, in another thread, that the label control renders a span for me, which I hadn't...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 March 9th, 2009, 08:11 PM
Replies: 11
Views: 1,573
Posted By philthy
ImageButton, that's what I meant [:D] I...

ImageButton, that's what I meant [:D]

I tried what you mentioned, but it doesn't help.
I just noticed that there are no problems with the comments on my ShowArticle page. The comments are...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 March 9th, 2009, 05:58 PM
Replies: 11
Views: 1,573
Posted By philthy
Strange IE6+7/ListView behaviour

Ok, this is not so much a BeerHouse question, so I hope it's ok I ask anyway. After all, this is where the elite hangs out [;)]

I use ListViews many places in my app, which is based on BeerHouse....
Showing results 1 to 25 of 52

 


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


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