Developing User Controls in EPiServer

Size: px
Start display at page:

Download "Developing User Controls in EPiServer"

Transcription

1 Developing User Controls in EPiServer Abstract It is recommended that developers building Web sites based on EPiServer create their own user controls with links to base classes in EPiServer. This white paper introduces the concept of user controls and shows how easy it is to integrate them into EPiServer's API. Product version: 4.51 Document version: 1.0

2 2 Developing User Controls in EPiServer Table of Contents INTRODUCTION 3 WHAT IS A USER CONTROL? 3 A SIMPLE USER CONTROL... 3 A SIMPLE MENU IN EPISERVER 4 CREATING A CONTROL IN VISUAL STUDIO... 4 CREATING AN INTERFACE FOR THE CONTROL... 5 LINKING A DATA SOURCE TO THE CONTROL... 5 DISPLAYING THE CONTENTS OF THE DATALIST... 6 The contents of this document are protected by copyright. Contents of the document may be freely copied and distributed, either digitally or in printed format, to all EPiServer users. EPiServer is a registered trademark of ElektroPost Stockholm AB. Other product and company names mentioned in this document may be the trademarks for their respective owners.

3 Introduction 3 Introduction It is recommended that developers building Web sites based on EPiServer create their own user controls with links to base classes in EPiServer. These controls should be written in a general way so that they can be reused in future projects. User controls are also a perfect way to leverage the content framework that EPiServer uses to define the overall page layout. What is a User Control? A user control allows a developer to pack up a common user interface and program logic in such a way that this can be used as a component in Web solutions. It increases the reusability of code. The next time similar functionality is needed in pages written in ASP.NET, it is simply a case of using the control instead of rewriting the code from scratch. User controls encapsulate code and the user interface, which in turn means that pages in ASP.NET are easier to read and that the code is kept as clean as possible. A Simple User Control <%@ Control Language="c#" AutoEventWireup="false" Codebehind="mydate.ascx.cs" Inherits="development.templates.UserControls.mydate" %> <table width= 40% bgcolor= blue > <tr> <td><h3 style="color:yellow"> Current date is:</h3></td> </tr> <tr> <td><h4 style="color:white"><%= DateTime.Now.ToString() %> </h4></td> </tr> </table> The code example above shows a very simple Web control that displays the current date in a table. The difference between a Web control and an ordinary page in ASP.NET is partly the file extension (.ascx) and partly the control directive, which is used instead of the page directive in an ASP.NET page. The <html>, <head> and <body> sections are generally omitted, because a user component is normally regarded as part of a page. The first line of code is a directive that determines the name of the user control. The other lines show what will be displayed, in this case the current date. To display a user control on a page that is written in ASP.NET, you must register it and indicate where the control file is stored. You do this using the register directive. In the directive you specify the namespace to which the user control belongs, using the parameter TagPrefix. In this case you can enter any value. The namespace is used to group the user controls logically. You can also give the control a name using the TagName parameter, and indicate the ascx file using Src. When you have done this, the control is registered on the page and is accessible as a tag in the HTML code. It is then accessible in the form <TagPrefix:TagName> and can be reused in a number of positions on the current page. The example below displays the file showdate.aspx. <%@ Register TagPrefix= ElektroPost TagName= MyDate Src= mydate.ascx %> <html>

4 4 Developing User Controls in EPiServer <head> <title> Demonstration of user control </title> </head> <body> <ElektroPost:MyDate id= MyDate1 runat= server /> </body> </html> The finished control looks like this: A Simple Menu in EPiServer This chapter explains how to create a simple menu using the Microsoft DataList Web server control, which is supplied with Visual Studio.NET and EPiServer. This should only be regarded as an example, but the code can of course be developed to produce a general control. The reason for using the DataList control in this example is that it is easy to use and automatically creates code based on the Web browser that calls it. It also has an intuitive and attractive interface for configuring the appearance and content of the control in the design view. In order to be able to test this control, you must have an EPiServer project open in Visual Studio.NET. Creating a Control in Visual Studio 1. Right-click the folder in the project in Visual Studio where you want to create your Web control. 2. Choose Add > Add Web User Control. 3. Name the control DemoMenu.ascx.

5 A Simple Menu in EPiServer 5 Figure 1 Creating a control Creating an Interface for the Control As this user control is based on the DataList object, you must drag a data list onto the work area in the Designer view for the newly-created control. The code you create will be displayed as below: <%@ Control Language="c#" AutoEventWireup="false" Codebehind="DemoMenu.ascx.cs" Inherits="development.templates.Units.DemoMenu" TargetSchema=" <asp:datalist id="datalist1" runat="server"></asp:datalist> DataList controls include a number of different tools that allow you to change the appearance of the control in Visual Studio.NET. To make the menu look more attractive, we will use one of the predefined color schemes that are available. 1. Right-click DataList in the Designer view in Visual Studio. 2. Select Auto Format 3. Select the Professional 1 color scheme. 4. Click OK. When you look at the code that has been produced, you will see that a number of templates that control the format of the DataList have been added Linking a Data Source to the Control So far we have only created an empty shell for the control. To make it really interesting, we also need a data source. In.NET a data source can be a dataset in ADO.NET, but in this case we will use the EPiServer 4 object PageTreeLoader to fill the menu with the first level of the structure. PageTreeLoader is stored in a namespace called EPiServer. To access it without having to give the entire object path, we will include a reference to this namespace in the lines that begin with "using" in the code-behind file. We will also need to use PageDataCollection, which is stored in EPiServer.Core. (The examples below are from file DemoMenu.ascx.cs.) using System; using System.Data;

6 6 Developing User Controls in EPiServer using System.Drawing; using System.Web; using System.Web.UI.WebControls; using System.Web.UI.HtmlControls; using EPiServer; using EPiServer.Core A user control will by default inherit from the class System.Web.UI.UserControl, but to allow us to easily access EPiServer objects we want to inherit from EPiServer.UserControlBase, i e the class definition should look like this. public class DemoMenu : EPiServer.UserControlBase { // rest of the class definition } The instancing of the object takes place in the Page_Load event. To extract the information about the top level of pages in EPiServer we will call the method GetChildren which takes the parent page as in parameter. In this case we will choose the Web site's home page which is stored in EPiServer.Global.EPConfig.StartPage, but since we inherit from UserControlBase we can access that information via Configuration.StartPage (see how we can benefit from using built-in support to minimize the amount of coding needed). It would of course be a good idea to include a property in the control that allows you to use any home page. In order to keep the example simple and make the code easy to read, we have not included this property here. The method GetChildren returns a PageDataCollection which can be used as a data source to the DataList. Finally the method DataBind() must be called by the DataList in order to perform the data binding. private void Page_Load(object sender, System.EventArgs e) { PageDataCollection mycoll = GetChildren(Configuration.StartPage); DataList1.DataSource = mycoll; DataList1.DataBind(); } Displaying the Contents of the DataList In order to display the contents of the DataList, we need a container object, which is available when you are using Microsoft-specific techniques such as ADO.NET. <%@ Control Language="c#" AutoEventWireup="false" Codebehind="DemoMenu.ascx.cs" Inherits="development.templates.Units.DemoMenu" TargetSchema=" <asp:datalist id="datalist1" runat="server" BorderColor="#999999" BorderStyle="None" BackColor="White" CellPadding="3" GridLines="Vertical" BorderWidth="1px"> <SelectedItemStyle Font-Bold="True" ForeColor="White" BackColor="#008A8C"></SelectedItemStyle> <AlternatingItemStyle BackColor="#DCDCDC"></AlternatingItemStyle> <FooterStyle ForeColor="Black" BackColor="#CCCCCC"></FooterStyle> <ItemStyle ForeColor="Black" BackColor="#EEEEEE"></ItemStyle> <HeaderStyle Font-Bold="True" ForeColor="White" BackColor="#000084"></HeaderStyle> <HeaderTemplate><%#Configuration.SiteName%></HeaderTemplate> <FooterTemplate><%= DateTime.Now.ToShortDateString() %></FooterTemplate> <ItemTemplate> <a href='<%# DataBinder.Eval( Container.DataItem, "LinkURL" ) %>'> <%# DataBinder.Eval( Container.DataItem, "PageName" ) %> </a> </ItemTemplate> </asp:datalist>

7 A Simple Menu in EPiServer 7 The result is a menu as shown in the screen shot above. It is possible to develop the menu in such a way that it shows the complete tree structure, but that is not within the scope of this white paper.

EPiServer Programmer's Reference

EPiServer Programmer's Reference EPiServer Programmer's Reference Product version: 4.60 Document version: 1.0 Document creation date: 23-03-2006 Purpose This programmer's reference is intended to be read by EPiServer developers as an

More information

XML with.net: Introduction

XML with.net: Introduction XML with.net: Introduction Extensible Markup Language (XML) strores and transports data. If we use a XML file to store the data then we can do operations with the XML file directly without using the database.

More information

Building Web Sites Using the EPiServer Content Framework

Building Web Sites Using the EPiServer Content Framework Building Web Sites Using the EPiServer Content Framework Product version: 4.60 Document version: 1.0 Document creation date: 28-03-2006 Purpose A major part in the creation of a Web site using EPiServer

More information

Getting Started with EPiServer 4

Getting Started with EPiServer 4 Getting Started with EPiServer 4 Abstract This white paper includes information on how to get started developing EPiServer 4. The document includes, among other things, high-level installation instructions,

More information

Getting Started with EPiServer 4

Getting Started with EPiServer 4 Getting Started with EPiServer 4 Abstract This white paper includes information on how to get started developing EPiServer 4. The document includes, among other things, high-level installation instructions,

More information

MOSS2007 Write your own custom authentication provider (Part 4)

MOSS2007 Write your own custom authentication provider (Part 4) MOSS2007 Write your own custom authentication provider (Part 4) So in the last few posts we have created a member and role provider and configured MOSS2007 to use this for authentication. Now we will create

More information

Content Mirroring in EPiServer

Content Mirroring in EPiServer Content Mirroring in EPiServer Abstract From EPiServer 4.50 it is possible to define a selection of pages that can be mirrored to, for example, another system. This white paper describes the functionality

More information

Getting Started with EPiServer 4

Getting Started with EPiServer 4 White Paper Getting Started with EPiServer 4 System requirements This is a guide for getting started with development using EPiServer 4 and it is assumed that you as a developer have access to the following:

More information

EPiServer Web Controls

EPiServer Web Controls 7 EPiServer Web Controls EPiServer Web Controls are a number of ASP.NET Web Custom Controls collected in the name space EPiServer.WebControls. ASP.NET Web Customs Controls differ from ASP.NET Web User

More information

Dr.Qadri Hamarsheh. Overview of ASP.NET. Advanced Programming Language (630501) Fall 2011/2012 Lectures Notes # 17. Data Binding.

Dr.Qadri Hamarsheh. Overview of ASP.NET. Advanced Programming Language (630501) Fall 2011/2012 Lectures Notes # 17. Data Binding. Advanced Programming Language (630501) Fall 2011/2012 Lectures Notes # 17 Data Binding Outline of the Lecture Code- Behind Handling Events Data Binding (Using Custom Class and ArrayList class) Code-Behind

More information

Extending EPiServer. Extensible Areas of the EPiServer Admin and Edit Mode

Extending EPiServer. Extensible Areas of the EPiServer Admin and Edit Mode 13 Extending EPiServer Quite a few aspects of EPiServer are open to extensions. We have already seen examples of some of the extension types, such as new property data types in chapter 8, Custom Property

More information

EPiFields Developer Information

EPiFields Developer Information EPiFields Developer Information Product version: 4.40.1.0 Document version: 1.0 Document creation date: 01-02-2005 Purpose EPiFields is an EPiServer add-in, enabling the editor to enter variable data into

More information

ASP.NET Pearson Education, Inc. All rights reserved.

ASP.NET Pearson Education, Inc. All rights reserved. 1 ASP.NET 2 Rule One: Our client is always right. Rule Two: If you think our client is wrong, see Rule One. Anonymous 3 25.1 Introduction ASP.NET 2.0 and Web Forms and Controls Web application development

More information

Introduction & Controls. M.Madadyar.

Introduction & Controls. M.Madadyar. Introduction & Controls M.Madadyar. htt://www.students.madadyar.com ASP.NET Runtime Comilation and Execution default.asx Which language? C# Visual Basic.NET C# comiler Visual Basic.NET comiler JIT comiler

More information

ASP.NET EXAMPLES. Nagaraju Bende

ASP.NET EXAMPLES. Nagaraju Bende ASP.NET EXAMPLES Nagaraju Bende http://nbende.wordpress.com Design the form and provide the following functionality Display the buttons First, Next, Previous, Last only when clicked on Navigation LinkButton.

More information

The contents of this document are directly taken from the EPiServer SDK. Please see the SDK for further technical information about EPiServer.

The contents of this document are directly taken from the EPiServer SDK. Please see the SDK for further technical information about EPiServer. Web Services Product version: 4.50 Document version: 1.0 Document creation date: 04-05-2005 Purpose The contents of this document are directly taken from the EPiServer SDK. Please see the SDK for further

More information

3 Customer records. Chapter 3: Customer records 57

3 Customer records. Chapter 3: Customer records 57 Chapter 3: Customer records 57 3 Customer records In this program we will investigate how records in a database can be displayed on a web page, and how new records can be entered on a web page and uploaded

More information

Custom Property Data Types and Filters

Custom Property Data Types and Filters 8 Custom Property Data Types and Filters Customized Property Data Types (Customized Value Types) Customized property data types (again Values or Settings would be a more appropriate name for EPiServer

More information

Activating AspxCodeGen 4.0

Activating AspxCodeGen 4.0 Activating AspxCodeGen 4.0 The first time you open AspxCodeGen 4 Professional Plus edition you will be presented with an activation form as shown in Figure 1. You will not be shown the activation form

More information

Part I. Data Access and Reporting

Part I. Data Access and Reporting Part I Data Access and Reporting Data Bound.NET Controls Most software applications involve, in one way or another, data access and reporting. Web applications in particular must perform these two functions,

More information

Creating Accessible Web Sites with EPiServer

Creating Accessible Web Sites with EPiServer Creating Accessible Web Sites with EPiServer Abstract This white paper describes how EPiServer promotes the creation of accessible Web sites. Product version: 4.50 Document version: 1.0 2 Creating Accessible

More information

Accessibility of EPiServer s Sample Templates

Accessibility of EPiServer s Sample Templates Accessibility of EPiServer s Templates An evaluation of the accessibility of EPiServer s sample according to current recommendations and guidelines elaborated by the World Wide Web Consortium s (W3C) Web

More information

Arena: Edit External Web Templates (Course #A217)

Arena: Edit External Web Templates (Course #A217) Arena: Edit External Web Templates (Course #A217) Presented by: Alex Nicoletti Arena Product Owner 2017 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of the

More information

Globalization TECHNICAL NOTE. Purpose. Product version: Document version: 1.1. Document creation date:

Globalization TECHNICAL NOTE. Purpose. Product version: Document version: 1.1. Document creation date: Globalization Product version: 4.60 Document version: 1.1 Document creation date: 04-05-2006 Purpose EPiServer has supported the creation of multilingual Web sites, with the multi-language functionality,

More information

Instructions for writing Web Services using Microsoft.NET:

Instructions for writing Web Services using Microsoft.NET: Instructions for writing Web Services using Microsoft.NET: Pre-requisites: Operating System: Microsoft Windows XP Professional / Microsoft Windows 2000 Professional / Microsoft Windows 2003 Server.NET

More information

Displaying Views of Data (Part II)

Displaying Views of Data (Part II) Displaying Views of Data (Part II) In Chapter 6, we discussed how we can work with the GridView control in ASP. NET. This is the last part in the series of two chapters on how we can use the view controls

More information

ASP.NET Security. 7/26/2017 EC512 Prof. Skinner 1

ASP.NET Security. 7/26/2017 EC512 Prof. Skinner 1 ASP.NET Security 7/26/2017 EC512 Prof. Skinner 1 ASP.NET Security Architecture 7/26/2017 EC512 Prof. Skinner 2 Security Types IIS security Not ASP.NET specific Requires Windows accounts (NTFS file system)

More information

What is ASP.NET? ASP.NET 2.0

What is ASP.NET? ASP.NET 2.0 What is ASP.NET? ASP.NET 2.0 is the current version of ASP.NET, Microsoft s powerful technology for creating dynamic Web content. is one of the key technologies of Microsoft's.NET Framework (which is both

More information

Lab 4: ASP.NET 2.0 Membership, Login Controls, and Role Management

Lab 4: ASP.NET 2.0 Membership, Login Controls, and Role Management Lab 4: ASP.NET 2.0 Membership, Login Controls, and Role Management Forms authentication is a popular means of securing Internet applications. In ASP.NET s brand of forms authentication, you designate a

More information

Developing with XForms

Developing with XForms Developing with XForms Product version: 4.60 Document version: 1.0 Document creation date: 29-03-2006 Purpose EPiServer XForms contains logic to store and present forms and data posted from forms. Together

More information

Sparkline for ASP.NET WebForms

Sparkline for ASP.NET WebForms Cover Page ComponentOne Sparkline for ASP.NET WebForms Cover Page Info ComponentOne, a division of GrapeCity 201 South Highland Avenue, Third Floor Pittsburgh, PA 15206 USA Website: http://www.componentone.com

More information

Microsoft Office Integration

Microsoft Office Integration Microsoft Office Integration Product version: 4.60 Document version: 1.0 Document creation date: 23-03-2006 Purpose This technical note describes the functionality of the Microsoft Office integration with

More information

M Introduction to C# Programming with Microsoft.NET - 5 Day Course

M Introduction to C# Programming with Microsoft.NET - 5 Day Course Module 1: Getting Started This module presents the concepts that are central to the Microsoft.NET Framework and platform, and the Microsoft Visual Studio.NET integrated development environment (IDE); describes

More information

CST272 Getting Started Page 1

CST272 Getting Started Page 1 CST272 Getting Started Page 1 1 2 3 4 5 6 8 Introduction to ASP.NET, Visual Studio and C# CST272 ASP.NET Static and Dynamic Web Applications Static Web pages Created with HTML controls renders exactly

More information

VB.NET. Exercise 1: Creating Your First Application in Visual Basic.NET

VB.NET. Exercise 1: Creating Your First Application in Visual Basic.NET VB.NET Module 1: Getting Started This module introduces Visual Basic.NET and explains how it fits into the.net platform. It explains how to use the programming tools in Microsoft Visual Studio.NET and

More information

Processing Web Form Output. This chapter deals with information returned by the

Processing Web Form Output. This chapter deals with information returned by the 5001_Ch08 07/12/01 2.29 pm Page 269 C H A P T E R 8 Processing Web Form Output This chapter deals with information returned by the application or computer to various Web Form controls. This information

More information

Web Forms ASP.NET. 2/12/2018 EC512 - Prof. Skinner 1

Web Forms ASP.NET. 2/12/2018 EC512 - Prof. Skinner 1 Web Forms ASP.NET 2/12/2018 EC512 - Prof. Skinner 1 Active Server Pages (.asp) Used before ASP.NET and may still be in use. Merges the HTML with scripting on the server. Easier than CGI. Performance is

More information

Arena Development 101 / 102 Courses # A280, A281 IMPORTANT: You must have your development environment set up for this class

Arena Development 101 / 102 Courses # A280, A281 IMPORTANT: You must have your development environment set up for this class Arena Development 101 / 102 Courses # A280, A281 IMPORTANT: You must have your development environment set up for this class Presented by: Jeff Maddox Director of Platform Integrations, Ministry Brands

More information

8 Library loan system

8 Library loan system Chapter 8: Library loan system 153 8 Library loan system In previous programs in this book, we have taken a traditional procedural approach in transferring data directly between web pages and the ASP database.

More information

The user guide may be freely distributed in its entirety, either digitally or in printed format, to all EPiServer Composer users.

The user guide may be freely distributed in its entirety, either digitally or in printed format, to all EPiServer Composer users. Copyright This user guide is protected by the Copyright Act. Changes to the contents, or partial copying of the contents, may not be made without permission from the copyright holder. The user guide may

More information

EPiServer Installation Instructions

EPiServer Installation Instructions EPiServer Installation Instructions Abstract From EPiServer 4.50, installation and upgrade of EPiServer installations is carried out with EPiServer Manager. This document describes how to install, upgrade

More information

Employee Attendance System module using ASP.NET (C#)

Employee Attendance System module using ASP.NET (C#) Employee Attendance System module using ASP.NET (C#) Home.aspx DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

More information

Reading From Databases

Reading From Databases 57076_Ch 8 SAN.qxd 01/12/2003 6:43 PM Page 249 8 Reading From Databases So far in this book you've learnt a lot about programming, and seen those techniques in use in a variety of Web pages. Now it's time

More information

In the previous chapter we created a web site with images programmed into HTML page code using commands such as: <img src="images/train.

In the previous chapter we created a web site with images programmed into HTML page code using commands such as: <img src=images/train. Chapter 6: Mountain Bike Club 113 6 Mountain Bike Club In the previous chapter we created a web site with images programmed into HTML page code using commands such as: In

More information

Lab 9: Creating Personalizable applications using Web Parts

Lab 9: Creating Personalizable applications using Web Parts Lab 9: Creating Personalizable applications using Web Parts Estimated time to complete this lab: 45 minutes Web Parts is a framework for building highly customizable portalstyle pages. You compose Web

More information

Content Mirroring Configuration

Content Mirroring Configuration Content Mirroring Configuration Product version: 4.50 Document version: 1.0 Document creation date: 17-05-2005 Purpose This document describes how to configure mirroring in EPiServer and contains information

More information

BETA CHAPTER. Creating Custom Modules

BETA CHAPTER. Creating Custom Modules 7 Creating Custom Modules This is the second part of the chapter from "Building Websites with VB.NET and DotNetNuke 3.0". (This version of the chapter covers version 2.12. The finished book will cover

More information

2609 : Introduction to C# Programming with Microsoft.NET

2609 : Introduction to C# Programming with Microsoft.NET 2609 : Introduction to C# Programming with Microsoft.NET Introduction In this five-day instructor-led course, developers learn the fundamental skills that are required to design and develop object-oriented

More information

M Introduction to Visual Basic.NET Programming with Microsoft.NET 5 Day Course

M Introduction to Visual Basic.NET Programming with Microsoft.NET 5 Day Course Module 1: Getting Started This module introduces Visual Basic.NET and explains how it fits into the.net platform. It explains how to use the programming tools in Microsoft Visual Studio.NET and provides

More information

ASP.net. Microsoft. Getting Started with. protected void Page_Load(object sender, EventArgs e) { productsdatatable = new DataTable();

ASP.net. Microsoft. Getting Started with. protected void Page_Load(object sender, EventArgs e) { productsdatatable = new DataTable(); Getting Started with protected void Page_Load(object sender, EventArgs e) { productsdatatable = new DataTable(); string connectionstring = System.Configuration.ConfigurationManager.ConnectionStrings ["default"].connectionstring;!

More information

Integrating with EPiServer

Integrating with EPiServer Integrating with EPiServer Abstract EPiServer is an excellent tool when integration with existing systems within an organization is a requirement. This document outlines the Web services that are shipped

More information

Setting Up EPiServer for Demo

Setting Up EPiServer for Demo Setting Up EPiServer for Demo Abstract This document describes how to set up a standard EPiServer installation so that it can be used in a demo environment. Product version: 4.51 Document version: 1.0

More information

What You Need to Use this Book

What You Need to Use this Book What You Need to Use this Book The following is the list of recommended system requirements for running the code in this book: Windows 2000 Professional or Windows XP Professional with IIS installed Visual

More information

IN PRACTICE. Daniele Bochicchio Stefano Mostarda Marco De Sanctis. Includes 106 practical techniques MANNING SAMPLE CHAPTER

IN PRACTICE. Daniele Bochicchio Stefano Mostarda Marco De Sanctis. Includes 106 practical techniques MANNING SAMPLE CHAPTER IN PRACTICE Daniele Bochicchio Stefano Mostarda Marco De Sanctis Includes 106 practical techniques MANNING SAMPLE CHAPTER ASP.NET 4.0 in Practice by Daniele Bochicchio, Stefano Mostarda, and Marco De Sanctis

More information

How to create a simple ASP.NET page to create/search data on baan using baan logic from the BOBS client sample.

How to create a simple ASP.NET page to create/search data on baan using baan logic from the BOBS client sample. How to create a simple ASP.NET page to create/search data on baan using baan logic from the BOBS client sample. Author: Carlos Kassab Date: July/24/2006 First install BOBS(BaaN Ole Broker Server), you

More information

VB.NET Web : Phone : INTRODUCTION TO NET FRAME WORK

VB.NET Web : Phone : INTRODUCTION TO NET FRAME WORK Web :- Email :- info@aceit.in Phone :- +91 801 803 3055 VB.NET INTRODUCTION TO NET FRAME WORK Basic package for net frame work Structure and basic implementation Advantages Compare with other object oriented

More information

Web-based Vista Explorer s tree view is just a simple sample of our WebTreeView.NET 1.0

Web-based Vista Explorer s tree view is just a simple sample of our WebTreeView.NET 1.0 WebTreeView.NET 1.0 WebTreeView.NET 1.0 is Intersoft s latest ASP.NET server control which enables you to easily create a hierarchical data presentation. This powerful control incorporates numerous unique

More information

Module 2: Using Master Pages

Module 2: Using Master Pages Module 2: Using Master Pages Contents Overview 1 Lesson: Advantages of Using Master Pages 2 Lesson: Writing Master and Content Pages 9 Lesson: Writing Nested Master Pages 21 Lesson: Programming Master

More information

Stephen Walther Senior Program Manager Microsoft Corporation

Stephen Walther Senior Program Manager Microsoft Corporation Stephen Walther Senior Program Manager Microsoft Corporation Overview of Talk ASP.NET supports several very different types of web applications ASP.NET 3.5 Service Pack 1 Microsoft Entity Framework ADO.NET

More information

Quick Start Guide. This guide will help you get started with Kentico CMS for ASP.NET. It answers these questions:

Quick Start Guide. This guide will help you get started with Kentico CMS for ASP.NET. It answers these questions: Quick Start Guide This guide will help you get started with Kentico CMS for ASP.NET. It answers these questions:. How can I install Kentico CMS?. How can I edit content? 3. How can I insert an image or

More information

Developing Web Applications Using Microsoft Visual Studio 2008 SP1

Developing Web Applications Using Microsoft Visual Studio 2008 SP1 Developing Web s Using Microsoft Visual Studio 2008 SP1 Introduction This five day instructor led course provides knowledge and skills on developing Web applications by using Microsoft Visual Studio 2008

More information

COOKBOOK Creating an Order Form

COOKBOOK Creating an Order Form 2010 COOKBOOK Creating an Order Form Table of Contents Understanding the Project... 2 Table Relationships... 2 Objective... 4 Sample... 4 Implementation... 4 Generate Northwind Sample... 5 Order Form Page...

More information

Working with Multiple Languages in EPiServer

Working with Multiple Languages in EPiServer Working with Multiple Languages in EPiServer Product version: 4.60 Document version: 1.1 Document creation date: 04-04-2006 Purpose EPiServer's support for multilingual Web sites (multi-language) has been

More information

INTRODUCTION & IMPLEMENTATION OF ASP.NET

INTRODUCTION & IMPLEMENTATION OF ASP.NET INTRODUCTION & IMPLEMENTATION OF ASP.NET CONTENTS I. Introduction to ASP.NET 1. Difference between ASP and ASP.NET 2. Introduction to IIS 3. What is Web Application? Why is it used? II. Implementation

More information

Content Mirroring Configuration

Content Mirroring Configuration Content Mirroring Configuration Product version: 4.51 Document version: 1.1 Document creation date: 02-01-2006 Purpose This document describes how to configure mirroring in EPiServer and contains information

More information

IDERA ER/Studio Software Architect Evaluation Guide. Version 16.5/2016+ Published February 2017

IDERA ER/Studio Software Architect Evaluation Guide. Version 16.5/2016+ Published February 2017 IDERA ER/Studio Software Architect Evaluation Guide Version 16.5/2016+ Published February 2017 2017 IDERA, Inc. All rights reserved. IDERA and the IDERA logo are trademarks or registered trademarks of

More information

3-tier Architecture Step by step Exercises Hans-Petter Halvorsen

3-tier Architecture Step by step Exercises Hans-Petter Halvorsen https://www.halvorsen.blog 3-tier Architecture Step by step Exercises Hans-Petter Halvorsen Software Architecture 3-Tier: A way to structure your code into logical parts. Different devices or software

More information

Developing Microsoft.NET Applications for Windows (Visual Basic.NET)

Developing Microsoft.NET Applications for Windows (Visual Basic.NET) Developing Microsoft.NET Applications for Windows (Visual Basic.NET) Course Number: 2565 Length: 5 Day(s) Certification Exam This course will help you prepare for the following Microsoft Certified Professional

More information

"Charting the Course... MOC A Introduction to Web Development with Microsoft Visual Studio Course Summary

Charting the Course... MOC A Introduction to Web Development with Microsoft Visual Studio Course Summary Description Course Summary This course provides knowledge and skills on developing Web applications by using Microsoft Visual. Objectives At the end of this course, students will be Explore ASP.NET Web

More information

AC I Sem 5_TYCS. ASP.NET application codes can be written in any of the following languages:

AC I Sem 5_TYCS. ASP.NET application codes can be written in any of the following languages: Chapter 1-Overview of.net Framework What is ASP.NET? ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required to

More information

Teacher s Reference Manual

Teacher s Reference Manual UNIVERSITY OF MUMBAI Teacher s Reference Manual Subject: Advanced Web Programming with effect from the academic year 2018 2019 Practical 3(b).Demonstrate the use of Calendar control to perform following

More information

Introduction to Web Development with Microsoft Visual Studio 2010

Introduction to Web Development with Microsoft Visual Studio 2010 10267 - Introduction to Web Development with Microsoft Visual Studio 2010 Duration: 5 days Course Price: $2,975 Software Assurance Eligible Course Description Course Overview This five-day instructor-led

More information

To get started with Visual Basic 2005, I recommend that you jump right in

To get started with Visual Basic 2005, I recommend that you jump right in In This Chapter Chapter 1 Wading into Visual Basic Seeing where VB fits in with.net Writing your first Visual Basic 2005 program Exploiting the newfound power of VB To get started with Visual Basic 2005,

More information

EPiStore Configuration

EPiStore Configuration EPiStore Configuration Product version: 2.3 Document version: 1.0 Document creation date 15-06-2005 Document last saved: 23-01-2008 Purpose This technical note provides information on how to set up and

More information

Integrate WebScheduler to Microsoft SharePoint 2007

Integrate WebScheduler to Microsoft SharePoint 2007 Integrate WebScheduler to Microsoft SharePoint 2007 This white paper describes the techniques and walkthrough about integrating WebScheduler to Microsoft SharePoint 2007 as webpart. Prerequisites The following

More information

Designing an Intranet Using Forms Authentication

Designing an Intranet Using Forms Authentication k4849-2 Ch21.F 7/8/02 8:58 AM Page 613 Chapter 21 Designing an Intranet Using Forms Authentication IN THIS CHAPTER Working with specifications Creating a database for an intranet Creating user- and role-based

More information

Event-based Programming

Event-based Programming Window-based programming Roger Crawfis Most modern desktop systems are window-based. What location do I use to set this pixel? Non-window based environment Window based environment Window-based GUI s are

More information

1.1 Customize the Layout and Appearance of a Web Page. 1.2 Understand ASP.NET Intrinsic Objects. 1.3 Understand State Information in Web Applications

1.1 Customize the Layout and Appearance of a Web Page. 1.2 Understand ASP.NET Intrinsic Objects. 1.3 Understand State Information in Web Applications LESSON 1 1.1 Customize the Layout and Appearance of a Web Page 1.2 Understand ASP.NET Intrinsic Objects 1.3 Understand State Information in Web Applications 1.4 Understand Events and Control Page Flow

More information

Lab 5: ASP.NET 2.0 Profiles and Localization

Lab 5: ASP.NET 2.0 Profiles and Localization Lab 5: ASP.NET 2.0 Profiles and Localization Personalizing content for individual users and persisting per-user data has always been a non-trivial undertaking in Web apps, in part due to the stateless

More information

CST272 Getting Started Page 1

CST272 Getting Started Page 1 CST272 Getting Started Page 1 1 2 3 5 6 8 10 Introduction to ASP.NET and C# CST272 ASP.NET ASP.NET Server Controls (Page 1) Server controls can be Buttons, TextBoxes, etc. In the source code, ASP.NET controls

More information

It is necessary to follow all of the sections below in the presented order. Skipping steps may prevent subsequent sections from working correctly.

It is necessary to follow all of the sections below in the presented order. Skipping steps may prevent subsequent sections from working correctly. The following example demonstrates how to create a basic custom module, including all steps required to create Installation packages for the module. You can use the packages to distribute the module to

More information

Working with Data in ASP.NET 2.0 :: Displaying Binary Data in the Data Web Controls Introduction

Working with Data in ASP.NET 2.0 :: Displaying Binary Data in the Data Web Controls Introduction 1 of 17 This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx.

More information

Chapter 13: An Example Web Service Client

Chapter 13: An Example Web Service Client page 1 Chapter 13: An Example Web Service Client In this chapter, we are going to build a client web application that uses a free web service called Terraserver. Terraserver is a site run by Microsoft

More information

Cuyahoga Module Development Guide

Cuyahoga Module Development Guide Cuyahoga Module Development Guide Table of Contents Introduction...1 Requirements... 1 Setting up the project... 2 The simplest module possible... 3 The module controller... 3 The display user control...

More information

Introduction to Web Development with Microsoft Visual Studio 2010

Introduction to Web Development with Microsoft Visual Studio 2010 Introduction to Web Development with Microsoft Visual Studio 2010 Course 10267; 5 Days, Instructor-led Course Description This five-day instructor-led course provides knowledge and skills on developing

More information

Microsoft Visual Basic 2005: Reloaded

Microsoft Visual Basic 2005: Reloaded Microsoft Visual Basic 2005: Reloaded Second Edition Chapter 1 An Introduction to Visual Basic 2005 Objectives After studying this chapter, you should be able to: Explain the history of programming languages

More information

Web Services in.net (2)

Web Services in.net (2) Web Services in.net (2) These slides are meant to be for teaching purposes only and only for the students that are registered in CSE4413 and should not be published as a book or in any form of commercial

More information

EPiServer Operator's Guide

EPiServer Operator's Guide EPiServer Operator's Guide Abstract This document is mainly intended for administrators and developers that operate EPiServer or want to learn more about EPiServer's operating environment. The document

More information

Insert Data into Table using C# Code

Insert Data into Table using C# Code Insert Data into Table using C# Code CREATE TABLE [registration]( [roll_no] [int] NULL, [name] [varchar](50), [class] [varchar](50), [sex] [varchar](50), [email] [varchar](50))

More information

Foreign-Key Associations

Foreign-Key Associations Search ASP.NET Sign In Join Home Get Started Downloads Web Pages Web Forms MVC Community Forums Overview Videos Samples Forum Books Open Source Home / Web Forms / Tutorials / Chapter 3. Continuing with

More information

Yet Another Forum Integration

Yet Another Forum Integration Sitecore Modules Yet Another Forum Integration Rev: 2009-06-04 Sitecore Modules Yet Another Forum Integration Instructions on installing the Yet Another Forum application and integrating it in a Sitecore

More information

IDoc based adapterless communication between SAP NetWeaver Application Server (SAP NetWeaver AS) and Microsoft BizTalk Server

IDoc based adapterless communication between SAP NetWeaver Application Server (SAP NetWeaver AS) and Microsoft BizTalk Server Collaboration Technology Support Center Microsoft Collaboration Brief August 2005 IDoc based adapterless communication between SAP NetWeaver Application Server (SAP NetWeaver AS) and Microsoft BizTalk

More information

Naresh Information Technologies

Naresh Information Technologies Naresh Information Technologies Server-side technology ASP.NET Web Forms & Web Services Windows Form: Windows User Interface ADO.NET: Data & XML.NET Framework Base Class Library Common Language Runtime

More information

Chapter 4 Notes. Creating Tables in a Website

Chapter 4 Notes. Creating Tables in a Website Chapter 4 Notes Creating Tables in a Website Project for Chapter 4 Statewide Realty Web Site Chapter Objectives Define table elements Describe the steps used to plan, design, and code a table Create a

More information

2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET

2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET 2559 : Introduction to Visual Basic.NET Programming with Microsoft.NET Introduction Elements of this syllabus are subject to change. This five-day instructor-led course provides students with the knowledge

More information

To start we will be using visual studio Start a new C# windows form application project and name it motivational quotes viewer

To start we will be using visual studio Start a new C# windows form application project and name it motivational quotes viewer C# Tutorial Create a Motivational Quotes Viewer Application in Visual Studio In this tutorial we will create a fun little application for Microsoft Windows using Visual Studio. You can use any version

More information

EPiServer Portals. Abstract

EPiServer Portals. Abstract EPiServer Portals Abstract This white paper outlines EPiServer's portal functionality. The document includes a high-level description of Web Services for Remote Portlets (WSRP) technology. Product version:

More information

ASP.NET - MULTI THREADING

ASP.NET - MULTI THREADING ASP.NET - MULTI THREADING http://www.tutorialspoint.com/asp.net/asp.net_multi_threading.htm Copyright tutorialspoint.com A thread is defined as the execution path of a program. Each thread defines a unique

More information

CS708 Lecture Notes. Visual Basic.NET Programming. Object-Oriented Programming Web Technologies and ASP.NET. (Part I) (Lecture Notes 5B)

CS708 Lecture Notes. Visual Basic.NET Programming. Object-Oriented Programming Web Technologies and ASP.NET. (Part I) (Lecture Notes 5B) CS708 Lecture Notes Visual Basic.NET Programming Object-Oriented Programming Web Technologies and ASP.NET (Part I) (Lecture Notes 5B) Prof. Abel Angel Rodriguez SECTION I. INTRODUCTION TO WEB APPLICATIONS

More information