Wednesday, August 29, 2012

Asp.net button OnClientClick Confirm Message


The Asp.Net button has 2 attributes to trigger a click event OnClick and OnClientClick.

OnClientClick – Calls the client side (JavaScript) event handler
OnClick – Calls the server side (code-behind) event handler

The
OnClientClick event handler can be used to perform client side validations and to get a confirmation from the user before triggering the server side event handler as follows.

OnClientClick="if(!confirm('Are you sure you want to Save?')) return false;"

Here is a full example

Asp.Net Button OnClientClick prevent post back.


The Asp.Net button has 2 attributes to trigger a click event OnClick and OnClientClick.

OnClientClick – Calls the client side (JavaScript) event handler
OnClick – Calls the server side (code-behind) event handler

The
OnClientClick event handler will be executed first, followed by the OnClick event handler.

In some cases we will have to stop calling the server side event after executing the client side event (Ex: When the client side validation fails), this can be achieved by returning false from the client side function which handles the OnClientClick
event as follows.

Here is a full example

Asp.Net Button OnClick Vs OnClientClick


The Asp.Net button has 2 attributes to trigger a click event OnClick and OnClientClick.

OnClientClick – Calls the client side (JavaScript) event handler
OnClick – Calls the server side (code-behind) event handler

The
OnClientClick event handler will be executed first, followed by the OnClick event handler.

The
OnClientClick event handler can be used to perform client side validations before the page is submitted, the OnClick event handler can be used to perform server side operations like saving data to database.

Here is an example using both the events.

How to: Call JavaScript function on OnClientClick event of Asp.Net button

The Asp.Net button is a server control and its click event is by default associated with a server side event handler function as follows.
OnClick="btnSave_Click"
But there are situations where we need to perform client side operations by calling a JavaScript function before submitting the page to the server side event handler, this can be achieved by assigning a JavaScript function to the OnClientClick event of the button as follows.
OnClientClick="JavascriptFunction();

Here is a full example


Asp.Net Button OnClientClick Example


The Asp.Net button has 2 attributes to trigger a click event OnClick and OnClientClick.

OnClientClick
– Calls the client side (JavaScript) event handler
OnClick – Calls the server side (code-behind) event handler

The
OnClientClick event handler will be executed first, followed by the OnClick event handler.

Here is a full example

Friday, August 24, 2012

SharePoint Download and Trial Versions

SharePoint Download and Trial Versions


SharePoint Editions

SharePoint Editions


SharePoint Versions

SharePoint Versions


SharePoint 2013 Overview

SharePoint 2013 Overview


SharePoint 2010 Overview

SharePoint 2010 Overview


SharePoint Overview

Overview


SharePoint Server 2010 Standard/Enterprise Trial Download

SharePoint Server 2010 is the Successor of SharePoint Server 2007it provides a number of additional features to enhance the usage of SharePoint.
From the Infrastructure point of view, there is a key changes, SharePoint Server 2007 can be installed in a server supporting 32-bit, however SharePoint server 2010 requires a server supporting 64-bit processor

SharePoint Server 2010 180 days Trial Standard/Enterprise versions can be downloaded from the following location.

SharePoint Server 2010 Foundation Download Free

SharePoint Server 2010 is the Successor of SharePoint Server 2007it provides a number of additional features to enhance the usage of SharePoint.
From the Infrastructure point of view, there is a key changes, SharePoint Server 2007 can be installed in a server supporting 32-bit, however SharePoint server 2010 requires a server supporting 64-bit processor

SharePoint Server 2010 Foundation Edition is free and can be downloaded from the following location.

SharePoint Server 2007 Trial Download

SharePoint Server 2007 is built on top of Windows SharePoint Services 3.0, it is a licensed version and has a set of add-on features. If can installed on any server which runs Windows Server 2003 or Windows Server 2008.

SharePoint Server 2007
 Trial can be downloaded from the following location

Windows SharePoint Services 3.0 - Download (Free)

Windows SharePoint Services 3.0 (or) WSS 3.0, is the underlying core framework of SharePoint, WSS is free and can be downloaded and installed on any server which runs Windows Server 2003 or Windows Server 2008.

Windows SharePoint Services 3.0 can be downloaded from the following Link.

Thursday, August 23, 2012

SharePoint 2010 Standard Vs Enterprise Edition

Both the Standard version and Enterprise version of SharePoint 2010 are licensed versions. The Enterprise contains all the features in the Standard Edition in addition it has the following new features. 

Access Services
Business Data Web Parts
Business Intelligence Center
Calculated KPIs
Contextual Search
Visio Services etc

SharePoint 2010 Foundation Vs Standard Edition

The SharePoint 2010 Foundation Edition is a Free version and is the replacement of WSS 3.0, The foundation edition contains the basic features.

SharePoint 2010 Standard Edition is a licensed version, it contains all the features in the Foundation Edition in addition it has the following new features.

SharePoint 2007 Standard vs Enterprise Edition

SharePoint 2007 is available in 2 Editions
Standard Edition
Enterprise Edition


The Standard edition contains all the basic features, the Enterprise editions provides the following additional Features.

SharePoint 2010 vs. SharePoint 2013 (Preview)

SharePoint 2013 is the successor of SharePoint 2010, at the time of writing this post (Aug 2012), the Preview version of SharePoint 2013 was released. 

The requirements remain almost the same for SharePoint 2010 and SharePoint 2013, both can run in a 6-bit machine, the transition from 32-bit to 64-bit has already happened while moving from SharePoint 2007 to SharePoint 2010.

SharePoint 2007 vs. SharePoint 2010


SharePoint 2010 is the next version of SharePoint 2007, SharePoint 2010 introduces a list of new features like Access Services, Visio Services, Business Connectivity Services. It also provides enhancements to a lot of existing features like Excel Services, Record Management etc

There is a basic Hardware requirement change between SharePoint 2007 and SharePoint 2010, SharePoint 2007 can run on a 32-bit machine, but SharePoint 2010 requires a 64-machine and an Operating System which supports 64-bit processing, even the SQL Server needs to support 64-bit, So if you are moving from SharePoint 2007 to SharePoint 2010, you should also plan to Change/Upgrade your Hardware and Operating Systems.

The following sites provide a detailed chart of the Differences between SharePoint 2007 and SharePoint 2010


http://www.rharbridge.com/?page_id=103
http://www.khamis.net/blog/Lists/Posts/Post.aspx?ID=4

WSS 3.0 vs MOSS 2007

WSS 3.0 is free and can be downloaded and installed on any server which runs Windows Server 2003 or Windows Server 2008. It has the basic features like Site, Lists, Document Libraries, Wikis, Blogs etc. WSS 3.0 can be used for learning and for small business setups.

SharePoint Server 2007 (or) MOSS 2007 is a licensed version and has a set of add-on features. If can installed on any server which runs Windows Server 2003 or Windows Server 2008.

MOSS 2007 has all the features of WSS 3.0, in addition it has enhanced features which would be required for Medium to Large businesses.

The following sites provide a detailed chart of the Differences between WSS 3.0 and MOSS 2007

http://www.milesconsultingcorp.com/SharePoint-Portal-2007-Version-Comparison-between-MOSS2007-and-WSS3.aspx

SharePoint Server 2013

SharePoint Server 2013 is the Successor of SharePoint Server 2010; it provides a number of additional features to enhance the usage of SharePoint. At present a preview version of SharePoint 2013 has been released.

Some of the key feature additions to SharePoint 2013 are as follows.

SharePoint Server 2010

SharePoint Server 2010 is the Successor of SharePoint Server 2007; it provides a number of additional features to enhance the usage of SharePoint.


From the Infrastructure point of view, there is a key changes, SharePoint Server 2007 can be installed in a server supporting 32-bit, however SharePoint server 2010 requires a server supporting 64-bit processor.

Some of the key feature additions to SharePoint 2010 are as follows.

Access Services
Visio Services
Business Connectivity Services
Decomposition Tree
Document Sets
My Profile
Sandboxed Solutions
SharePoint Health Analyzer
SharePoint Ribbon
Support for Silverlight
Windows Power Shell Scripting
In-Place Records Management
Document ID Services
Excel Services – Support for REST format URL
Excel Services – ECMAScript Support for JavaScript


To know more about the new features in SharePoint 2010 refer to the posts
SharePoint 2010 Sites
SharePoint 2010 Communities
SharePoint 2010 Content
SharePoint 2010 Search
SharePoint 2010 Insight
SharePoint 2010 Composites




SharePoint Server 2007

SharePoint Server 2007 is built on top of Windows SharePoint Services 3.0, it is a licensed version and has a set of add-on features. If can installed on any server which runs Windows Server 2003 or Windows Server 2008.

MOSS 2007 has all of the features which are part of WSS 3.0, in addition it offers the following features.

BI Dashboards
Excel Services
My Sites
People Search
Document Management Site Templates
Records Repository
Data Connection Libraries
Business Data Catalog
Report Center
Key Performance Indicators
Filter Web Parts
Forms Services to Publish InfoPath forms

To Know more about the features of SharePoint 2007 refer the posts.
SharePoint Collaboration
SharePoint Portals
SharePoint Search
SharePoint Enterprise Content Management
SharePoint Business Process Management
SharePoint Business Intelligence



Windows SharePoint Services 3.0

Windows SharePoint Services 3.0 (or) WSS 3.0, is the underlying core framework of SharePoint, WSS is free and can be downloaded and installed on any server which runs Windows Server 2003 or Windows Server 2008.

Windows SharePoint Services 3.0 contains all the basic features which are required for a small business setup. It has the basic features like Site, Lists, Document Libraries, Wikis, Blogs etc.
We can also create users and groups and assign user/group specific privileges using Windows SharePoint Services 3.0.


What’s New in SharePoint 2013?


SharePoint Server 2013 is the Successor of SharePoint Server 2010; it provides a number of additional features to enhance the usage of SharePoint. At present a preview version of SharePoint 2013 has been released.

To view the feature enhancements in SharePoint 2013 refer to the following posts.

SharePoint 2013 Authentication
SharePoint 2013 Sites
SharePoint 2013 Communities
SharePoint 2013 Content
SharePoint 2013 Search
SharePoint 2013 Insight
SharePoint 2013 Composites

The following are removed (deprecated) in SharePoint 2013, some of these features might still be seen on the Preview version, but will be removed once the actual version roles out. 

              1.    Visual upgrade
2.    Document Workspace site template
3.    Personalization Site template
4.    Meeting Workspace site templates
5.    Visio Process Repository site template
6.    Imaging Web service
7.    Web Analytics - Replaced with Analytics Processing Component.
          8. Windows Classic mode Authentication – Replaced with claims-based authentication


SharePoint 2013 Composites


The following are the new Composite (Business Process Model) features in SharePoint 2013.

Feature
Description

SharePoint 2013 Workflow

The SharePoint 2010 Workflow is retained in SharePoint 2013, in addition the SharePoint 2013 Workflow module can be plugged in as an Add-On.

Built using Windows Workflow Foundation 4, OAuth and iFrame model.

Workflow activities are invoked using loosely coupled web services that use messaging APIs based on WCF to communicate with SharePoint

Workflow - no-code web service calls

Ability to call web services without adding any code.

Workflow - Visual workflow

visual workflow can be created by adding the Visio 2013 Preview add-in.

Workflow - Building blocks

New workflow building blocks added: Stage, Loop, and App Step.

Workflow - REST Support

Provides REST-based service endpoint for publishing, managing, and running workflows


Related Post
SharePoint 2013 Hardware and Software Requirements
SharePoint 2013 Authentication
SharePoint 2013 Sites
SharePoint 2013 Communities
SharePoint 2013 Content
SharePoint 2013 Search
SharePoint 2013 Insight
SharePoint 2013 Composites
SharePoint 2013 Claim Based Authentication
SharePoint 2013 Support for OAuth 2.0
SharePoint 2013 Distributed Cache Service