|
|
|
|
|
Total Hits: 51 | Today: 0
|
Author: AzamSharp
|
Rating:
|
|

User Controls are great in ASP.NET. They let us divide the page into small sections. You can easily use User Controls on a ASP.NET page by simply dragging and dropping the control from the solution explorer. Sometimes we need to load the User Control dynamically. In this small article we will learn how to load the User Control dynamically....
|
|
|
|
Total Hits: 622 | Today: 0
|
Author: O'Reilly Book Excerpts
|
Rating:
|
|

Michael Kittel and Geoffrey LeBlond have selected a few of their favorite recipes from O'Reilly's recently released ASP.NET Cookbook. This week, learn how to add a Totals row to a DataGrid, how to communicate between user controls, and how to display user-friendly error messages. Next week, the authors offer two more recipes--for creating a reusable image handler and saving and reusing HTML output....
|
|
|
|
Total Hits: 55 | Today: 1
|
Author: James Avery
|
Rating:
|
|

Have you ever wanted to create an expandable tree much like the one found at Microsoft's MSDN site, or the one found in windows explorer? If so then this article should interest you. Creating an expandable tree has been made much easier with the IE web controls for asp.net. These controls are a free download from Microsoft and provide us with a quick and easy way to present hierarchical data in an expandable tree....
|
|
|
|
Total Hits: 110 | Today: 0
|
Author: SheoNarayan
|
Rating:
|
|

You might have came across a situation where you need to pass a value from your .aspx page to the user control (.ascx). This is possible in several ways including storing values into session or database and again retrieving at the user controls....
|
|
|
|
Total Hits: 175 | Today: 0
|
Author: Mike Amundsen
|
Rating:
|
|

This article explains how to create a file-upload user control in ASP.NET. To do this, we'll build multipart MIME upload forms using the InputFile HTML Server Control and learn how to take advantage of the file-upload services built into the HTTP runtime for ASP.NET. The article will show how to save the uploaded file to disk without granting anonymous users file-write access to folders on your Web server. Finally, you'll wrap all this in a new ASP.NET user control. This will allow you to add fi...
|
|
|
|
Total Hits: 68 | Today: 0
|
Author: Thanh Huu Nguyen (Tony).
|
Rating:
|
|

This ASP.NET user control can be used to assist users in selecting/picking a valid stock code from a drop-down list without effecting the webpage performance. Users just enter the first letters of stock symbol, then the list of stock symbols with the fisrt letters will show in drop-down list. Accordingly, users can select the limited list of symbols from drop-down list....
|
|
|
|
Total Hits: 69 | Today: 0
|
Author: Charles Carroll and Mac Kloberg
|
Rating:
|
|

This page demonstrates a very useful in the real-world a User Control to encapsulate grabbing the resultant string a website would generate if invoked from a browser....
|
|
|
|
Total Hits: 104 | Today: 0
|
Author: Munir Shaikh
|
Rating:
|
|

Windows sharepoint is new technology, which is available in the form of service on Windows 2003 server. It uses CAML (Collaboration application markup language) Wss is more content management based with document libraries and lists....
|
|
|
|
Total Hits: 91 | Today: 0
|
Author: Brett Burridge
|
Rating:
|
|

User Controls are semi-autonomous pages of HTML and underlying ASP.NET code that can be inserted into ASP.NET pages. As such they are useful for adding blocks of functionality to pages. Typical uses are to use User Controls for page headers and footers. They can also add functionality such as a "property of the week" for a real estate company website....
|
|
|
|
Total Hits: 641 | Today: 1
|
Author: cyberdego
|
Rating:
|
|

A reusable collapsible panel user control for web applications . This is a reusable Collapsible Panel user-control for web applications.Often we encounter web pages that run very long and it becomes difficult for the user to navigate down, dragging his mouse along all the way. So, when we want to display all the stuff on the same page and still keep it easy for the user, we could group pieces of related information into a collapsible panel. This is what got me working on this user-control. Th...
|
|
|
|
Total Hits: 326 | Today: 1
|
Author: O'Reilly Book Excerpts
|
Rating:
|
|

Chapter 4 includes a chart of the five types of controls supported in ASP.NET: HTML controls, HTML server controls, web server controls, validation controls, and controls created by the developer. This chapter will discuss this last type of control, known as custom controls, and a subset of them called user controls....
|
|
|
|
Total Hits: 275 | Today: 1
|
Author: Matthew MacDonald and G. Andrew Duthie
|
Rating:
|
|

Reuse is a technique that is important to most developers. Reuse allows you to avoid constantly reinventing the wheel by using functionality that has already been built and tested. It increases productivity, by reducing the total amount of code you need to write, and reliability, since by using tested code, you (presumably) already know the code works reliably....
|
|
|
|
Total Hits: 16 | Today: 0
|
Author: Samir Nigam
|
Rating:
|
|

I am going to present here a functionality that select / deselect all Checkboxes of a particular column inside the GridView control provided the header CheckBox of that column is checked or unchecked using JavaScript. This functionality also has a feature that when all Checkboxes of a particular column inside the GridView are checked then the header CheckBox gets checked and vice versa....
|
|
|
|
Total Hits: 106 | Today: 0
|
Author: AzamSharp
|
Rating:
|
|

In this article we will see different methods of authentication using new Login control which is introduced in ASP.NET 2.0. The first method will deal with MemberShip API and will show that how simple it is to authenticate using new API. Second method describes the custom authentication against the SQL SERVER 2000 database. And finally we will see custom authentication against an XML file....
|
|
|
|
Total Hits: 39 | Today: 0
|
Author: Alexandru Ghiondea
|
Rating:
|
|

How many times where you required to let user select some data from the database? This means allowing the user to check some ticks on the data from the database and then to perform some actions based on the selected items.
In ASP.NET 2.0 there are two controls that could do the trick: CheckBoxList and RadioButtonList. These controls allow you to set a DataSource property to them and they will handle all the work. However, if you need to get the selected items in the list, you have to do t...
|
|
|
|
Total Hits: 97 | Today: 0
|
Author: Jim Biddison
|
Rating:
|
|

In this article I am going to show you one technique for adding a "drill down" feature to a DataGrid. In the code that accompanies this article, the summary page consists of a simple DataGrid control, with three columns. The DataGrid is bound in the code-behind to a data reader representing the Categories in the Northwind database. The third column contains an indication of the number of products that are in the category, rendered as a Link Button. Clicking the Link Button causes the page to ...
|
|
|
|
Total Hits: 113 | Today: 0
|
Author: scott
|
Rating:
|
|

Some user controls are entirely self contained, for example, a user control displaying current stock quotes does not need to interact with any other content on the page. Other user controls will contain buttons to post back. Although it is possible to subscribe to the button click event from the containing page, doing so would break some of the object oriented rules of encapsulation. A better idea is to publish an event in the user control to allow any interested parties to handle the event....
|
|
|
|
Total Hits: 92 | Today: 0
|
Author: Scott Mitchell
|
Rating:
|
|

Displaying data in ASP.NET verison 1.x required writing code to programmatically retrieve the data and then more code to bind the data to a data Web control, such as the DataGrid. ASP.NET 2.0 simplifies the process of working with data through its data source controls, which allow data to be retrieved and even modified through declarative means. In short, ASP.NET 2.0's data source controls permit developers to work with and display data without having to write a line of code. For a more thorough...
|
|
|
|
Total Hits: 423 | Today: 0
|
Author: Chris Hambleton.
|
Rating:
|
|

The GridViewFormView control is an ASP.NET user control that displays a fully-featured GridView-FormView (Master/Detail) Control with the capability to edit existing records, insert new records, and delete records, along with sorting, filtering, and paging. The control can be easily configured to allow record inserting/editing in the GridView control or in the FormView control after a record is selected. This control demonstrates some of the more clearer ways of editing, inserting, and deleting ...
|
|
|
|
Total Hits: 192 | Today: 0
|
Author: Omar
|
Rating:
|
|

This is the Part 2 of a 3 part series on using sub-projects with the Web Application Projects add-in for Visual Studio 2005.
Part 1 of the series can be found here.
I apologize to folks for the delay in getting this second post out, we've been super busy the past few weeks. This post covers two concepts when using sub-projects with the Web Application Projects add-in:...
|
|
|
|
|
|