Hide Or Modify The Url Extension?
Feb 24, 2011I want to hide or modify the url extension by default it is set to aspx. Can it be modified in asp.net
View 2 RepliesI want to hide or modify the url extension by default it is set to aspx. Can it be modified in asp.net
View 2 RepliesHow can i hide page extension (for ex .aspx , .php) from url of the page
View 3 RepliesCan we hide then extension url like here.. [URL]
not New.aspx ,New.php orNew.htmlÂ
Is it possible ? If it is possible then what is the purpose of it ?
How to hide extension name in website . like default.aspx to default .
View 1 RepliesIn MVC it's very easy to control routing.
In my classic ASP.NET application I want to "hide" .aspx extension
I can do it with new ASP.NET 4 feature: MapPageRoute
view plaincopy to clipboardprint?
how to hide .aspx extension and only display folder name as done in this site
View 1 RepliesI use querystring in my page when i click on button it go to Store.aspx. This is my query string code
protected void ImageButton3_Click(object sender, ImageClickEventArgs e)
{
Response.Redirect("Store.aspx?behcode=" + Server.UrlEncode(txtNumeric.Text));
}
In addressbar show this
behtob.com/Store.aspx?Behcode=1111
I want in address bar show something like this
behtob.com/Store?Behcode=1111
page name without .aspx
Is it possible?
I have a label and button on label in my asp.net webform ....i want when i click on button then label1 will be visible with text "Success" and then it will hide automatically after some time say 10 seconds ,,,I M using asp.net (VB)How to auto hide label after 10 sec and after label hide redirect to the ~/Default.aspx ?
View 1 RepliesWho does know what is the best file extension for RSS feed on the site (for SEO):
(XML) mysite.com/rss.xml
(RSS) mysite.com/rss.rss
(HTML) mysite.com/rss.html
(ASPX, PHP, etc) mysite.com/rss.aspx
(with url params) mysite.com/rss.aspx?param1=val1¶m2=val2
some other
I'm going to use (3) html on my site, is it ok?
I've looked at a few files this AM, all have .xap, and all are throwing errors as I try to debug each of these projects. Here is an excellent example:
http://www.codeproject.com/KB/silverlight/TallColumns.aspx
I'd like to learn how this project works, but each time I try to debug, it throws an error saying 'Error creating control xaml1, unknown server tag asp.SilverLight'. what does this mean? What do I need to do to make this work?
I'm using VWD 2008 Express.
What are pros to use extension-less url? in any terms. like [URL] to [URL] and is it possible to have extension-less url for every page? Update: Is extension less url better for site security?
View 6 RepliesI noticed a lot of ASP .Net sites does not have the URL ending with ".aspx".
An example would be: [URL]
Did they create a Questions folder and put a Default.aspx inside?
In that case, wouldn't there be A LOT of default.aspx in many folders which is hard to maintain (even though it is user-friendly)?
i saw the extension method code but i could not understand what it is and what is the utilities of extension method.
View 3 Replieshow can i make urls without extention it means without .aspx or .html??
View 3 RepliesI want user can save a file after click on a link.
I write the following code:
[Code]....
[Code]....
but save dialog box shows file without extension of file..
and file save on system without any extension...
I am using Tuple class in WCF Service. When i add reference to my web project I get Tuple class. Now i want to add an extension method to Tuple<> class in my service which will be accessible in my Web project.
View 1 RepliesI want to ask, does adding extension methods to datatypes works in the same way as Microsoft's methods or do they have any limitaion.
This is relevant to experienced programmers who had find some limitations while using them.
how to use class extensions with Views?
I'm using VB.Net, Visual Studio 2010 Ultimate and developing an ASP.MVC 2 application.
I have an module that defines some extensions to the String class. In a WinForm application, I would simply use a Imports statement to include my String extension module into my class. But, in Views, the compiler complains when I try doing that.
we are developing asp.net web application with form authentication in IIS 6 - Windows server 2003.
the application is working fine.
but .html extension does not working.
How can i add or enable .html extension in my website(IIS 6.0)?
I'm searching for some extension methods that helps programming in ASP.NET. Some functions to work on controls, validators, AJAX or programing in C# in general.It could be methods library or your own methods.Do you know any source of those methods (other than CodePlex - that is good source of generic extensions) especially for ASP.NET?
View 1 RepliesI am doing some research on themes in asp.net. (Just Learning) is this a practical use of my time? Should I just use css files and if someone wants to modify anything let them use the css to do it? Are themes a waste of my time? I really want to create my app but give the end user the ability to customize the look and feel without jumping through hoops. Can someone push me in the right direction with pros, cons etc
View 3 RepliesHow can I change my map route so I can have another dir, and not just the controllers and actions.What I want is to have another directory before the controller so that way I can separate controller per "module"
routes.MapRoute(
"Default", // Route name
"{module}/{controller}/{action}/{id}", // URL with params
new { module = "module", controller = "controller", action = "Index", id = ""}
This is what I want, but the code doesn't work. What more do I need to change to change the MapRoute?
I've different buttons like this
<asp:Button ID="button1" runat="server" Text="single" title="single" EnableViewState="false" />
When this button is clicked I want that the text in a list like this changes
<asp:BulletedList ID="list1" runat="server" EnableViewState="false">
<asp:ListItem>Item1</asp:ListItem>
<asp:ListItem>Item2</asp:ListItem>
<asp:ListItem>Item3</asp:ListItem>
<asp:ListItem>Item4</asp:ListItem>
</asp:BulletedList>
How in C# can I select the first, the second or the third element of the list?
protected button_Click(object sender, EventArgs e)
{
list1. ...;
}
any link or thread or ASP.NET sample code to make an online book reader/Preview control (same as GoogleBook)
Is there is any 3rd party control available that can display the book with any file extension?
Possible Duplicate: How do I Validate the File Type of a File Upload?
i would like to add file extension for filtering to file upload control in my asp.net page.and do validation on client side.how can i set file extension dynamically..ex:images only(.jpg;.png;*.gif;).