CIS 451: ASP Components Dr. Ralph D. Westfall February, 2009.

Slides:



Advertisements
Similar presentations
Start menu -> all program -> Microsoft Visual SourceSafe-> Microsoft Visual Studio 2010 Click.
Advertisements

COMPREHENSIVE Windows Tutorial 3 Personalizing Your Windows Environment.
®® Microsoft Windows 7 Windows Tutorial 3 Personalizing Your Windows Environment.
IT533 Lecture ASP.NET Controls. Installations Microsoft® SQL Server® 2008 Express.
© by Pearson Education, Inc. All Rights Reserved.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
Chapter 3 Tables and Page Layout
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
1 Introduction to the Visual Studio.NET IDE Powerpoint slides modified from Deitel & Deitel.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Lab 8 – C# Programming Adding two numbers CSCI 6303 – Principles of I.T. Dr. Abraham Fall 2012.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
Microsoft Excel 2000 Adding Visual Elements and Managing Files.
CIS 338: Creating ActiveX Controls Dr. Ralph D. Westfall March, 2003.
Programming with Microsoft Visual Basic 2012 Chapter 12: Web Applications.
Web Technologies Website Development Trade & Industrial Education
Web Design ITM 2010 Tutorial 1 Prepared by Wang Shiyu.
ASP.NET 2.0 Chapter 5 Advanced Web Controls. ASP.NET 2.0, Third Edition2 Objectives.
10-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
© Copyright by Deitel & Associates, Inc. and Pearson Education Inc. All Rights Reserved. 1 Introducing Web Controls Outline 29.1 Analyzing the.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 4 1 Microsoft Office FrontPage 2003 Tutorial 4 – Using Shared Borders and Themes.
E-Commerce: Introduction to Web Development 1 Dr. Lawrence West, Management Dept., University of Central Florida Topics What is a Web.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
Section 4.1 Format HTML tags Identify HTML guidelines Section 4.2 Organize Web site files and folder Use a text editor Use HTML tags and attributes Create.
Chapter 3: Using GUI Objects and the Visual Studio IDE.
CSCI 6962: Server-side Design and Programming Introduction to Active Server Pages.
1 Data Bound Controls II Chapter Objectives You will be able to Use a Data Source control to get data from a SQL database and make it available.
Tutorial 7 Creating Forms. Objectives Session 7.1 – Create an HTML form – Insert fields for text – Add labels for form elements – Create radio buttons.
Domain 3 Understanding the Adobe Dreamweaver CS5 Interface.
Rehab AlFallaj. Ajax Control Toolkit Add Ajax functionality to your ASP.NET Web Forms applications without writing JavaScript Add Ajax functionality to.
Putting Applets into Web Pages.  Two things are involved in the process of putting applets onto web pages ◦ The.class files of the applet ◦ The html.
Microsoft Visual Basic 2005 CHAPTER 7 Creating Web Applications.
Chapter One An Introduction to Visual Basic 2010 Programming with Microsoft Visual Basic th Edition.
Introduction In The Name Of Allah, The Beneficent, The Merciful.
CIS 451: USING ASP.NET TO CREATE XML Dr. Ralph D. Westfall February, 2009.
| | Tel: | | Computer Training & Personal Development Microsoft Office SharePoint Designer.
Creating Buttons – Lesson 51 Creating Buttons Lesson 5.
IReport Demo Spring 2008 OEDSA Conference. Report Properties.
Microsoft ® Outlook 2000 Managing and Integrating Outlook Components.
Chapter 5 Quick Links Slide 2 Performance Objectives Understanding Framesets and Frames Creating Framesets and Frames Selecting Framesets and Frames Using.
Chapter 2 – Introduction to the Visual Studio .NET IDE
Adding Images. XHTML Element ElementAttributeAttribute Value Closing tag AttributeAttribute Value The src attribute supplies the name and location of.
IT533 Lectures ASP.NET AJAX.
Object-Oriented Application Development Using VB.NET 1 Chapter 2 The Visual Studio.NET Development Environment.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Microsoft FrontPage 2003 Illustrated Complete Working on the Web Site’s Hyperlinks and Appearance.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Links and Images. Links HTML uses a hyperlink to link to another document on the Web A hyperlink can be either text or a picture Links are created with.
Chapter 28. Copyright 2003, Paradigm Publishing Inc. CHAPTER 28 BACKNEXTEND 28-2 LINKS TO OBJECTIVES Table Calculations Table Properties Fields in a Table.
Creating a Web Site Creating a new Web site Defining and using folders Creating and editing Web pages Viewing pages in a Web browser.
CIS 338: VB.NET Printing Dr. Ralph D. Westfall May, 2011.
XP New Perspectives on Macromedia Dreamweaver MX 2004 Tutorial 5 1 Adding Shared Site Elements.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
 2002 Prentice Hall. All rights reserved. 1 Introduction to the Visual Studio.NET IDE Outline Introduction Visual Studio.NET Integrated Development Environment.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
Murach's ASP.NET 4.5/C#, C2© 2013, Mike Murach & Associates, Inc.Slide 1.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 11 Creating Web Applications and Writing Data to a Database.
Dive Into® Visual Basic 2010 Express
Chapter 2: The Visual Studio .NET Development Environment
Chapter 2 – Introduction to the Visual Studio .NET IDE
ASP.NET Web Controls.
Chapter 2 – Introduction to the Visual Studio .NET IDE
AJAX Rehab AlFallaj.
CIS 338: Images on Forms Dr. Ralph D. Westfall May, 2009.
AJAX Calendar Control Rehab AlFallaj.
Programming with Microsoft Visual Basic 2008 Fourth Edition
Presentation transcript:

CIS 451: ASP Components Dr. Ralph D. Westfall February, 2009

Component Definition Component = prepackaged software object high quality, with features that are often useful commonly used items such as Buttons and TextBoxes, etc. are components

Component Sources Microsoft provides components with Visual Studio and VWDX in the ToolBox 3rd party vendors and open sourcevendors and open source create yourself book on creating components book

ToolBox Components Standard AdRotator - rotates "banner ads" Calendar – for showing year, month etc. on a page FileUpload – for submitting files Ajax Extensions for integrating client side JavaScript into ASP.NET applications

Example: Ad Rotator rotating "banner ads" is a common E-commerce function showing different ads instead of same one payment based on how often ad is shown frequency is based on input factors can show some more often e.g. ad A 80% of time ad B 20% of time

AdRotator: Tutorial, TutorialTutorial create ASP.NET web site right click Project Name, New Folder> rename it to Images find 3 images (or create) Image>Attributes: Width 190, Height 50 add content that looks like advertisement

Put AdRotator on Form drag/drop AdRotator from Standard section of Toolbox onto form Layout>Position>Auto-position Options>Absolutely positioned>OK drag AdRotator to top center could resize it to size of images (190 x 50)

Ad Rotator Parameters key ones can be set in [file].xml file links to images link to advertiser alt text relative frequency # can set some in Properties window also colors, borders, height, width, etc.

Configure Ad Content create an XML file right-click App_Data folder in Solution Explorer>Add new Item>XML File: [file name].xml>Add double-click XML file name to edit it

Configure Ad Content - 2 paste content from tutorial into XML filetutorial change the values for ImageURLs to paths of images (~/images/[image file name]) may modify other XML content items add elements to give relative frequencies

Configuration Data Source click smart tag>New data source>XML file>OK>Data File>Browse>select>OK>OK Adding hyperlink content via a new XML tag ASP.NET AdRotator - Basic and Extending and/or could also use to add text to a labelcould also use to add text to a label

Exercise create a page, add an AdRotator to it create/find images, configure xml file estimate relative frequencies of each one of three ads use refresh button to reload, and count how many times each ad appears try to tell if there is any pattern