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
Search:
What's New - What's Hot
Listings for Client Side/Server Side Scripting Client Side/Server Side Scripting (951)
Listings for Remote Scripting Remote Scripting (16)


Add Scripting to Your Apps with Microsoft ScriptControl     
Total Hits: 281  |  Today: 0Author: George Shepherd      Rating:  
Read Reviews | Write Review |  Your Rating: 

There are two sides to the Active Scripting story: Active Scripting engines and Active Scripting hosts. An Active Scripting engine is a COM component that implements the scripting interfaces and understands how to parse the syntax of a certain scripting language. Microsoft provides scripting engines for VBScript and JScript®. Because the Active Scripting mechanism is hidden behind COM interfaces, you can include multiple disparate scripting engines in your application. In fact, you don't even ne...

Update Web page content dynamically from a single source with DOM-controlled JavaScript     
Total Hits: 17  |  Today: 0Author: Scott Robinson      Rating:  
Read Reviews | Write Review |  Your Rating: 

One aspect of the "dynamic" in Dynamic HTML is the presentation of alternative page content to a particular user, for whatever reason. This "personalization" is best applied in real time, must function efficiently no matter how many users are pinging away on your application server, and is becoming increasingly popular. The underlying code, on those sites you've seen that can do these tricks, is aided by the component technologies of DHTML. JavaScript no doubt leaps to mind....

Disabling Mouse clicks while processing using Javascript     
Total Hits: 121  |  Today: 0Author: aliasgar      Rating:  
Read Reviews | Write Review |  Your Rating: 

We had an ASP.NET page and user can select something in dropdown and press Submit button and depending on that some data is displayed in datagrid. The issue is before even the data comes back the user selects some other value in dropdown and presses “Submit”, which we do not want. We want to disable the mouse clicks of the user till the user gets the data for the first request. Basically I want two javascript functions – One for disabling the mouse clicks and another one for enabling it back....

Embedding JavaScript in ASP.NET     
Total Hits: 252  |  Today: 0Author: Brian Mains      Rating:  
Read Reviews | Write Review |  Your Rating: 

JavaScript can be dynamically added to ASP.NET pages within the code-behind page or through a custom control. Each has the ability to do this through methods defined in the Page class, RegisterClientScriptBlock and RegisterStartupScript. ASP.NET pages implement JavaScript in an application either for validation purposes or visual ones. The language is still very functional, and has a lot of capabilities, especially with the advent of DHTML. JavaScript can still be added to an ASP.NET page within...

Injecting Dynamic JavaScript to Focus ASP.NET Controls     
Total Hits: 259  |  Today: 0Author: Paul Kimmel      Rating:  
Read Reviews | Write Review |  Your Rating: 

It is well-documented that Windows Forms more easily can provide a better user experience and Web Forms offer greater flexibility in deployment. Often, developers are tasked with reconciling these two unique features into a single Web application. Because Web applications are generally stateless, it takes some extra effort to offer some of the convenience of a Windows Forms application. Web controls do not support the focus behavior in the code behind but a client-side script does. This article ...

JavaScript validation : For Textbox-entries of type number,date in the ASP.NET code-behind file !!!     
Total Hits: 127  |  Today: 0Author: Iyer Sankara S H      Rating:  
Read Reviews | Write Review |  Your Rating: 

This article explains ...
In forms when asking for date fields it is a GOOD Idea to validate the date value using client side (JavaScript) validation along with your programming language validation. The following example shows how you can do this for the mm/dd/yyyy format. In forms when asking for date fields it is a good idea to validate the date value using client side (JavaScript) validation along with your programming language validation. The following example shows how you can do this fo...

Walkthrough: Accessing and Displaying Data with JScript .NET in ASP.NET     
Total Hits: 7  |  Today: 0Author: Jason Cooke      Rating:  
Read Reviews | Write Review |  Your Rating: 

ASP.NET provides many new server-side controls that make it easy to program rich ASP.NET applications. In this walkthrough, which features the DataGrid control, you first create a page that uses the DataGrid control. You then bind the control to a table that you create, to the results of a database query, and finally to an XML dataset. Security is an important factor whenever an ASP.NET page accesses data on the server. The examples in this walkthrough implement some basic features to protect yo...

Combine JavaScript with ASP.NET Web forms     
Total Hits: 59  |  Today: 0Author: Tony Patton      Rating:  
Read Reviews | Write Review |  Your Rating: 

ASP.NET provides a new paradigm for developing Web-based applications. This includes a set of server-based controls that are analogous to HTML form elements such as text boxes, buttons, and so forth. The problem with these controls is the need to call the server. JavaScript provides an alternative for many tasks that negates the need to go to the server. Let's take a closer look at combining the power of JavaScript with ASP.NET....

Displaying Information with JScript .NET     
Total Hits: 15  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

Programs typically display information to a user. The most basic method is to display a text string. A JScript program may display information through different procedures depending on the use of the program. There are three common ways to use JScript: in an ASP.NET page, in a client-side Web page, and from the command line. Some methods for displaying from each environment are discussed here....

Writing, Compiling, and Debugging JScript Code     
Total Hits: 13  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

The Visual Studio Integrated Development Environment (IDE), which is the common development environment for all languages, provides tools and validation schemes that help you write reliable code. The IDE also provides debugging features that help you reconcile inconsistencies and resolve coding mistakes....

Getting Started With JScript .NET     
Total Hits: 17  |  Today: 0Author: Microsoft      Rating:  
Read Reviews | Write Review |  Your Rating: 

JScript .NET represents a major advance of the JScript language in several ways. With tighter integration into the Visual Studio .NET development environment, multiple new features, and access to the .NET Framework classes, moving from JScript to JScript .NET may appear at first to be a daunting task. In reality, almost all of the changes represent additional functionality, while the core JScript .NET functionality is the same as in previous versions. Practically all JScript scripts will run wit...

Build a WHOIS Lookup in ASP.NET     
Total Hits: 74  |  Today: 0Author: Peter Todorov      Rating:  
Read Reviews | Write Review |  Your Rating: 

I've heard this question hundreds of times: “How do I write a script that will check domain availability?” Today I’ll show you how to implement so called WHOIS script in C# and ASP.NET. The WHOIS script is used to check domain name availability, or to find out who owns a particular domain name....

Paranoia: Cross Site Scripting     
Total Hits: 28  |  Today: 0Author: Tiberius OsBurn      Rating:  
Read Reviews | Write Review |  Your Rating: 

They're watching you, you know that? They've been scoping you out for quite some time, looking at ways to screw with you and your site. All right, you think your code is secure, eh? Got the latest handy-dandy encryption on your stuff, and you're all up to snuff on your patches and service packs. But you know what? You're making a critical blunder on your site, and you might not even know it....

Using JavaScript Along with ASP.NET     
Total Hits: 36  |  Today: 0Author: Bill Evjen      Rating:  
Read Reviews | Write Review |  Your Rating: 

Web developers have been working around the limitations of the browser for a long time by using a combination of server-side processing and client-side processing. Working logic and application processes on the client-side allows browser based applications to seem more responsive and to have more "snappiness" to them. For client-side development in the past, most developers turned to JavaScript and intermingled this programming language into their classic Microsoft® Active Server Pages along wit...

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

If you're involved in Web development you may have faced a problem that you couldn't find a good solution for—making client-to-server calls outside the current page. For example, you might want to validate the content of a textbox against data stored on the server asynchronously, without interrupting the continuity of the work or without forcing a full page refresh, which is particularly heavy for UI-rich pages. How would you code such an out-of-band call from the client to the server and back? ...

VBSCRIPT - Window Always On Top     
Total Hits: 176  |  Today: 0Author: Vincegee      Rating:  
Read Reviews | Write Review |  Your Rating: 

This program's purpose is to load the target url and keep it in focus and covering the whole screen until the user selects a button on the screen which closes the window or hit's. The code is pretty self documenting. Just cut and paste it into a .vbs file. Change the URL to any address, be it on the web or a network UNC path....

Enhancing ASP+ Applications with Javascript     
Total Hits: 24  |  Today: 0Author: TopXML      Rating:  
Read Reviews | Write Review |  Your Rating: 

This session is targeted at ASP programmers who are looking to expand their knowledge beyond server-side development and move more into client-side development with JavaScript. This seminar will cover a variety of "tips & tricks" that ASP programmers can use to enhance all of their applications. Traditionally, server-side is developed with ASP, and JavaScript is used for the client-side programming....

Custom Script Callbacks in ASP.NET     
Total Hits: 9  |  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...

Script CallBack In ASP.NET 1.1     
Total Hits: 14  |  Today: 0Author: sndshreeman      Rating:  
Read Reviews | Write Review |  Your Rating: 

In my last article, Remote Scripting, Webservice Behavior, and Script Callback, I talked about remote scripting, Web service behavior, and script callback in ASP.NET 2.0. However, I didn't discuss the possibility of script callback in ASP.NET 1.1. So, in this article you will explore the scriptcall back functionality in ASP NET version 1.1. However, for those who yet don't know what script callback is, I will give a quick overview before proceeding to the implementation details of the same in AS...

DoPostBack Hijacking     
Total Hits: 20  |  Today: 0Author: Damon Armstrong      Rating:  
Read Reviews | Write Review |  Your Rating: 

If you have ever needed to execute client script before submitting a Web form, then you may have run across a behavioral issue with the .NET Framework. The RegisterStartupScript() method is used to place client script in the onsubmit event of a Web form, where you would always expect it to be executed before form submission. When Web controls use the AutoPostBack mechanism, however, the onsubmit code will never get executed. This can cause a great deal of frustration if you need your script to e...



Disclaimer - Privacy
© 2002-2012 DevASP.net