Club Web Site Starter Kit

Looks like my Club Web Site Starter Kit articles made it out and are now available on MSDN:

Introduction to the Club Web Site Starter Kit
Extending the Club Web Site Starter Kit

Enjoy!

Print | posted on Friday, July 01, 2005 10:27 AM

Feedback

# re: Club Web Site Starter Kit

left by Paul at 7/28/2005 4:08 AM Gravatar
Is there any documentation on how to setup the Club Web Site using SQL Server 2005 beta 2. I've downloaded the ClibAdd.exe file which has the SQL table builds, but not sure as to how to integrate it with the Club site. An instruction or "How To:" would help a lot of folks out there.

# Club Web Site Starter Kit Documentation Holes

left by Reese at 8/4/2005 3:59 PM Gravatar
Thank you for the almost outstanding papers on the Club Web Site Starter Kit, especially the "Extending" article. VERY fitting for my needs, and sparked a flurry of new ideas. Big problem with it though. It is missing a LOT of content (e.g., Button2_click event code, steps to add most controls, etc.). A code listing for the pages would be really nice. Thanks, though, for an otherwise great and helpful product.

# re: Club Web Site Starter Kit

left by scott40 at 8/5/2005 5:57 PM Gravatar
Thank you for the article about extending the club site, this helps understand my key points in using asp.net, especiall inserting data when not using a FormView or DetailsView Control with a SQLDataSource. I have one request. That you include the button two click event for the insert method. That you include file permissions settings for the system, and you provide sample code somewhere for the article.
Thanks

# re: Club Web Site Starter Kit

left by Scottt40 at 8/13/2005 9:23 AM Gravatar
Found an error in the code example for Club Web Site Starter Kit...

In the Hyperlink to get the Document Name, the URL field does not need an @ symbol.

IT WORKS, thanks for posting the code for page two!!!!

# re: Extending Club Web Site Starter Kit

left by Scottt40 at 8/13/2005 9:24 AM Gravatar
The above was for the Extending Club Web Starter Kit Article examples.... Sorry

# re: Club Web Site Starter Kit (Simple Button2_Click Code)

left by Jeff Watson at 9/8/2005 2:12 PM Gravatar
Here is a quick and dirty implementation to get the Button2_Click() method to run. In production you would want utilize try/catch, set the file save path in web.conf or something, and parse the time cleanly. But for what it's worth, here it is.

<quote>
protected void Button2_Click(object sender, EventArgs e)
{
// Get the shortname
String FileName = FileUpload1.FileName;

// Actually save the file to the file system
FileUpload1.SaveAs("C:\\Inetpub\\KeithAndRoss\\Files\\" + FileName);

// Add parameters for the DocumentName and DateInput Table
SqlDataSource2.InsertParameters.Add("DocumentName", FileName);
SqlDataSource2.InsertParameters.Add("DateInput", DateTime.Now.ToShortDateString());

// Add the metadata to the database
SqlDataSource2.Insert();
}

# re: Club Web Site Starter Kit

left by Carl at 12/28/2005 7:34 AM Gravatar
I see a note above that indicates the code for part 2 of the Admin.aspx page was posted. Can someone advise on how I can view it? Thanks!

# re: Club Web Site Starter Kit

left by Crazed*Rejects at 3/1/2006 5:35 PM Gravatar
Its an honor to be a Crazed Reject, really.

# re: Club Web Site Starter Kit

left by Akin at 6/1/2006 3:22 PM Gravatar
I can't get the bloody thing to work! It works fine if you don't actually intend to use it as a web page, ie just locally on your machine. As soon as you upload it to a ASP.Net server however it goes belly up with one error message after another and leads me on a merry dance. I presume you guy's have actually uploaded it and are using it as a web page? If so I'd love to hear from you. My service provider is supposed to be ASP.NET2 compatible. Would be grateful for any ideas. Thanks Akin

# re: Club Web Site Starter Kit

left by Richard at 8/3/2006 11:50 PM Gravatar
I had big issues with this starter kit as well (ran on the development server but not on the production server). However, all my many error messages were linked to improper NTFS permissions. I neglected to permit "modify" for the ASP .Net and Network System accounts. Once I fixed those, it worked! The rest of my issues have been with the code (action passed was "Remove" but case statement was expecting "delete" - Event edit) for instance.

# re: Club Web Site Starter Kit

left by Richard at 8/4/2006 12:03 AM Gravatar
Found an interesting item tonight (I know, I am WAY late in discovering VS2K5 and starter kits). Anyway, I used this kit as a basis for my wife's class website (5th graders) and noticed that News items (Announcements) showed up even when the kit provided a control to set when the item would be available! In other words, if you added an announcement for a future event, it showed up even if the display not earlier than date had not yet arrived. The answer was provided in the Events SQL statement's WHERE condition where it compares the system date GetDate() with the Event's starttime. I simply modified the Announcement's SQL statement to include the same operation but compare <= rather than > GetDate().

# re: Club Web Site Starter Kit

left by Hunt at 1/7/2007 5:00 AM Gravatar
Hi,
Interesting sample app.

1. Is the code available for the asp.net configuration system?
2. Where is the code that checks the user and password?
I have looked in the code behind; nothing there.
The aspx code has a validator that seems not to fire any code for valid user or password.
I've done a search on password in the project; no luck.

New to ver2 of asp.net



# re: Club Web Site Starter Kit

left by Mark Massai at 8/28/2007 5:52 PM Gravatar
Is there any docs on adding more controls to the Memeber_details page like Age, teamname etc...? I also want to add an email link on the contact page, to launch outlook.
Thanks

# re: Club Web Site Starter Kit

left by Ron at 1/31/2008 2:53 PM Gravatar
Trying to build this site for my non-profit youth lacrosse league. We have no funds so I can't pay anyone to fix this. Does anyone have ideas? I tried the whole 'be sure to namespace='ClubSite' thing, but its not working.

Line 83: <Club:RolloverButton runat="server" ValidationGroup="Login1" Text="Login" ID="LoginButton"
Line 84: CommandName="Login" />

# re: Club Web Site Starter Kit

left by Mak at 2/6/2008 6:13 PM Gravatar
How can use the visual studio ASP.net configuration tool features that are used to add "users" to a "role"? Can I use this tool outside of visual studio environment when I deploy the app? Is there an easier way to add users to a role using a web form?

# re: Club Web Site Starter Kit

left by David Drosselmeyer at 6/2/2008 9:15 AM Gravatar
I have seen references to the code for Extending the Club Website, however I have not seen where to find it. The article is missing several key components.
Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: