|
|
|
|
|
|
| | Total Hits: 136 | 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: 54 | Today: 0 | Author: Doug Seven | Rating:  |
| |  Code Behind has been a hot topic for ASP.NET since it was announced. Basically code behind allows you to build an ASP.NET page from two files, a presentation file and a code file. The presentation file is the .aspx or .ascx (for user controls) file, and the code file ends in .vb (Visual Basic) or .cs (C#). Building a single page from two files in this manner allows you to completely separate the code and content. Additionally it provides some mechanisms for protecting your code when selling a we... |
| | Total Hits: 26 | Today: 0 | Author: Kurt Mang | Rating:  |
| |  I don't know about you, but I've never been comfortable designing a site that requires Session variables to maintain state. My ASP applications have always verified a user and appended their unique identifier / ID to the QueryString (or passed it along in a hidden form field). It was a pain, but at least I knew that a user with cookies turned off would still be able to use the site.... |
| | Total Hits: 47 | Today: 0 | Author: xefteri | Rating:  |
| |  Good site usability often means removing links from one page back to itself. In this article we will look at how to create an ASP.NET User Control which will act as a common header to a site. It will automatically know which page we are looking at, and it will remove links to the same page from itself. For example, on this site, if we click on the About us section of the header, it will take you to the page, and it will make that link inactive. That way, we know that we are under that section, a... |
| | Total Hits: 21 | Today: 0 | Author: Doug Seven | Rating:  |
| |  In code behind you have to create an instance of the user control, the same way you would for any server control. You map an instance of the user control's class the user control instance in the Web Form.... |
| | Total Hits: 83 | Today: 0 | Author: dave123aspx | Rating:  |
| |  The other day I was working on a code behind form and I needed to dynamically load a UserControl and access its properties. I was stumped, but with a little help from the codejunkies at aspnextgen.com I was able to move on. Here is a little sample to demonstrate this technique.... |
| | Total Hits: 20 | Today: 0 | Author: Xicoloko | Rating:  |
| |  Suppose you're going to create a web application where all pages must have the same title. One could think of creating a User Control that renders this HTML fragment, so when the time to change the title comes you just do it in this User Control.... |
| | Total Hits: 183 | 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: 32 | Today: 0 | Author: Karl Seguin | Rating:  |
| |  In the previous Mastering article (Mastering ASP.Net DataBinding) we took a detailed look at databinding - one of the most asked about topics in the newsgroup. Today we continue the series by answering another very common question : how to maximize the communication between a page and its user controls.... |
| | Total Hits: 107 | Today: 0 | Author: Fernando Finelli. | Rating:  |
| |  This article gives you some code to list or manage users from a domain using GetObject.... |
| | Total Hits: 81 | Today: 0 | Author: Melon00. | Rating:  |
| |  Editable MAC addresses are necessary for anyone configuring a virtual network. Since the masked text box is primitive in VS 2005, I decided to create a MAC Address text box of my own. This is a text box that allows a user to input a MAC address, along with a class for handling the text box.... |
| | Total Hits: 84 | Today: 0 | Author: Joe Venditti | Rating:  |
| |  User Controls in ASP.NET allow you to group overlapping functionality into a single file. This file may then be included/distributed to other web forms, giving them access to that same functionality. A basic example would be a company header that must be applied to every page in a project. By developing the header in a User Control, you can simply include the control in the desired forms and avoid the limitations associated with traditional server-side includes .... |
| | Total Hits: 89 | Today: 0 | Author: Andrew Krowczyk | Rating:  |
| |  In this article, Andrew Krowczyk will present code that was developed to take control of authenticating a user against a SQL Server 2000 permissions database. Topics discussed include: creating Web User Controls in ASP.NET; connecting to SQL Server; and enabling Forms Authentication on your ASP.NET web application.... |
| | Total Hits: 44 | Today: 0 | Author: Doug Seven | Rating:  |
| |  As ASP Developers we have learned to use, if not rely on, include files to provide an easy means of adding reusable code to our projects. However they are often not flexible enough to provide the type of reusability we really want. In ASP+, User Controls provide the ease of use of include files, with the flexibility of COM Components. Doug Seven shows how we can use this new technology to expose Properties and Methods in our reusable files.... |
| | Total Hits: 234 | Today: 0 | Author: Charles Stratton | Rating:  |
| |  In this article I am going to show how, as a .net developer, you can use any .NET language to create custom applications using the DotNetNuke framework by accessing the two basic necessities in any custom application: username and role.... |
| | Total Hits: 323 | Today: 0 | Author: Matthew A. Stoecker | Rating:  |
| |  Arrays provide convenient ways to work with groups of controls that share common functionality. Groups of controls might be used to display related data, or provide related behavior when clicked, for example. Although Visual Basic® .NET and Visual C#® have no inherent support for creating control arrays, you can duplicate all of the functionality of control arrays programmatically. This article will walk you through the creation of a simple component that duplicates control array functionality.... |
| | Total Hits: 229 | Today: 0 | Author: Brian Mains | Rating:  |
| |  Developing your own controls is a simple process. It usually doesn't take much effort (depending on the complexity), and can be rewarding in the end. Developing your own controls is a simple process. It usually doesn't take much effort (depending on the complexity), and can be rewarding in the end. Obviously, there is more to it than that, which is where this document will begin. Read the article to learn more!... |
| | Total Hits: 217 | Today: 0 | Author: Brian Mains | Rating:  |
| |  Composite controls are great for grouping "child" controls together into a singular "parent" control. Any attributes specified at the "parent" level can then be replicated at the "child" level. Composite controls are great for grouping "child" controls together into a singular "parent" control. Any attributes specified at the "parent" level can then be replicated at the "child" level. Please read the Creating your own controls, Part I document to understand more about composite controls in detai... |
| | Total Hits: 213 | 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: 119 | Today: 0 | Author: AzamSharp | Rating:  |
| |  This is an event calendar user control. You can add your events in the calendar using an easy to use form.... |
|
|
|
|
|
|