Some important tips and tricks:
- Declare a ScriptManager in the MasterPage. Only use ScriptManagerProxy objects in pages and controls. This ensures that you will be able to attach scripts at any level without that warning about having more than one ScriptManager object.
- If you are using jQuery, make sure that you download the Visual Studio documentation file. This vsdoc/vsdoc2 file must be place at the same location as the main library file. Do not reference the vsdoc file from anywhere. Just make sure that it has the same file name as the main file with the “–vsdoc” added (including version number or anything else).
- In external script files, Visual Studio has no context for other script files that are loaded in the object. To get around this, reference the file like this:
/// <reference path="jquery-1.3.2.js"/>
This does nothing at runtime, but gives you that wonderful Intellisense at code-time.
- Use multiple style names on elements. Unlike C#, Java, and other object-oriented languages, you can have multiple inheritance in CSS. Some can affect layout, some behavior, and some will just end up being decorators to help you with jQuery selectors.
- Databind wherever possible. If there’s one thing that I’ve learned from WPF and Silverlight, working with ControlName.Text or ControlName.Value is no fun! Learn how to do binding to simplify your life.
- If possible, leave the design work to someone else! Focus on div elements anywhere that you can. Drop in a CSS sheet from someone else and markup the div’s with class names and let that be taken care of. It may not work out that cleanly, but ideally, do as little layout and design as you can and get the functional bits working. Keep design out of it as long as possible.
Similar posts: Modalert For Sale. Diflucan For Sale. Buy Toradol Without Prescription. Aldactone For Sale. Buy Zithromax Without Prescription. Phenergan canada, mexico, india. Buy cheap Epogen no rx. Diflucan gel, ointment, cream, pill, spray, continuous-release, extended-release. Where can i cheapest Tetracycline online. Canada, mexico, india.
Trackbacks from: Wellbutrin SR For Sale. Wellbutrin SR For Sale. Wellbutrin SR For Sale. Wellbutrin SR For Sale. Wellbutrin SR For Sale. Wellbutrin SR dangers. Wellbutrin SR pics. Buy Wellbutrin SR from canada. Herbal Wellbutrin SR. Wellbutrin SR without a prescription.