Wednesday, November 16, 2011

Cool new features of Visual Studio 2011

Here is some links about cool new features of upcoming version of Visual Studio 4.5.







(8) Color indication in Visual Studio 2012 

(9) Bundling in visual studio 2012 for web optimization

(10) Multiple file upload with asp.net 4.5 and Visual Studio 2012


(11) Event handler generation in Visual Studio 2012


(12) Free Visual Studio 2012 eBook from Telerik


(13) Model binding with ASP.NET 4.5 and Visual Studio 2012

(14) Incremental search in Visual Studio


(15) Dark Visual Experience in Visual Studio 2012

(16) Caller Info Attributes in C# 5.0

(17) Where I can find SQL Generated by Entity framework?

(18) Search and filters available in visual studio 2012

(19) Visual studio 2012 color editor- Make Visual studio 2012 Colorful

(20) Getting started with Twitter Bootstrap and ASP.Net MVC

(21) What’s new in ASP.NET and Web Tools 2012.2 Release Candidate

(22) HTML editor enhancement in visual studio 2012

(23) Video about different searching options in visual studio 2012

(24) Page inspector in Visual Studio 2012


(25) SelectMethod in ASP.NET 4.5 Model binding


(26) Dependency graph in visual studio 2012- Understand your code better.


(27) ASP.NET 4.5 TextBox TextMode Property

(28) Two free spell checker extension for visual studio 2012 every developer should use


(29) Unobtrusive validations in ASP.Net 4.5 Web Forms

(30) Visual Studio 2012 Tip- Closed All But Pinned feature
 

(31) Visual Studio 2013 : Peek Definition a new feature


(32) Scope to this feature in Solution Explorer- Visual Studio


(33) Visual Studio Command Window- A useful but unknown feature     
     
                

Querying sharepoint list item data using jQuery

Thursday, October 20, 2011

Working with Event Receiver in Sharepoint 2010 Lists

Here is some links about Binding Event Receiver on Lists of Sharepoint 2010.
(1) How to Create Event Receivers for Windows SharePoint Services 3.0

(2) Add Event Receivers to SharePoint 2010 Lists

(3) Create Custom List Definitions in SharePoint 2010

(4) Using the Event Handler in SharePoint 2010.sharepointbriefing.com

(5) Creating Event receiver in SharePoint 2010 : Learning SharePoint

(6) Chaks' Corner | Event Receivers in SharePoint 2010

(7) List Definition from Content Type using Event Receiver- Site Home - MSDN Blogs

(8) How Do I: Create Event Receivers for SharePoint 2010 in Visual Studio 2010?

(9) Creating custom list event receivers in SharePoint 2007 « aarebrot.net

(10) SharePoint Kings: Redirection from event handler

(11) How to: Access, Copy, and Move Files

(12) Walkthrough 2 – Developing an Event Receiver for a Document Library « Karine Bosch’s Blog

(13) How to copy newly added document with metadata to another document library?

(14) Move a document from one library to another library using event eceiver- Stack Exchange

(15) document library- Copy To Folder - SharePoint - Stack Exchange

(16) SharePoint 2010: Redirecting User to a Custom Page from Event Receiver « Razi [SharePoint MVP] Blog

(17) Creating SharePoint 2010 Event Receivers in Visual Studio 2010

(18) Using Event Receivers in SharePoint Foundation 2010 (Part 1 of 2)

(19) SharePoint Document Library item title in Event Receiver AfterProperties

(20) Walkthrough: Add List Event Receiver dynamically at runtime in SharePoint 2010

(21) How to: Create an Event Receiver for a Specific List Instance

(22) Add a Counter to a SharePoint List Using an Event Receiver

(23) SharePoint: Writing a Custom Event Receiver

==> Remove event receiver
(1) Deleting an Event Receiver using STSADM

(2) Remove Event Receiver in Sharepoint List

(3) Delete event receiver from a SharePoint list

(4) How to add/delete an event receiver to a single list with PowerShell in SharePoint 2010

Tuesday, October 18, 2011

Working with DataSheet View in Sharepoint 2010

Here is some links about DataSheet View in sharepoint 2010.

(1) Enabling DataSheet View in SharePoint 2010

(2) Data Sheet View Not Working? | SharePoint Blues

(3) SharePoint 2010 Datasheet view not available | Train-A-Scope- Linking People and Technology - Steven Knight Training

(4) Nicholas Bisciotti's Blog: SharePoint Datasheet View, Office 2010 Compatibility

(5) errors in micosoft share point: The list cannot be displayed in datasheet view wss, error message Moss "Server Error in '/_vti_bin' Application"

(6) Use Datasheet view in 64-bit Office 2010- Office.com

(7) Create Datasheet view missing

(8) SharePoint 2010 : Use the Datasheet View to Add, Edit, or Delete Items and Files, exercises, practises, tutorials, solutions about Sharepoint

(9) You cannot view a list in Datasheet view after you install the 64-bit version of Office 2010

(10) SharePoint View Permission & Column Permission | Try Free

(11) How to Disable Data Sheet View for Users in SharePoint 2010?

(12) Know SharePoint: SharePoint Datasheet View and Office 2010 64-bit

(13) SharePoint 2010 Help » Datasheet view

(14) SharePoint 2010 Datasheet View Bugaboo » Marc D Anderson's Blog

Fetching values of Controls using JQuery

Here is some links & code snippets to fetch/reset different controls value using JQuery.

(1) Remove checked for CheckBox - $("#<%= CheckBox1.ClientID %>").removeAttr("checked");
(2) Set Value for TextBox - $("#<%= TextBox1.ClientID %>").val("");
(3) Set Value for Dropdownlist - $('#<%= DropDownList1.ClientID %>').val("");
(4) Reset all Dropdownlist of Form - $("select[id*=DDL] option[value=0]").attr('selected', true);
(5) Set Value for HiddenField - $("#<%= HiddenField1.ClientID %>").val("0");
(6) Uncheck All Checkboxes on Form - $("input[type='checkbox']").attr('checked', false);
(7) Check all checkbox in grid - $('#<%=Grid1.ClientID %> >tbody >tr >td >input:checkbox').attr('checked', true);
(8) Fetch table cell value - $('#mytable tr').each(function() {
    var customerId = $(this).find("td").eq(2).html();    }
(9) Set confirm on link button in Grid -
       $('#<%= Grid1.ClientID %> tbody tr').not(':first').each(function () {
            $(this).find("a[id$=LinButton1]").click(function () {
                return confirm('Are you sure you want to delete?');
            });
        });

(10) Create common function in jQuery - this function returns checked items count in grid
$.fn.gridCount = function () {
        var vCount = 0;
        $('#<%=GridView1.ClientID %> tbody tr').not(':first').each(function () {
            var strVehicleID = $(this).find("td:first-child").find("input:checkbox");
            if (strVehicleID.attr("checked") == true) {
                vCount++;
            }
        });
        return vCount;
    }
(11) Some useful jQuery syntaxes
       jQuery Selector

(12) Fetch Url attribute values
       Get current page URL and title with jQuery 

Wednesday, October 5, 2011

Some Error Resolutions while working Programmatically in Sharepoint 2010

Here is errors and links related to error occurred during programming with sharepoint.

(1) Error occurred in deployment step 'Recycle IIS Application Pool': The vssphost4.exe process was unable to start due to an unknown error or problem.

- Interesting registry settings to help debugging SharePoint Tools Extensions in Visual Studio 2010

- VSX « Second Life of a Hungarian SharePoint Geek

- Visual Studio 2010 extension for helping SharePoint 2010 debugging

(2) One or more field types are not installed properly. Go to the list settings page to delete these fields.
- this is because some of the field in CAML query could be written/spelled wrongly.

(3) Invalid data has been used to update the list item. The field you are trying to update may be read only.
- when there is any lookup field exist and in that we provide any information that is not exist in source table then it will throw error like this.

(4) The data source does not support server-side data paging.
- when we are working paging in grid and we are fetching items using LINQ if list is not returning ToList() then it will give error shown here.

(5) The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
- its looking for referenced assembly in GAC
- its looking for referenced assembly in SafeControl directive of Web.config file.

(6) The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.
    - The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.

    - SPSecurity.RunWithElevatedPrivileges to update SPRoleAssignment of an SPListItem

    - The security validation for this page is invalid. Click Back in your Web browser, refresh the page, and try your operation again.
   
(7) SPDataGrid error 'Unable to cast object of type int32 - SPDataGrid.NewPageIndex property and DataKeyNames

http://blog.sharepointsite.co.uk/2010/10/spdatagrid-error-unable-to-cast-object.html


(8) The server was unable to process the request due to an internal error.  For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework 3.0 SDK documentation and inspect the server trace logs.

    - AnswerFBA in sharepoint 2010

    - The server was unable to process the request due to an... RSS

(9) This view cannot be displayed because the number of lookup and workflow status columns it contains exceeds the threshold (8) enforced by the administrator.
   
    - This view cannot be displayed because the number of lookup and workflow status columns it contains exceeds the threshold (8) enforced by the administrator

    - This view cannot be displayed because the number of lookup and workflow status columns it contains exceeds the threshold (8) enforced by the admin..

(10) SQL database login for 'SharePoint_Config' on instance 'Username' failed.
- SQL database login for 'SharePoint_Config' on instance 'SP_2010_TESTQA_SQL' failed.

(11) This solution contains no resources scoped for a web application and cannot be deployed to a partucular web application.
- Issues Deploying SharePoint Solution Packages

- This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application

- This solution contains no resources scoped for a Web application – Sharepoint WSP deployment exception

(12) 
Error occurred in deployment step 'Recycle IIS Application Pool': 0x80070005Access denied.
Deploy Solution to Site configured with Claims-based Authentication

Error occurred in deployment step 'Recycle IIS Application Pool': Provider load failure

Error occurred in deployment step ‘Recycle IIS Application Pool’



Monday, September 26, 2011

Working with Calculated Column in Sharepoint

Here is some links about Calculated column in sharepoint list.
(1) SharePoint - get value of calculated field without manual parsing

(2) About SharePoint Calculated Columns

(3) SharePoint calculated column and jQuery Highlight row

(4) Controlling the Result Type for Calculate Fields

(5) SharePoint List Calculated Column - Calculate Business Days

(6) Calculated Field Formulas

(7) Examlples of common furmulas - Windows Sharepoint Service - Office.com

(8) Programmatically setting field value for sharepoint listitem

(9) SharePoint Calculated Columns Formulas

(10) Adding Calculated Field in SharePoint List Programmatically

(11) WSS Practice: Create a list, columns and view programmatically

Links to calculate field value
(1) Aging Calculated Fields in SharePoint

(2) Common Date Time formulas for Sharepoint – Calculated Fields « Abstract Spaces

(3) How to calculate age of list items in SharePoint

(4) Using [Today] in SharePoint calculated default values

(5) SharePoint Calculated columns – Adding hours onto a date field

(6) Gantt charts Start/End date on calculated columns

(7) The Truth about using [Today] in SharePoint Calculated Columns

(8) Working Days, Weekdays and Holidays in SharePoint Calculated Columns

(9) SharePoint Calculated Column Cheat Sheet

(10) How to use [Today] in a SharePoint list

(11) Advanced SharePoint View and Filter techniques

Monday, July 4, 2011

Working with CheckBoxList

Here is some links about checkboxlist in VisualStudio.
CheckBoxList Control
(1) CheckBoxList Class

(2) ASP.NET : The checkbox and checkboxlist control

(3) CheckBoxList Control in ASP.NET

(4) Generic Way to Bind Enum With Different ASP.NET List Controls

(5) ASP.NET 4.0 New Feature- RepeatLayout property for CheckBoxList and RadioButtonList Controls.

(6) How to retrieve checkboxes values in jQuery

(7) Jquery to Get selected items from CheckBoxList

(8) JQuery to determine if all checkboxlists (in div) have been checked

(9) How to check if checkbox is checked using jQuery

CheckBoxList validation
(1) Creating a CheckBoxList validation control in C#

(2) CheckBoxList client side validation using JQuery

(3) Creating a Custom Validation Control in ASP.NET

CheckBoxList with LINQ
(1) ASP.Net CheckBoxList, Linq, and jQuery

(2) LINQ: Get all selected values of a CheckBoxList using a Lambda expression

(3) Get all values from CheckBoxList in C#

CheckBoxList with JQuery
(1) ASP.NET Checkboxlist get values in client side [JQuery]

(2) Toggle items in a CheckBoxList using jQuery

(3) How to select checkboxes in an ASP.NET CheckBoxList using jQuery

(4) Jquery and CheckboxList

Tuesday, May 17, 2011

Some Links for DOS/Windows

(A) Windows Basic
(1) Windows4all.com - online virtual operating system

(2) How Do I Kill All the iexplore.exe Processes at Once? :: the How-To Geek

(3) How To Stop Automatic Updates From Restarting your PC

(4) Forensically interesting spots in the Windows 7, Vista and XP file system and registry

(5) LDAP Attributes. Properties Active Directory Users Computers Distinguished name

(6) Windows Server 2003 Resource Kit Tools                  

(B) Some windows fixes
(1) How to troubleshoot TCP/IP connectivity with Windows XP 

(2) How To Diagnose and Test TCP/IP or NetBIOS Network Connections in Windows 2000

(3) Microsoft Windows 2000 TCP/IP implementation

(4) FIX: Error message when you try to install a large Windows Installer package or a large Windows Installer patch package in Windows Server 2003 or in Windows XP: "Error 1718. File was rejected by digital signature policy"

(5) An application that is started by a non-administrative user cannot listen to the HTTP traffic of the computer on which the application is running in Windows Vista, Windows Server 2003, or Windows XP
          
(C) Dos Basic
(1) A-Z List (DOS commands)

(2) Robocopy                    

(3)
Shutdown remote computer 

(4) 10 Windows Command Line Tips You Should Check Out          

(5) A Beginners Guide To The Windows Command Line              

(6) Quick Tip: Change the Windows User Password via Command Line    

(D) Launch Windows Application from Command Line
(1) Launching Control Panel Apps from the Command Line    

(2) Description of Control Panel (.cpl) Files    

(3) The Command Line in Windows XP: Start-Run Line        
       
     

Wednesday, March 16, 2011

Working with PHP and Wordpress blog

Here is some links about installing/configuring PHP and wordpress blog.
Download Wordpress



Coinfigure/Install PHP & Fast CGI on IIS






PHP File Permission Change



Wordpress Deprecated Error


FeedBurner for Wordpress




WordPress Tips N Tricks