.NET news » Search results

Search results for query "pages" (52):

Building Interactive User Interfaces with Microsoft ASP.NET AJAX: Enabling Bookmarking and the Browser's Back Button

Starting with ASP.NET 3.5 SP 1, the ScriptManager control in the ASP.NET AJAX Framework includes functionality for creating history points in an AJAX-enabled web page. Adding a history point creates an entry in the browser's history for a particular page state.

This article shows how to add history points using the ScriptManager control. In particular, it shows how to record history points whenever the user pages or sorts a GridView.

2008-10-07 19:00:00   Source: Building Interactive User Interfaces with Microsoft...   Tags: Ajax ASP.NET

Looking at Themes and Skins

In this screencast available here we take a look at one of the new features of ASP 2.0 called Themes and Skins. A theme is a collection of property settings that allow a Web page to define a common look and for pages and controls. Themes are made up of elements: skins, Cascading Style Sheets (CSS), images and other defined resources.
View Looking at Themes and Skins
2006-02-06 05:36:00   Source: Looking at Themes and Skins   Tags: ASP.NET GUI

Creating Web Sites with ASP.NET 2.0

"Web application development has come a long way in a fairly short period of time." A quote like that surely won't send anyone into shock anytime soon because it's accepted as fact. From basic, static HTML pages to totally data-driven and data-centric Web applications, the demands on a Web developer are much more complex and demanding than they were just a few years ago. The advent of social networking sites like MySpace, which is written in ASP.NET 2.0, interactive mapping sites, and sites streaming full motion video has required the Web developer to adapt and change with the times. One of the best tools to use to build these types of Web applications is Microsoft's ASP.NET 2.0. In this article I am going to delve into some of the more interesting features of ASP.NET 2.0 and show you how you can begin using ASP.NET 2.0 on your next Web project.
2007-08-26 19:00:00   Source: Creating Web Sites with ASP.NET 2.0   Tags: ASP.NET

Google Maps Control for ASP.Net - Part 1

Google has provided a very reach Google Maps API to use it in our own application. But we need some short of javascript knowledge in order to use it. I don't know about others, but for me it was a little difficult to use javascript along with google apis in ASP.Net pages, specifically if you want to use server side functions to draw google map dynamically. For example, in my case I wanted to pull latitude longitude information from a SQL Server database and then use them to insert pushpins on google map. If you are familiar with Ajax framework, you know the answer. You will have to call asp.net server side function from javascript and use retrieved data to draw a google map. How simple is that? :). Atleast not for me. So I have decided to write a user control which can take care of javascript part and allows me to concentrate on serverside functions.
2008-05-12 23:45:00   Source: Google Maps Control for ASP.Net - Part 1   Tags: ASP.NET Ajax

Karamasoft UltimateSpell

UltimateSpell is an ASP.NET control to spell check editable content on your web pages. * AJAX Enabled - Spell check very long text without compromising on speed. Sends small blocks of text to server using AJAX techniques without refreshing the page. * Auto Find - Drag-and-drop the control onto your page, and you're done. It automatically finds and spell checks all editable controls. * Cache Dictionary - Automatically caches dictionaries for fast interaction and data retrieval. * Lots of Dictionaries - Currently 34 dictionaries available on our website. If not enough you can use your own dictionary as well. * Show Options - Change the spelling options either on the server-side, or on the client-side inside the spell check dialog box at runtime.
2005-12-21 07:13:53   Source: Karamasoft UltimateSpell   Tags: Components ASP.NET

13 Steps for Building a Lookup Page Using ASP.NET 2.0, SQL 2005, and C# 2.0

Lookup and navigation screens initially seem like no-brainers, when compared to other parts of an application-yet by the time a developer has met all the user requirements and requests, he/she has expended much more time than expected. This issue of The Baker's Dozen will build a lookup Web page using ASP.NET 2.0, SQL Server 2005, and C# 2.0. The lookup and results page will contain optional lookup criteria and custom paging of the result set. The solution will utilize new language features in SQL 2005 for providing ranking numbers to correlate with custom paging, and new capabilities in .NET generics to pump the results of a stored procedure into a custom collection. Just like Mr. Mayagi taught Daniel the martial arts by doing exercises, the example in this article will demonstrate some common design patterns, such as factory creation patterns, using .NET generics. The article also subtly presents a general methodology for building database Web pages.

2007-03-01 18:00:00   Source: 13 Steps for Building a Lookup Page Using ASP.NET 2.0,...   Tags: ASP.NET

Creating Validator Controls for the CheckBox and CheckBoxList

ASP.NET provides a variety of validation Web controls that can be used to validate a user's form field inputs. Unfortunately, the validation Web controls do not work with the CheckBox or CheckBoxList Web controls. If you set a validation control's ControlToValidate property to the ID of a CheckBox or CheckBoxList, the page will throw an HttpException, stating: "Control 'controlID' referenced by the ControlToValidate property of 'validationControlID' cannot be validated."

There may be times, however, when you need to provide validation for a CheckBox or CheckBoxList. Many Web pages with Terms of Service include a CheckBox titled "I agree to the above terms" that must be checked before continuing. Likewise, a Web Form may contain a set of options in the form of a CheckBoxList. Perhaps the user is required to check at least one of these options before continuing.

In this article we'll create two custom server controls, CheckBoxValidator and CheckBoxListValidator. The download at the end of this article includes both the entire source code and a compiled assembly that you can drop into your ASP.NET 2.0 web applications..

2006-09-19 19:00:00   Source: Creating Validator Controls for the CheckBox and...   Tags: ASP.NET

Building ASP.NET Single Page Applications in HTML 5 with Upshot

A Single Page Application (SPA) is a different way of building HTML 5 applications from traditional Web page development. Instead of spreading the functionality of your Web applications across a collection of separate Web pages with hyperlinks between them, you instead define a single root page that the user lands on and never leaves as long as they are working with your application. You define client-side logic that switches out the data and chunks of content within that page to allow the user to navigate from logical screen to logical screen without ever leaving the page. This means that the user never sees a full page refresh while using your application. They see portions of the screen change based on their interaction, and those changes can be done in a more fluid way with transitions to enhance the user experience. You can also support using the application while offline by storing data client-side, based on some of the newer APIs of HTML 5. Taking this approach makes an SPA feel very much like a desktop application to the end user.

2012-08-15 18:00:00   Source: Building ASP.NET Single Page Applications in HTML 5 with...   Tags: ASP.NET

Accessing Server-Side Data from Client Script: Using WCF Services with jQuery and the ASP.NET Ajax Library

Today's websites commonly exchange information between the browser and the web server using Ajax techniques - the browser executes JavaScript code typically in response to the page loading or some user action. This JavaScript makes an asynchronous HTTP request to the server. which then processes the request and, perhaps, returns data that the browser can then seamlessly integrate into the web page. Two earlier articles - Accessing JSON Data From an ASP.NET Page Using jQuery and Using Ajax Web Services, Script References, and jQuery, looked at using both jQuery and the ASP.NET Ajax Library on the browser to initiate an Ajax request and both ASP.NET pages and Ajax Web Services as the entities on the web server responsible for servicing such Ajax requests.

This article continues our examination of techniques for implementing lightweight Ajax scenarios in an ASP.NET website. Specifically, it examines how to use the Windows Communication Foundation, or WCF, to serve data from the web server and how to use both the ASP.NET Ajax Library and jQuery to consume such services from the client-side.

Using ASP.NET, Membership, and jQuery to Determine Username Availability

Chances are, at some point you've tried creating a new user account on a website and were told that the username you selected was already taken. This is especially common on very large websites with millions of members, but can happen on smaller websites with common usernames, such as people's names or popular words or phrases in the lexicon of the online community that frequents the website. If the user registration process is short and sweet, most users won't balk when they are told their desired username has already been taken - they'll just try a new one. But if the user registration process is long, involving several questions and scrolling, it can be frustrating to complete the registration process only to be told you need to return to the top of the page to try a different username.

Many websites use Ajax techniques to check whether a visitor's desired username is available as soon as they enter it (rather than waiting for them to submit the form). This article shows how to implement such a feature in an ASP.NET website using Membership and jQuery. This article includes a demo available for download that implements this behavior in an ASP.NET WebForms application that uses the CreateUserWizard control to register new users. However, the concepts in this article can be applied to ad-hoc user registration pages and ASP.NET MVC.

Read on to learn more!

2011-02-22 18:00:00   Source: Using ASP.NET, Membership, and jQuery to Determine...   Tags: Ajax