



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






More Options ...
Categories
Tag Cloud
Blog RSS
Comments RSS
Void « Default
Life
Earth
Wind
Water
Fire
Light 
Thank you for sharing with us the different ways to give the Name to the Page.
winsome answers i like it
I somehow dont agree with a few things, but its great anyways.
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.
Thankz for the info!
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!
likeable answers i like it
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.