Skip to content

Instantly share code, notes, and snippets.

@masaru-b-cl
Created December 21, 2013 06:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masaru-b-cl/8066278 to your computer and use it in GitHub Desktop.
Save masaru-b-cl/8066278 to your computer and use it in GitHub Desktop.
One ASP.NET Calendar 2013 - Default.aspx.cs
using System;
using Microsoft.AspNet.FriendlyUrls;
namespace FriendlyURLsSample
{
public partial class Default : System.Web.UI.Page
{
protected void Greet_Click(object sender, EventArgs e)
{
Response.Redirect(FriendlyUrl.Href("~/Greeting", Name.Text));
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment