SharePoint 2013/2010 - Remove Columns Name from Group View

http://bistesh.blogspot.ca/2014/04/sharepoint-20132010-remove-columns-name.html

To remove the column name from group view and retaining the collapse and expand option,copy and paste the below javascript in the page using content editor or script editor.

JavaScript (SharePoint 2013/SharePoint 2010):
<script type="text/javascript" language="javascript">
        _spBodyOnLoadFunctionNames.push("HideHeaders");
        function HideHeaders() {
            var elements = getElementsByClassName(document, "td""ms-gb");
            var elem;
            for (var i = 0; i < elements.length; i++) {
                elem = elements[i];
                elem.childNodes[0].childNodes[1].nodeValue = "";
                elem.childNodes[1].nodeValue = elem.childNodes[1].nodeValue.replace(':''');
            }
            elements = getElementsByClassName(document, "td""ms-gb2");
            for (var i = 0; i < elements.length; i++) {
                elem = elements[i];
                elem.childNodes[1].childNodes[1].nodeValue = "";                elem.childNodes[2].nodeValue = elem.childNodes[2].nodeValue.replace(':''');
            }
        }
        function getElementsByClassName(oElm, strTagName, strClassName) {
            var arrElements = (strTagName == "*" && oElm.all) ? oElm.all : oElm.getElementsByTagName(strTagName);
            var arrReturnElements = new Array();
            strClassName = strClassName.replace(/\-/g, "\\-");
            var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
            var oElement;
            for (var i = 0; i < arrElements.length; i++) {
                oElement = arrElements[i];
                if (oRegExp.test(oElement.className)) {
                    arrReturnElements.push(oElement);
                }
            }
            return (arrReturnElements)
        }
    </script>


Reference
http://bistesh.blogspot.ca/2014/04/sharepoint-20132010-remove-columns-name.html

SharePoint 2013 - Group By Content-Type in SharePoint list view

Group By 'Content-Type' field in SharePoint listScenario: I have a SharePoint list with two Content Type eg: Item and Announcement,
Group By 'Content Type' in SharePoint list
I need to display the view grouped by the Content-Type field as shown below:
Group By 'Content-Type' field in SharePoint list
I tried to modify the view.
Modify ViewBut unfortunately, There is no field called Content Type in Group By section as shown below.Group By in list viewSolution:
  • Modify your view > In the group by section, > select any field like Title.
  • Open SharePoint Designer > From the left menue > Select List & Library > Click on your List .
Group By 'Content-Type' field in SharePoint list
  • In View Section, Click on your view to edit it.
Group By 'Content-Type' field in SharePoint list
  • Search for a .
View section in SharePoint Designer
  • Scroll horizontally till get the tag as shown below.
Group By 'Content-Type' field in SharePoint list
  • In tag, Change the Name of from Title to ContentType.
Group By 'Content-Type' field in SharePoint list
  • Save.
  • Open your view, It should be now grouped by Content type.
Group By 'Content-Type' field in SharePoint list

Setting up FTP on IIS




Issues
I'm a month too late to the party, but I just had the same problem and have a resolution for you.

First problem:

530 Valid hostname is expected.

IIS is a royal pain in the ass.

When you apply a binding to the FTP site you must also specify it in the ftp client when you login. So if your binding was configured as ftp.carsgozoom.com then your login should be ftp.carsgozoom.com|administrator.

Second problem:

530 User cannot log in, home directory inaccessible.

IIS is still a pain in the ass.

You're logged in but it doesn't know where to go. Well, it does know where to go but the directory doesn't exist. In your FTP root create a directory called LocalUser and put your username in there (FTProot/LocalUser/Administrator).

I hope this helps someone.

ASP.NET - Optimized Paging

Stored Procedure No 1
USE [AdhocReportsDB_WEL]
GO
/****** Object:  StoredProcedure [dbo].[spGetAllPatients]    Script Date: 10/09/2017 11:14:57 AM ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author:        
-- Create date:
-- Description:    
-- =============================================
ALTER PROCEDURE [dbo].[spGetAllPatients]
    (
    @startIndex        int,
    @pageSize        int,
    @sortBy        nvarchar(30),
    @totalPatients int OUTPUT      
    )
AS
    SET NOCOUNT ON

 DECLARE
    @sqlStatement nvarchar(max),  
    @upperBound int

  IF @startIndex  < 1 SET @startIndex = 1
  IF @pageSize < 1 SET @pageSize = 1
 
  SET @upperBound = @startIndex + @pageSize


 Select @totalPatients=Count(*) From Patient
 
  SET @sqlStatement = ' SELECT P.Pat_ID, P.Pat_Secondary_Identifier, P.Pat_Forename1, P.Pat_Surname, P.Pat_Sex_Code,P.Pat_DOB
                FROM (
                      SELECT  ROW_NUMBER() OVER(ORDER BY ' + @sortBy + ') AS rowNumber, *
                      FROM    Patient
                     ) AS P
                WHERE  rowNumber >= ' + CONVERT(varchar(9), @startIndex) + ' AND
                       rowNumber <  ' + CONVERT(varchar(9), @upperBound)
  exec (@sqlStatement)

ASP.NET - Date Picker - Implement jQuery DatePicker Plugin with ASP.Net TextBox Control



  

   
   
   
   
   


   

   
            onclick="btnSubmit_Click" />
   



-->

Reference
https://www.aspsnippets.com/Articles/Implement-jQuery-DatePicker-Plugin-with-ASPNet-TextBox-Control.aspx

How to identify the Cipher used by an HTTPS Connection

Instructions

Using a browser to open an HTTPS page and check the certificate properties to find the type of Cipher used to encrypt the connection.

How to find the Cipher in Internet Explorer

  1. Launch Internet Explorer.
  2. Enter the URL you wish to check in the browser.
  3. Right-click the page or select the Page drop-down menu, and select Properties. 
  4. In the new window, look for the Connection section. This will describe the version of TLS or SSL used.

How to find the Cipher in Chrome

  1. Launch Chrome.
  2. Enter the URL you wish to check in the browser.
  3. In the address bar, click the icon to the left of the URL.
  4. Look for the line "The connection uses...". This will describe the version of TLS or SSL used.

How to find the Cipher in FireFox

  1. Launch FireFox.
  2. Enter the URL you wish to check in the browser.
  3. In the address bar, click the icon to the left of the URL.
  4. Now click on More Information.
  5. Select the Security tab.
  6. Look for the Technical details section. This will describe the version of TLS or SSL used.

If you are interested in HTTPS ciphers, you should be monitoring your web server. GSX Monitor will carefully observe the processes and services of your IIS and Windows servers to prevent potential issues from arising.
Why not sign up for a free trial?