Browse by Tags

All Tags » VB » ASP.NET » .NET (RSS)
This post demonstrates how to use the ASP.NET Web API to access plain old custom objects (POCO) and build a service for a line of business application. No Entity Framework (EF). The Web API is a new easy-to-use framework that allows you to build a service...
I had an ASP.NET page with two UpdatePanel controls. I wanted to handle the page refresh differently depending on whether the user clicked on the button in the first UpdatePanel or whether the click was on the button in the second UpdatePanel. After a...
with no comments
Filed under: , , , ,
This post provides some tips for styling the GridView control. The prior post here demonstrates how to use the GridView with your business objects. This post builds upon that example and demonstrates how to style a GridView. Use these techniques any time...
3 comment(s)
Filed under: , , , ,
I have been giving much thought to ASP.NET and Silverlight menus of late. While doing research on existing sites and how they are handling menus, I came across the concept of a "mega menu". A mega menu is basically a drop down menu that contains...
5 comment(s)
Filed under: , , , ,
The ASP.NET ListBox does not display a horizontal scroll bar by default, which can be a problem if any of your list items are too long to fit. One solution to this problem is to use a tooltip. As the user moves the mouse over the ListBox entries, the...
12 comment(s)
Filed under: , , , ,
This one is in the category of obvious once you know how to do it. But having done Silverlight of late, I could not recall how to turn on the scrollbar in a ASP.NET ListBox. There is no scrollbar property of any kind. A bit of "guess and check"...
with no comments
Filed under: , , , ,
Once I had my ASP.NET GridView in place ( see this prior post ), the next thing I wanted to do was select a row and go to a review/edit page. But I didn't want to add the "Select" or "Edit" buttons. It seemed more natural for the...
29 comment(s)
Filed under: , , , ,
In your ASP.NET application, you may want to allow a user to view some additional information without leaving the page that they are on. For example, you may want to display the current window and show some help text in a new window. Or you may want to...
3 comment(s)
Filed under: , , , ,
Most ASP.NET GridView control examples demonstrate using the GridView with a SQLDataSource. But in some cases, you may want to use your own business objects instead. One way to achieve this goal is to use the ObjectDataSource as shown in MSDN here . Another...
7 comment(s)
Filed under: , , , ,
Most ASP.NET best practice guides recommend laying out pages using Div tags instead of Tables for better performance and control. With that in mind, how do you align multiple text strings in a single row? For example, a title bar on a section of an ASP...
7 comment(s)
Filed under: , , , ,
I just wanted to set focus to a TextBox on a modal dialog created using the ModalPopupExtender. How hard can it be? As a Physics and Math major, I spent my student years using logic to attack problems and solve puzzles. So I was a little concerned when...
6 comment(s)
Filed under: , , , ,
There are often times when your Web design includes a modal dialog. For example:  a login form, a dialog for entering basic information, a search form, or a data entry form. This post covers how to build a modal dialog in ASP.NET. There are several...
3 comment(s)
Filed under: , , , ,
Creating nice looking buttons for ASP.NET is still in the category of "I can't believe it is STILL this hard". As more and more normal people use great looking Web sites, Silverlight apps and even their IPhones, they experience some really...
3 comment(s)
Filed under: , , , ,
My first Xaml/Silverlight post was on gradients, it seems only right that my first ASP.NET post should cover the same topic. I started Web development in the 90's using VB 5/6 and classic ASP and learned all about HTML, CSS, Javascript, DOM, XML,...
4 comment(s)
Filed under: , , , ,