Welcome to imar.spaanjaars.com
How Do I Dynamically Switch the DefaultButton at Run-Time?
Published 20 years ago
In a previous article I showed you how to use the ASP.NET 2.0 DefaultFocus and DefaultButton features inside a Master Page. You saw how you could use the UniqueID of a control to pass the right control ID to the WebForm_AutoFocus JavaScript method. In this short article, I'll show you how you can use another client side script method to dynamically switch the DefaultButton at run-time.
Read on ...
Migrating to ASP.NET 2 - Part 3 - Migrating Business Logic, Content Pages and User Controls
Published 20 years ago
This is the third part of a (long running) article series about migrating a .NET 1.1 Web site to ASP.NET 2.0. This installment focuses on the way I migrated my business logic, content pages and user controls.
Read on ...
How Do I Access the Profile of Other Users Directly in VB.NET?
Published 20 years ago
You may be aware of the new ASP.NET 2.0 Profile feature that allows you to store and retrieve information for the currently logged on user. This Profile feature makes it extremely simple to store user specific information, like a user's address, phone number, or site preferences. (Note: if you're not familiar with ASP.NET 2.0 Profiles check out the section Storing User Profiles in the ASP.NET Quick starts).
But what if you want to access the Profiles data for another user? For example, what if you want to allow a site administrator to change the personal data of all users in your site? The trick to make this possible is to use the ProfileCommon class, which inherits from ProfileBase. This article shows you how you can use this class to access the Profile data for arbitrary users.
Read on ...
How Do I Access the Profile of a Different User Directly in C#?
Published 20 years ago
You may be aware of the new ASP.NET 2.0 Profile feature that allows you to store and retrieve information for the currently logged on user. This Profile feature makes it extremely simple to store user specific information, like a user's address, phone number, or site preferences. (Note: if you're not familiar with ASP.NET 2.0 Profiles check out the section Storing User Profiles in the ASP.NET Quick starts).
But what if you want to access the Profiles data for another user? For example, what if you want to allow a site administrator to change the personal data of all users in your site? The trick to make this possible is to use the ProfileCommon class, which inherits from ProfileBase. This article shows you how you can use this class to access the Profile data for arbitrary users.
Read on ...
Finished Writing on ASP.NET 2.0 Instant Results
Published 20 years ago
Today I finished writing on my new book called ASP.NET 2.0 Instant Results. At 2:40 p.m. I sent in my last chapter and other related materials.
Read on ...
How Do I Set the DefaultFocus or DefaultButton in a Page Based on a Master Page in ASP.NET 2.0?
Published 20 years ago
You may be aware of the new DefaultButton and DefaultFocus properties that a few ASP.NET 2.0 controls, including the HtmlForm have. These properties allow you to determine which button gets "clicked" when you hit enter on the page, and which form control gets the focus when the page loads. (If you're not familiar with them, check out this MSDN help file) But how do you use this feature in a page based on a Master Page?
Read on ...
RTM Versions of Visual Studio 2005 Available!
Published 20 years ago
Yoohoo, just before the weekend, Microsoft released the RTM (final) versions of Visual Studio 2005 and SQL Server 2005.
Read on ...
Long Time Off-Line
Published 20 years ago
Some of you may have noticed that my web site was off-line for a long time. The site went down at the end of August and is only up again for a few days...
Read on ...
Getting a page's URL in code-behind
Published 20 years ago
You may have the need to be able to get the URL to a page in a web application from the server code. This might be because the page could move or because the URL is dynamic in some way. While this would be a nice feature to have in .NET, there are reasons it is not. We'll discuss this and a simple solution for getting a page's URL in server-side code that saves us from hard coding it in the referencing pages.
Read on ...
Why Do I Get Unexpected 404 Errors in Visual Web Developer 2005 Express Edition?
Published 20 years ago
Today I was experiencing unexpected 404 "The resource cannot be found" errors when working with Visual Web Developer 2005 Express Edition beta 2 in combination with the ASP.NET Development Server. No matter what I tried, and what file I tried to open, I kept getting the same error.
Read on ...Mobile: False
Crawler: True
I: False