Search - Articles - Dev Forums - Favorites - Member Login  
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Wednesday, March 10, 2010

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 (637)
Listings for Remote Scripting Remote Scripting (20)


JavaScript TreeView v1.01    Version: 0.00       Price: $0.00   
Total Hits: 4  |  Today: 0 Author: Navnath R. Kale       Rating:  
Read Reviews | Write Review |   Your Rating: 

This article explains the use of TreeView control developed in JavaScript. As you all may be familiar with the existing ASP.net TreeView provided with .Net framework, this control actually tries to mimic the same in coding style. So, developers who have worked on ASP.Net TreeView control would find it much easier to implement....

JavaScript DateTime and TimeSpan Wrappers    Version: 0.00       Price: $0.00   
Total Hits: 6  |  Today: 0 Author: Jose Menendez Póo       Rating:  
Read Reviews | Write Review |   Your Rating: 

I have always liked the way .NET's DateTime and TimeSpan classes are designed. I find them very useful and intuitive. This couple of classes are designed to work very similar.

* The project is hosted at: http://sourceforge.net/projects/jsdatetime...

JQueryUI Datepicker in ASP.Net MVC    Version: 0.00       Price: $0.00   
Total Hits: 7  |  Today: 0 Author: Rajeesh.C.V       Rating:  
Read Reviews | Write Review |   Your Rating: 

Datepicker is nice and cool plugin for displaying the calendar with ease. It is very easy to use JQuery plugin, it comes as part of JQueryUI library, so if you want to use this – first download JQueryUI from http://jqueryui.com/download and also download JQuery(http://docs.jquery.com/Downloading_jQuery) if you haven’t done yet....

How to: Protect Against Script Exploits in a Web Application by Applying HTML Encoding to Strings    Version: 0.00       Price: $0.00   
Total Hits: 1  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Most scripting exploits occur when users can get executable code (or script) into your application. By default, ASP.NET provides request validation, which raises an error if a form post contains any HTML....

Disable all 'links' on the page via Javascript    Version: 0.00       Price: $0.00   
Total Hits: 4  |  Today: 0 Author: Sandeep Mewara       Rating:  
Read Reviews | Write Review |   Your Rating: 

While working on one of the feature asked by client to disable all the controls of the panel while an asynchronous operation is in process, I encountered that though link buttons are disabled(grayed out) they can still be clicked (thus they still work!)Frown...

URL Routing and Stylesheets/Javascript    Version: 0.00       Price: $0.00   
Total Hits: 8  |  Today: 0 Author: Stephen Inglish       Rating:  
Read Reviews | Write Review |   Your Rating: 

When working with the new URL routing portion of the ASP.NET 4.0, there is a gotcha that needs to be worked around.

Assume a website with the following structure:
~/Images/header.jpg
~/Stylesheets/style.css
~/Scripts/scripts.js...

How to: Add Client Script Dynamically to ASP.NET Web Pages    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Using server code, you can add client script to a page. Creating client script in server code is useful when the contents of the client script depend on information that is not available until run time. Adding client script to the page dynamically is also useful when you want the client script to execute in the following situations:

*

When the page has finished loading
*

When users submit the page...

How to: Respond to Button Web Server Control Events in Client Script    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

Button controls can raise both server events and client events. Server events occur after postbacks, and they are handled in the server-side code that you write for the page. Client events are handled in client script, typically JavaScript (ECMAScript), and they are raised before the page is submitted. By adding client-side events to ASP.NET button controls, you can perform tasks such as displaying confirmation dialog boxes before submitting the page, and canceling the page submission altogether...

How to: Add Client Script Events to ASP.NET Web Server Controls    Version: 0.00       Price: $0.00   
Total Hits: 2  |  Today: 0 Author: Microsoft Corporation       Rating:  
Read Reviews | Write Review |   Your Rating: 

You can add client script to controls on an ASP.NET Web page declaratively, as you would to HTML elements. Alternatively, you can add client script events to an ASP.NET Web server control programmatically, which is useful if the event or the code relies on information that is available only at run time....

Integrating TypeMock with ASP .NET Unit tests    Version: 0.00       Price: $0.00   
Total Hits: 7  |  Today: 0 Author: noorani_786       Rating:  
Read Reviews | Write Review |   Your Rating: 

When it comes to writing unit tests for your ASP .NET pages, there isn’t much help out there. I experimented with a few open source testing tools and found some major limitations. Both NUnitAsp and WaitN, for instance, are “client-side” tools. In other words, you have to write your tests against the actual HTML output. For example, to get the value of a textbox, you have to specify the actual HTML id of the textbox. That’s painful! Especially, since ASP .NET ends up assigning long and complicate...

SharePoint 2010: Client Object Model for JavaScript (ECMAScript)    Version: 0.00       Price: $0.00   
Total Hits: 7  |  Today: 0 Author: Sohel_Rana       Rating:  
Read Reviews | Write Review |   Your Rating: 

As I said in my first post on Client Object Model (OM), there are three sets of Client OM: Managed .net client, Silverlight and ECMAScript. Lately I have posted an article on how to use Client OM from Managed .Net Client.Today I’ll go through Client OM for JavaScript. ECMAScript Client OM is SharePoint 2010 client object model extension for using with JavaScript or JScript. Few points to notice about ECMAScript Client OM:

* ECMAScript object model can only be used in SharePoint sites...

SharePoint 2010: Managed .net Client with Client Object Model (OM)    Version: 0.00       Price: $0.00   
Total Hits: 5  |  Today: 0 Author: Sohel_Rana       Rating:  
Read Reviews | Write Review |   Your Rating: 

In my previous post on Client OM I discussed on the basic ideas. In this post I'll explain how to use Client OM from Managed .net client. The client Object Model for Managed .net application allows any .net managed application to communicate with SharePoint server without using any web service reference. Say you have a WPF application and from that WPF application you need to get data from SharePoint calendar. In the days of SharePoint 2007 you could read the calendar data from SharePoint throug...



DevASP.Net - Disclaimer - Privacy
© 2002-2010 DevASP.net