Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0
This is the forum to discuss the Wrox book ASP.NET 2.0 Website Programming: Problem - Design - Solution by Marco Bellinaso; ISBN: 9780764584640
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 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
  #51 (permalink)  
Old February 2nd, 2008, 08:08 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Atlanta, Georgia, USA.
Posts: 917
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The readme for TheBeerHouse explains how to attach a DB to a local SQL Server. This is probably also discussed in the deployment chapter. This is sometimes needed because the SQL Server utilities (such as Sql Server Management Studio) can't open tables from a DB that merely exists in the App_Data folder. Only Visual Studio, and ASP.NET, know how to auto-attach to a DBF file.

Eric

  #52 (permalink)  
Old February 6th, 2008, 05:49 PM
Authorized User
 
Join Date: Oct 2007
Location: Arlington, VA, USA.
Posts: 14
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you Jimi,

I got them work. Thank you for your help.




jophie
  #53 (permalink)  
Old April 18th, 2008, 06:30 AM
Authorized User
 
Join Date: Mar 2008
Location: , , .
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I can get the search control running well and am very happy with it but I now have a problem that I hope is easy to fix. When I go to log in on the login view and press return after fill out the textboxs the required field valiator message appears for the search control!
Not sure why this is happening, when the user clicks the loging button it is fine. This problem happens awell with any other detailview buttons aswell. When the user presses the the button it expects the search control to have a value.
Any ideas where I have gone wrong

Jez

  #54 (permalink)  
Old April 18th, 2008, 10:51 AM
Friend of Wrox
 
Join Date: Mar 2007
Location: Creetown, UK
Posts: 488
Thanks: 2
Thanked 11 Times in 10 Posts
Default

Quote:
quote:Originally posted by JezHarvey
 I can get the search control running well and am very happy with it but I now have a problem that I hope is easy to fix. When I go to log in on the login view and press return after fill out the textboxs the required field valiator message appears for the search control!
Not sure why this is happening, when the user clicks the loging button it is fine. This problem happens awell with any other detailview buttons aswell. When the user presses the the button it expects the search control to have a value.
Any ideas where I have gone wrong

Jez

Jez - could well be that i've updated my own version of this forgetting to do the same with the online one. Basically, you need to amend the search.ascx page and add the following onto the button code:

CausesValidation="false"

the entire line would then look like:

<asp:Button ID="imgGo" runat="server" CausesValidation="false" Text="Search" OnClick="imgGO_Click" />

hope this works for you

jimi

http://www.originaltalent.com
  #55 (permalink)  
Old August 9th, 2009, 04:42 PM
Authorized User
 
Join Date: Mar 2009
Posts: 75
Thanks: 16
Thanked 1 Time in 1 Post
Default

Couple of questions:

Why do we need to create the following indexes?
Why can we just use PK_tbh_Articles for these columns?


IX_tbh_Articles_Approved
IX_tbh_Articles_ReleaseDate
IX_tbh_Articles_OnlyForMembers

And how come you create more then one index on same table,
"Only one full-text index is allowed per table" (MSDN - CREATE FULLTEXT INDEX )


Also, when I create PK_tbh_Articles index i get this warning:
Warning: Table or indexed view 'Database.dbo.tbh_Articles' has full-text indexed columns that are of type image, text, or ntext. Full-text change tracking cannot track WRITETEXT or UPDATETEXT operations performed on these columns.

Last edited by yevi; August 9th, 2009 at 04:59 PM..
 


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
Announce: Site Generator V2 now available jimibt BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 56 October 2nd, 2009 01:06 PM
[Announce] Intellium For Web is released Intellium ASP.NET 1.0 and 1.1 Basics 0 April 3rd, 2008 03:23 AM
TBH Search Engine Optimization retroviz BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 November 5th, 2007 04:55 PM
Anyone created a search module? doanhvu BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 6 August 12th, 2007 12:19 AM
Search module vantoko BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 6 August 7th, 2007 07:48 AM



All times are GMT -4. The time now is 05:13 PM.


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