Extending the ImageMap HTML Control with AJAX 1.0 Extensions 4 January 2008
Posted by Ahmed Abdul Moniem in Web Application Development.add a comment
ASP.NET 2.0 CSS Friendly Control Adapters 1.0 4 January 2008
Posted by Ahmed Abdul Moniem in Web Application Development.add a comment
Introduction
See full site from here
Welcome! ASP.NET is a great technology for building web sites but it would be even better if it provided more flexibility for customizing the rendered HTML. For example, the Menu control makes it simple to add a menu to a web site, but it would be better if it didn’t create <table> tags and was easier to style using CSS. Happily, it’s easy to customize and adapt the Menu control to generate better HTML. Indeed, you can modify any ASP.NET control so it produces exactly the HTML you want.
The key is to use something that may be new to you: control adapters. These are little chunks of logic that you add to your web site to effectively “adapt” an ASP.NET control to render the HTML you prefer. The ASP.NET 2.0 CSS Friendly Control Adapters kit provides pre-built control adapters that you can easily use to generate CSS friendly markup from some of the more commonly used ASP.NET controls.
Getting Started
Before trying to learn how control adapters work, it’s helpful to see them in action. Use the Examples menu at the top of this page to see the impact of adapting some of the ASP.NET controls.
Each example page lets you enable/disable the adapters so you can immediately see their impact. Likewise, you can dynamically change themes, swapping in a different set of CSS files without changing the HTML markup. A source code viewer lets you study how each sample is constructed.
These sample control adapters demonstrate how to build an ASP.NET web site that is particularly easy to style with CSS. Feel free to use, copy, clone and modify the markup, CSS and code that you find here. To experiment with a local copy of this web site:
- Install Visual Web Developer (VWD) or Visual Studio 2005 (VS).
- Download this kit’s VSI file. It adds a new web site template to your installation of VWD/VS.
- Use the File menu in VWD/VS to create a new web site that uses the new template: Tutorial on ASP.NET CSS Friendly Control Adapters.
- Run the new web site using the built-in Cassini web server (F5 key in VWD/VS).
Also you can see this video tutorial: How Do I: Utilize the CSS Friendly Control Adapters? from here
Web Embedding Fonts Tool (WEFT) 4 January 2008
Posted by Ahmed Abdul Moniem in Web Application Development.add a comment
About WEFT
The Web Embedding Fonts Tool (WEFT) lets Web authors create ‘font objects’ that are linked to their Web pages so when viewed through the browser, pages are displayed in the style contained in the font object.
see the full article from here
Working with Data in ASP.NET 2.0 8 April 2007
Posted by Ahmed Abdul Moniem in Web Application Development.1 comment so far
Introduction
Basic Reporting
- Displaying Data With the ObjectDataSource
- Declarative Parameters
- Programmatically Setting the ObjectDataSource’s Parameter Values
Master/Detail
- Master/Detail Filtering With a DropDownList
- Master/Detail Filtering With Two DropDownLists
- Master/Detail Filtering Across Two Pages
- Master/Detail Using a Selectable Master GridView with a Details DetailView
Custom Formatting
- Custom Formatting Based Upon Data
- Using TemplateFields in the GridView Control
- Using TemplateFields in the DetailsView Control
- Using the FormView’s Templates
- Displaying Summary Information in the GridView’s Footer
Editing, Inserting, and Deleting Data
- An Overview of Inserting, Updating, and Deleting Data
- Examining the Events Associated with Inserting, Updating, and Deleting
- Handling BLL- and DAL-Level Exceptions in an ASP.NET Page
- Adding Validation Controls to the Editing and Inserting Interfaces
- Customizing the Data Modification Interface
- Implementing Optimistic Concurrency
- Adding Client-Side Confirmation When Deleting
- Limiting Data Modification Functionality Based on the User
Paging and Sorting
- Paging and Sorting Report Data
- Efficiently Paging Through Large Amounts of Data
- Sorting Custom Paged Data
- Creating a Customized Sorting User Interface
Custom Button Actions
Displaying Data with the DataList and Repeater
- Displaying Data with the DataList and Repeater Controls
- Formatting the DataList and Repeater Based Upon Data
- Showing Multiple Records per Row with the DataList Control
- Nested Data Web Controls
Filtering Scenarios with the DataList and Repeater
- Master/Detail Filtering With a DropDownList
- Master/Detail Filtering Across Two Pages
- Master/Detail Using a Bulleted List of Master Records with a Details DataList
Editing and Deleting Data Through the DataList
- An Overview of Editing and Deleting Data in the DataList
- Performing Batch Updates
- Handling BLL- and DAL-Level Exceptions
- Adding Validation Controls to the DataList’s Editing Interface
- Customizing the DataList’s Editing Interface
- Implementing Optimistic Concurrency
- Adding Client-Side Confirmation When Deleting
- Limiting Data Modification Functionality Based on the User
Paging and Sorting with the DataList and Repeater
Custom Button Actions with the DataList and Repeater
Accessing the Database Directly from an ASP.NET Page
- Querying Data with the SqlDataSource Control
- Using Parameterized Queries with the SqlDataSource
- Inserting, Updating, and Deleting Data with the SqlDataSource
- Implementing Optimistic Concurrency with the SqlDataSource
Enhancing the GridView
- Adding a GridView Column of Radio Buttons
- Adding a GridView Column of Checkboxes
- Inserting a New Record from the GridView’s Footer
Working with Binary Files
- Uploading Files
- Displaying Binary Data in the Data Web Controls
- Including a File Upload Option When Adding a New Record
- Updating and Deleting Existing Binary Data
Caching Data
- Caching Data with the ObjectDataSource
- Caching Data in the Architecture
- Caching Data at Application Startup
- Using SQL Cache Dependencies
Database-Driven Site Maps
Working with Batched Data
Advanced Data Access Scenarios
- Creating New Stored Procedures for the Typed DataSet’s TableAdapters
- Using Existing Stored Procedures for the Typed DataSet’s TableAdapters
- Updating the TableAdapter to Use JOINs
- Adding Additional DataTable Columns
- Working with Computed Columns
- Configuring the Data Access Layer’s Connection- and Command-Level Settings
- Protecting Connection Strings and Other Configuration Information
- Debugging Stored Procedures
- Creating Stored Procedures and User-Defined Functions with Managed Code
Step-By-Step Web Application Development 12 September 2006
Posted by Ahmed Abdul Moniem in Web Application Development.7 comments
In this category “Web Application Development” we will be concerned ONLY in developing some web applications using ASP.NET 2.0 and C# 2005 mainly.
This post is the start of this category and I hope to hear from you some ideas to web applications to develop here step-by-step in this section and all the source code will be supplied to my blog visitors for free and may be it will be licensed using GPL license.
So, I am waiting for your ideas and I hope it will effective and creative ….
Note:
All the applications which will be developed will walk on these guide lines step-by-step:
1- Project Life Cycle
2-N-Tier Application Development with Microsoft.NET
