We pay for user submitted tutorials and articles that we publish. Anyone can send in a contribution
Learn MoreWell we’ve arrived at the last part of our series on ASP.NET MVC. In this post we’ll be looking at Views, ViewData, and HTML Helpers. We’ll be discussing how to call Views from Controllers and how to use HTML Helpers to create your markup.
Suppose we receive the following request; http://yourdomain.com/Task/Show/23. The request would map to the following controller.
1: public class TaskController : Controller
2: {
3: public ActionResult Show()
4: {
5: return View();
6: }
7: }
Author: Justin Bezanson
Have you been told that using those fancy JavaScript navigation menus is bad for your search rankings or that you will lose some visitors that have JavaScript turned off? This is a decision that all web developers face at one time or another. Do you use the cool looking menu which may help clean up large menus or do you cater to the largest audience possible? That can be a tough choice sometimes. Well, now there is no need to choose. In this article I will show you how to create a drop down navigation menu that is XHTML 1.0 Strict, CSS valid, opens external links in a new window, and is JavaScript free.
Keeping Backwards Compatibility In Mind
To keep things in perspective, in order to be 100% XHTML 1.0 Strict and support older, non-compliant browsers, a small amount of JavaScript is required. If you do not wish to support IE6 or older and don’t mind switching to a XHTML 1.0 Transitional doctype then this can be accomplished with 100% pure CSS and no JavaScript…
Today, in many applications there is a need to know and use HTML. And if you are a Web applications programmer you probably should know HTML :).
The question is do you know all the HTML tags? Do you know exactly how they work and what each tag does? And the most important of all, how each tag acts in each browser?
There are hundreds of books, articles, WebSites, posts, blogs and manuals that claim to "teach" you HTML. I on the other hand think that there is no experience like hands on experience so I wanted to introduce you to HTML Playground . This is one of my favorites sites for HTML.
This is a list of 10 great shortcuts me and my co workers use frequently, we thought you all should know too. Here they are:
CTRL + ".": This is actually a shortcut for a shortcut. it is the same as CTRL + SHIFT + F10 which opens the smart tag window and allows you to [...]
Copyright © 2012 Dev102.com
Breeze : Designed by Amit Raz and Nitzan Kupererd