Monday 30 September 2013

SharePoint 2013 – Enabling Design Manager

In this article i will explain how to enable sharepoint design manager?


Design Manager is a new feature in SharePoint 2013 that puts some structure around management of branding and styling SharePoint sites and pages.  It is only available on SharePoint Server and only with Publishing sites, or on sites where publishing features have been enabled. 


With Office 365, you will need a level that has publishing enabled. 
If you’re starting from a publishing site, it’s pretty easy to access.  You can just click the Settings menu item and the Design Manager is available.

How to calculate the distance between two latitude and longitude points using C# .NET

How to calculate the distance between two latitude and longitude points using C# .NET

Today am going to explain how to find the distance between two specified latitude and longitude points.

What Is Latitude?

Latitude is an angle which ranges from 00 at the equator to 900 at the poles (North or South). It is a geographic coordinate which specifies the north-south position of a point on the earth surface.

What Is Longitude?

Longitude is a geographic coordinate which specifies the east-west position of a point on the earth surface. By convention one of these longitude called Prime Meridian, which passes through Royal Observatory, Greenwich England is considered as zero degree longitude. The longitude of other places from Greenwich is measured as angle ranging from 00 at Prime Meridian to 1800 eastwards and -1800 westwards.

Saturday 14 September 2013

Kendo Grid Popup Editing Mode


In this article am going to explain about

1.      How to make kendo grid editable.
2.      How to give a title to popup.
3.      How to disable editing specified columns in edit popup mode.
4.      How to disable the display of few unwanted columns in popup.
5.      How to specify the width of a column in popup.
6.      How to rename the column.


Technology Used: Kendo UI

Scripting Language: JavaScript


Friday 13 September 2013

How to Print GridView data using JavaScript in asp.net?


In this article I will explain How to Print GridView data using JavaScript in asp.net.

AGENDA:   Print the data in GridView for one page.

Step-1:  First Copy and paste the below in aspx page (design page).

<script language="javascript" type="text/javascript">
     function PrintGridData() {
      var prtGrid = document.getElementById('<%=GridViewID.ClientID %>');
       prtGrid.border = 1;
            var prtwin = window.open('', 'PrintGridViewData', 'left=100,top=100,width=1000,height=1000,tollbar=10,scrollbars=1,status=0,paresizable=1');
            prtwin.document.write(prtGrid.outerHTML);
            prtwin.document.close();
            prtwin.focus();
            prtwin.print();
            prtwin.close();
        }
</script>


Tuesday 10 September 2013

What is CAPTCHA? How to use CAPTCHA code in ASP.NET web application?


In this article I will explain what is CAPTCHA? How to use CAPTCHA code in ASP.NET web application?
A CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) is a challenge-response system test designed to differentiate humans from automated programs. A CAPTCHA differentiates between human and bot by setting some task that is easy for most humans to perform but is more difficult and time-consuming for current bots to complete.

Saturday 7 September 2013

How to bind data to grid view using Kendo UI controls with MVC architecture


Binding Data to grid view using Kendo UI controls

Here we explain the process of binding data to the grid view using kendo UI.

Here we have designed the grid using kendo UI controls and have bound the data from the database with a stored procedure.

The architecture that we have used is MVC (Model View Controller) and the framework is Entity framework model.

In order to bind the data to grid view first we need to take a Kendo grid.

How to deploy windows app in target machine without using the app store


In this article I will explain How to deploy windows app in target machine without using the app store

The process to deploy windows app in target machine without using the app store
  •          Go to project and select “Store” option and select CreateAppPackages


                 ·         Select “NO” option

Thursday 5 September 2013

How to Establishing a backend connection to SQLite from Visual Studio 2012 with Example.


In this article I will explain How to Establish a backend connection to SQLite from Visual Studio 2012 with Example.
                                                                                                                                                               
Establishing a backend connection to SQLite from Visual Studio 2012

  •                                                             Before starting a project got to tools and select “Extensions and Updates” options.                         
  •         Under “Installed” options select “All”
  •          Select SQLite for windows runtime

How to Bind data to a Dropdown list using Kendo UI controls with MVC 4.


In this article I will explain how to Bind data to a Dropdown list using Kendo UI controls with MVC 4.
                                                                                                                             
Binding data to a drop down list using kendo UI controls and MVC (Model View Controller) architecture

@(Html.Kendo().DropDownList()
    .Name("ddlEmployeeDetails")
    .HtmlAttributes(new { style = "width:150px" })
    .OptionLabel("Select EmployeeName")
    .DataTextField("EmployeeName")
    .DataValueField("RegistrationID")
    .Events(events => events.Change("DealerSelectChangeInTeleCaller"))
    .DataSource(source =>
              {
                  source.Read(read =>
                  {
                      read.Action("GetAllEmployeeDetails", "Reports");

                  })
                        .ServerFiltering(true);
              })
                  )

The events define the change of events.


How to add SSRS Reports in ASP.NET with Parameters


In this article I will explain How to add SSRS Reports in ASP.NET with Parameters

First you need to develop a SSRS Report, After Open your web application and add new aspx page. Add below lines of code in your web.config file.

Add Report server url, Report server folder, Domain Name, User Name, Password. Follow below steps.

<appSettings>
    <add key="ReportServerUrl" value="http://Localhost/ReportServer" />
    <add key="ReportServerFolder" value="/Newforler" />
    <add key="User" value="Domine Name\ User Name" />
    <add key="Password" value="Password" />
</appSettings>

Below Handler is used for Specifying the reporting server version (Present Used Version is 2008).


Monday 2 September 2013

How to add SSRS Reports in ASP.NET


In this article I will explain How to add SSRS Reports in ASP.NET

First you need to develop a SSRS Report, After Open your web application and add new aspx page. Add below lines of code in your web.config file.

Add Report server url, Report server folder, Domain Name, User Name, Password. Follow below steps.

<appSettings>
    <add key="ReportServerUrl" value="http://Localhost/ReportServer" />
    <add key="ReportServerFolder" value="/Newforler" />
    <add key="User" value="Domine Name\ User Name" />
    <add key="Password" value="Password" />
</appSettings>

Below Handler is used for Specifying the reporting server version (Present Used Version is 2008).