Search - Articles
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Tuesday, March 03, 2009
Dev Articles
Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home >Search > Articles & Samples > ASP.Net > Scripting > Client Side/Server Side Scripting


Search:
What's New - What's Hot
Minify Javascript and CSS using Microsoft Ajax Minifier  Version: 0.00     Price: $0.00  
Total Hits: 2  |  Today: 0Author: andy404      Rating:  
Read Reviews | Write Review |  Your Rating: 

Compressing and reducing the size of JavaScript files significantly increases the performance of website. Compressing can be achieved by configuring IIS to use GZIP compression. Minifying involves removal of unnecessary content from the JavaScript . Microsoft ASP.NET recently released Microsoft Ajax Minifier. This library was being used internally by Microsoft Ajax team to minify the Microsoft Ajax Library before publishing it....

A Collection of JavaScript Gotchas  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: Jonathan Cardy      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article is an introduction to the weird side of JavaScript, and it definitely has a weird side! Software developers who usually write code in another language will find a lot of intriguing "features" when they begin to write code in the world's most widely used language. Hopefully even seasoned JavaScript developers will find some new gotchas in this article that they can watch out for. Enjoy!...

Javascript Operators === & !==  Version: 0.00     Price: $0.00  
Total Hits: 2  |  Today: 0Author: Antoun Gorgy      Rating:  
Read Reviews | Write Review |  Your Rating: 

On comparing them using the "==" operator, it will give true !...

WCF Web Service and JavaScript  Version: 0.00     Price: $0.00  
Total Hits: 23  |  Today: 0Author: stephen.vaubell      Rating:  
Read Reviews | Write Review |  Your Rating: 

Over the last week or so, I have been playing around with a simple WCF service to send and receive data from JavaScript using jQuery. I thought that this would be a lot easier than I found it. The other interesting thing I found is that a few people seem to have had trouble getting the two to connect and work. When I set up a standard Service in Visual Studio 2010, I thought it would be easy. You would just use $.ajax to send through the request and wait for an answer from the service. Now, this...

Form Validation with Regular Expression Short Version     
Total Hits: 102  |  Today: 0Author: alfi uziel      Rating:  
Read Reviews | Write Review |  Your Rating: 

This is a short and simple form validation code that uses regular expression to compare the user input to the pattern rule defined by a regular expression string. form validation code will either use "if" statments, or regular expressions to validate that the user entered the currect information . The main difference between this code and others , is that the regular expression pattern, and the error message, both are located inside the html control tag and not in the function itself....

Persian Calendar and Date Picker for Web Applications (JavaScript)     
Total Hits: 80  |  Today: 0Author: Amin Habibi S.      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Persian Calendar is used in most countries where Persian is spoken, although some regions use different month names. The Persian calendar is the official calendar of Iran and Afghanistan, and is one of the alternative calendars in regions such as Kazakhstan and Tajikistan. The Persian calendar is based on a solar year, and is approximately 365 days long. A year cycles through four seasons, and a new year begins when the sun appears to cross the equator from the southern hemisphere to the nor...

Lazy Loading jQuery Tabs with ASP.NET     
Total Hits: 63  |  Today: 0Author: Mikesdotnetting      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article looks at efficient use of jQuery tabs when displaying data. Specifically, it covers how to lazy-load data, so that it is only accessed and displayed if the tab is clicked. Lazy Loading is a well-known design pattern that is intended to prevent redundant processing within your application. In the case of tabbed data, there seems little point retrieving and binding data that appears in a tabbed area that no one looks at. So, this examples covers how to defer data access and display un...

Printing from a Web Page, Screen Scraping, Origin of an HTTP Request, and More     
Total Hits: 65  |  Today: 0Author: Robert Hess      Rating:  
Read Reviews | Write Review |  Your Rating: 

I need a way to use a control on a Web page as a print button, just like the print option on the Microsoft® Internet Explorer toolbar. I don't want the print dialog to pop up; I want to use the default printer, and I want to constrain the print count to one.
The need to control printing from the browser is fairly common, and the amount of functionality you can provide will depend on which version of the browser is involved. Beginning with Internet Explorer 4.0, you could use the ExecWB funct...

Client-side Environment for ASP Pages-Part 2     
Total Hits: 38  |  Today: 0Author: Dino Esposito      Rating:  
Read Reviews | Write Review |  Your Rating: 

Last month (September 2000) I gave you a quick tour of the script technologies you need to create a client-side environment that can execute ASP pages. I built a custom browser in Visual Basic® that is capable of processing ASP pages without Microsoft® Internet Information Services (IIS). This browser renders the HTML contained in an ASP page when you double-click on the ASP file. This information allows you to write ASP pages that are more versatile; they'll work both online and offline. When...

A Client-side Environment for ASP Pages     
Total Hits: 52  |  Today: 0Author: Dino Esposito      Rating:  
Read Reviews | Write Review |  Your Rating: 

ASP is a Web technology that relies specifically on capabilities of Microsoft® Internet Information Services (IIS). For this reason, very few commercial products have attempted to provide an ASP-to-HTML converter. The problem with such converters is that you must work in conjunction with the Web server to trigger the ASP parser and find the intrinsic objects available. When you double-click on an HTML page from the Explorer shell, you simply ask the browser to retrieve and render the source cod...

Implications of Script Callbacks in ASP.NET     
Total Hits: 33  |  Today: 0Author: Dino Esposito      Rating:  
Read Reviews | Write Review |  Your Rating: 

Script callbacks in ASP.NET 2.0 is a feature whose time has come. Script callbacks can significantly speed up an application by limiting server postbacks. They also allow you to execute small portions of server-side code without having to manage the view state for reading or writing.
In the August installment of Cutting Edge I began my discussion of ASP.NET 2.0 script callbacks, and this month I'll go into it further (see Cutting Edge: Script Callbacks in ASP.NET). I'll clarify some cross-pla...

Design Your Own Weblog Application from Scratch Using ASP.NET, JavaScript, and OLE DB     
Total Hits: 33  |  Today: 0Author: Marco Bellinaso      Rating:  
Read Reviews | Write Review |  Your Rating: 

The ASP.NET advanced templated controls, such as the DataList and DataGrid, are perfect for many data representation situations. However, when you need the flexibility to render a variety of layouts, the Repeater control is what you need. In this article the author builds a full-featured blog application to illustrate the use of the Repeater and DataList controls that render nested data in a master-detail relationship. He then discusses how to override the default implementations of these contro...

Custom Script Callbacks in ASP.NET     
Total Hits: 29  |  Today: 0Author: Dino Esposito      Rating:  
Read Reviews | Write Review |  Your Rating: 

ASP.NET client callbacks represent a neat and elegant way to execute server-side code without posting and refreshing the current page. I discussed ASP.NET callbacks in the August and December 2004 installments of Cutting Edge, considering them from the perspective of rendered pages making background callbacks to the server, sending input data to the relevant page, and receiving a response. The response string can then be processed by the client however it sees fit, often manipulating the rendere...

Eight Reasons Windows Administrators Should Learn JScript Instead of VBScript     
Total Hits: 148  |  Today: 0Author: Bill Stewart      Rating:  
Read Reviews | Write Review |  Your Rating: 

When Windows NT was first released, Microsoft did not provide much in the way of automation except for the Cmd.exe shell. You could always install third-party tools such as Perl (and this is still the case), but the operating system didn't provide much built-in scripting functionality. This changed, though, with the release of the Windows Script Host (WSH) and HTAs (HTML applications). One nice advantage of both WSH scripts and HTAs is that they're both built into the OS on Windows 2000 and late...

Using Client-side Script to Focus Controls in ASP.NET     
Total Hits: 251  |  Today: 0Author: CodeGuru      Rating:  
Read Reviews | Write Review |  Your Rating: 

Many users want Web applications to be as responsive as Windows applications. Default, user-friendly features such as "focusing" control behavior'—call SetFocus in Windows'—doesn't come cheaply with Web applications. Learn how you can use injected JavaScript to set the focus control in ASP.NET....

Custom Paging results in ASP.NET using A Better Way     
Total Hits: 71  |  Today: 0Author: dotnetindex      Rating:  
Read Reviews | Write Review |  Your Rating: 

This source code is very useful for all web developers who wants to divide their database results into pages. You can easily modify source code to use in your applications. Script can display numbers of total pages and a Next/Previous link. Script uses two database connection and uses less server memory...

Creating sitemap of a website     
Total Hits: 77  |  Today: 0Author: dotnetindex.com      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article explains that how to create sitemap of web site. Script displays all folder and files in your site path. Script can be installed quickly, all you need is to upload only one file. You must place aspx file in the root of your directory. However, if you modify source code, you can put this script anywahere in your site....

Codeproject Forums Date - Google Chrome Extension  Version: 0.00     Price: $0.00  
Total Hits: 1  |  Today: 0Author: Fabio V Silva      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article is a result of me trying to learn the principles of Google Chrome extensions.

It shows how to put together a very simple extension that can change the content of a desired web page – in this case the time display format used in the forums – using jQuery....

Absolute Position of a DOM Element  Version: 0.00     Price: $0.00  
Total Hits: 4  |  Today: 1Author: Sergiy Korzh      Rating:  
Read Reviews | Write Review |  Your Rating: 

Sometimes (especially in AJAX projects), it is necessary to get the position of some DOM element in "absolute" coordinates within the current document. For example, such an "absolute" position is needed if you would like to show some hidden DIV object exactly on the position (or with some offset) of another element. We use this function in one of our projects to show a popup menu under a text label....

Dynamic Font Size Using HTML and JavaScript  Version: 0.00     Price: $0.00  
Total Hits: 2  |  Today: 0Author: gggustafson      Rating:  
Read Reviews | Write Review |  Your Rating: 

Many web pages can benefit from an ability for the user to change the font size dynamically. This article describes a method to build web pages that provide that functionality using HTML and JavaScript. Quite often, I find myself using the Ctrl-Plus shortcut (in Internet Explorer) to increase the size of a web page font. Unfortunately, that shortcut increases the size of all web page components (e.g., figures, text boxes, etc.), some of which I do not want increased....


1  2  3  4  5  6  7  8  9  10  Next >> 


Disclaimer - Privacy
© 2002-2012 DevASP.net