Previously I came across a requirement to provide a functionality of something similar to a traditional combo box (found in Windows Forms) and a sort of multicolumn combo box in ASP.NET. I searched a lot on the net but found nothing suitable for my requirements. So, I decided to write my own control from scratch and here is what I call a multicolumn combo box. It is a combo box but with multiple columns and a textbox. You can search a particular row by typing the key column value in the textbox....
Most Internet applications now use Google Maps. Google has provide very rich API to use in our own applications. For the Google Maps, the latest feature is the "Panoroma view". Using it, I have created this Google Maps example. In this example, when the Google StreetView Man google Sreetview is dragged, the streets are highlighted wherever street view is enabled by Google. When it is dropped, the normal map is displayed. This way, the maps will be more little user friendly. This example uses Jav...
Well i have been wandering around here and ther for quite a few days in understanding how to dynamically create the controls during the runtime in VS 2008. All it ended out to be a very simple one. This is achieved through the methods Controls.add that is available with the panel or with each page. Well this works fine with panels and few other Containers but special care has to be taken when adding to the page.Controls.I l update regarding the same in some time....
The RadioButtonListcontrol in ASP.NET is used to display a collection of radio buttons that provide the user a multiple set of choices to choose from. You can select any one of the radio buttons from this list of radio buttons. You can bind data statically or programmatically to this control. The SelectedItemproperty of this control can be used to retrieve the radio button that has been selected....
The latest Microsoft patch for Internet Explorer included a change to ActiveX requiring all interactive controls to activate before they can be used. This change has impacted web applications all over the world including Dundas products. While the Chart can still be viewed fine after this patch as an image or an ActiveX object, the interactivity included in ActiveX objects, such as Flash, require a preliminary click by the user. This is not attractive functionality and fortunately Microsoft h...
EventCalendar control is a non-composite web control the creates a Gantt style calendar viewable by quarter periods. The events are detailed on a left hand pane, while the right hand pane shows the events as strips along a horizontal calendar. You can add a hyperlink on these strips to take the user to another document. The right hand pane is scrollable. The events can be grouped into groups which will be shown highlighted above the groups' events. The control takes in XML data for the events....
ELMAH is an open source project whose purpose is to log and report unhandled exceptions in ASP.NET web applications. Since its first public release back in 2004 as a sample to the MSDN article Using HTTP Modules and Handlers to Create Pluggable ASP.NET Components, it has gained many new features and extended its support for newer ASP.NET releases - yet without dropping compatibility with older ones.
This article provides a comprehensive overview of the project as well as a detailed guide ...
Flash animation is a great way to grab people’s attention among the endless sea of look-alike Web pages on the Internet. It can present useful information, as well as provide functional interactivity. Embedding Flash animation within a Web page used to be simple. However, changing standards such as XHTML and ActiveX Activation have introduced significant complications. In this article, you’ll learn all you need to know to play and embed Flash animations within ASP.NET Web pages. Indeed, the cust...
This article shows how to build a custom validator and customize the error messages based on different conditions, as well as add a validation summary control and display error messages. This is very helpful if you have a lengthy form and you need to scroll down to hit a Submit button to validate the entire form. If the validation summary doesn't show the error message, the user could be confused. By default, the custom validator control doesn't render the error message to the validation summary...
It seems like everyone wants a blog these days—I know I did. But I couldn't find any pre-built ASP.NET blog code with the features I wanted, so I built my own. The great thing about building your own blogging application is that you get lots of practice with ASP.NET server controls, such as the Repeater, DataList, and Calendar. A blog application may seem like a simple exercise at first, but in fact it requires you to implement many features you'd need in a typical reporting application, such as...
This Tab Control is designed for ASP.NET applications. Although you can find many tab controls for ASP.NET from different 3rd parties but the beauty of this control is that its source code reveals internal working of ASP.NET server controls. Once you understand these deep internals, you can write your own professional controls just like 3rd party controls....
The simplest way to create a custom control in ASP.NET is to derive a new class from an existing control. Creating custom controls through inheritance this way is not really very different from creating any other derived class. Creating new ASP.NET controls from scratch, on the other hand, just may prove to be a more challenging undertaking. When you need a Web server control and none of the existing ones meet your requirements, you can derive a new control from one of the base control classes—C...
I've had some success embedding a resource in the assembly of my web custom control, but I'm having problems thinking of how to do it with images. Every article I've read seems to be geared towards Win Forms and Bitmaps. Can I embed, and then retrieve and display a jpeg or gif from the assembly for a web custom control? Basically I want to render an image as part of the control. Not designer, but actually for the real displaying HTML too....
We've all had that problem - designing our web sites to have a certain look and feel. Unfortunately, not every visitor will view the site the way you intended. This is due to the fact that different operating systems render native browser controls differently. The buttons in OS X have the aqua look while the buttons in Windows 2000 look gray and outdated....
Despite ASP.NET being a mature technology with broad acceptance, some fundamental concepts are very often unclear to the developers. One of these concepts is event handling. The complexity of the subject originates from the ASP.NET Page and Control Life Cycle as well as platform-specific methodologies of defining event handlers....
Well, I was working on a project in which i required a rating control. This rating control is developed using web control class. In which we have 4 properties. By using this property we can use the rating control. I Google on net and generally found paid rating control. Then i decide to develop my own rating control. Using this control is very easy. We have a class Voting in MyVote namespace. In Voting class we have 4 Properties: In this control we have 4 properties in MyVotele or code. The clas...
Whenever there is a requirement of selecting multiple values in a Web application, where space holds an importance and one needs a client-interactive User Interface – a control that has an auto-collapse feature and looks like multiple select dropdown is a good fit. This is a control that allows a user to select multiple values through a dropdown. It clubs input element, an image and a checkboxlist to give a feel of multi-selectable dropdown. It has an auto-collapse feature apart from explicit cl...
This post will show you how to use ASP.NET 3.5 Ajax COntrolToolKit History control with ASP.NET 2.0, As you might be aware of that microsoft has included AJAX with Framework 3.0, and from version 3.5 microsoft has also included History control in his AJAX Control toolkit, Using history control we can use browser back button to navigate backwards in the pages containing AJAX Controls, which was normally not possible till Framework 2.0. But if you are still using ASP.NET 2.0, then don't get disapp...