Hi All,
To give the Name to the Page can be handeled by many ways like
Using GUID (Issue- Cant identify exactly while browsing through pages)
Using Session (Issue-Same as above)
Using Page Title provided in Text Field (We will see this)
We are going to implement the scenario 3. We will first see what are our constraints for page url name.
It should be only Alphanumeric enabled like – About-Us.aspx
No other character should include in the page name like – %,@,$ etc
Its just about Regular Expression to identify the alphanumeric characters. The reqular expression is in System.Text.RegularExpressions namespace.
Regex.Replace(strInput, “[^\\w]“, “”);
If you give the page Title to – About % US #$ output will be AboutUs.aspx
Happy Coding
Thank you for sharing with us the different ways to give the Name to the Page.
Comment by ka-blogs — April 30, 2009 @ 12:35 am
winsome answers i like it
Comment by Autolloth — December 2, 2009 @ 12:15 pm
I somehow dont agree with a few things, but its great anyways.
Comment by System Forex — December 20, 2009 @ 5:10 pm
Good Day!!! http://www.pritambaldota.com is one of the best informational websites of its kind. I take advantage of reading it every day. Keep it that way.
Comment by bad credit loans — December 30, 2009 @ 1:24 pm
Thankz for the info!
Comment by optockoum — January 2, 2010 @ 5:29 pm
Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!
Comment by Reseller Hosting — January 10, 2010 @ 2:50 pm
likeable answers i like it
Comment by eximePram — January 12, 2010 @ 12:21 am
I am to a great extent impressed with the article I have just read. I wish the author of http://www.pritambaldota.com can continue to provide so much useful information and unforgettable experience to http://www.pritambaldota.com readers. There is not much to tell except the following universal truth: triangular sandwiches always taste better I will be back.
Comment by personal loans for bad credit — February 12, 2010 @ 5:30 am
Great article Thank
you so much!
Comment by money easy — August 13, 2010 @ 12:36 am