Geeks With Blogs

News

  
Bill Evjen's Blog Code, Life and Community

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!

Posted on Friday, July 1, 2005 10:27 AM ASP.NET , Microsoft , Writing , MSDN | Back to top


Comments on this post: Club Web Site Starter Kit

# re: Club Web Site Starter Kit
Requesting 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.
Left by Paul on Jul 28, 2005 4:08 AM

# Club Web Site Starter Kit Documentation Holes
Requesting 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.
Left by Reese on Aug 04, 2005 3:59 PM

# re: Club Web Site Starter Kit
Requesting 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
Left by scott40 on Aug 05, 2005 5:57 PM

# re: Club Web Site Starter Kit
Requesting 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!!!!
Left by Scottt40 on Aug 13, 2005 9:23 AM

# re: Extending Club Web Site Starter Kit
Requesting Gravatar...
The above was for the Extending Club Web Starter Kit Article examples.... Sorry
Left by Scottt40 on Aug 13, 2005 9:24 AM

# re: Club Web Site Starter Kit (Simple Button2_Click Code)
Requesting 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();
}
Left by Jeff Watson on Sep 08, 2005 2:12 PM

# re: Club Web Site Starter Kit
Requesting 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!
Left by Carl on Dec 28, 2005 7:34 AM

# re: Club Web Site Starter Kit
Requesting Gravatar...
Its an honor to be a Crazed Reject, really.
Left by Crazed*Rejects on Mar 01, 2006 5:35 PM

# re: Club Web Site Starter Kit
Requesting 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
Left by Akin on Jun 01, 2006 3:22 PM

# re: Club Web Site Starter Kit
Requesting 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.
Left by Richard on Aug 03, 2006 11:50 PM

# re: Club Web Site Starter Kit
Requesting 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().
Left by Richard on Aug 04, 2006 12:03 AM

# re: Club Web Site Starter Kit
Requesting 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



Left by Hunt on Jan 07, 2007 5:00 AM

# re: Club Web Site Starter Kit
Requesting 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
Left by Mark Massai on Aug 28, 2007 5:52 PM

# re: Club Web Site Starter Kit
Requesting 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" />
Left by Ron on Jan 31, 2008 2:53 PM

# re: Club Web Site Starter Kit
Requesting 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?
Left by Mak on Feb 06, 2008 6:13 PM

# re: Club Web Site Starter Kit
Requesting 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.
Left by David Drosselmeyer on Jun 02, 2008 9:15 AM

Your comment:
 (will show your gravatar)


Copyright © Bill Evjen | Powered by: GeeksWithBlogs.net