Visual Studio Web Developer Tutorial Corner

Creating a vs webpage? Need some help?

Archive for the ‘Visual Studio’ Category

Using Localization in the MasterPage and other pages (VB-sample) – Part 2

Posted by BottOm on October 2, 2007

The following steps are pretty easy. In Part 1 I explained how to set up the MasterPage and other pages by creating a BasePage.vb file and using a cookie and sessionobject. Your site should now be ready to use localization.
Part 2 is about adding resourcefiles and using those resources on the different pages (including your MasterPage).

Haven’t read Part 1? Then you have missed something!

Step 1. Folders for your resources

In your solution, you can have 2 different resourcefolder: App_GlobalResources and App_LocalResources. You can add them by rightclicking the solutionfile and choosing “Add ASP.NET Folder”.
Read the rest of this entry »

Posted in Tutorials, Visual Studio | Tagged: , , , , , , , | 8 Comments »

Using Localization in the Masterpage (VB-sample) – Part 1

Posted by BottOm on September 30, 2007

– This tutorial is based on several tutorials / workarounds found on the web. –

The Problem:

When using localization you must override the InitializeCulture() method of a page. As seen on the msdn-tutorial: How Do I: Create a Multi-Lingual Site with Localization? (Around the ninth minute).

Apparently you cannot override the InitalizeCulture() method in a MasterPage. Howcome? It derives from UserControl instead of the common WebForms’ System.Web.UI.Page and does not support the InitializeCulture() method.

The Solution:

Read the rest of this entry »

Posted in Tutorials, Visual Studio | Tagged: , , , , , , , | 4 Comments »

Enabeling IntelliSense in a Skinfile

Posted by BottOm on September 24, 2007

When working in a skinfile you may have noticed (well, at least I did) that IntelliSense isn’t working.
I found a workaround googling the net and I also found the reason why IntelliSense isn’t enabled by default.

The purpose of a skin-file is that you first create your asp-controls on a page. Then to edit them the way you want and afterwards placing them in a skin-file. The result is that you practically don’t have to type anything in the skinfile and you can use the control with the same style on different pages.
Read the rest of this entry »

Posted in Visual Studio | Tagged: , , , , , | Leave a Comment »

Debugging problems in Windows Vista

Posted by BottOm on September 13, 2007

When running your version of VSWD as a normal user, debugging won’t occur.

The only way I found to solve this is by running the program as the Administrator: Rightclick the program and select: “Run as Administrator..” in the contextmenu.

For other problems go to this msnd-page: Visual Studio Issues on Windows Vista

Posted in Visual Studio | Tagged: , , , , | 1 Comment »

Hello!

Posted by BottOm on August 21, 2007

Welcome to my little blog!

Ever needed some help when creating a website in visual studio?

Here I will post several usefull links and add some of my own comments.

Posted in Visual Studio | Leave a Comment »