Which one is better when we want to redirect to a new page in asp.net : using a link button and then Response.Redirect OR using an html <a> link? -


Which is better when we want to redirect to a new page in asp.net: using a link button and Then the reaction. Redirect or using an HTML link?

If you are connecting to another page with a static URL, then an HTML Anchor link Better performance and code will be needed in only one place: Page

If you need to work on the server before redirecting URLs (such as dynamically making query parameters), use a server control (buttons, links, link buttons).


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -