Friday, 27 October 2017

Changing icon on Collapse and Expand Panel


Collapsing and Expanding  for Panel is make very easy by Bootstrap that you can directly achieve using bootstrap.js and Bootstap.css [You can download it from getbootstrap.com]. Than need to write a simple code to change the icon using jQuery. 
Please see below that how to demostrate Changing icon on Collapse and Expand Panel.

It will be look alike below.



Friday, 6 October 2017

Cordova Exit from App

Code to exit from  mobile app using the JQuery Code (Cordova exit app event).

Code for exit from app

  exitFromApp: function () {

        if (navigator.app) {
            navigator.app.exitApp();
        }
        else if (navigator.device) {
            navigator.device.exitApp();
        }

        return false;

    },


Exit from app when click button in android phonegap?

Calling Method

<button name="btnExit" style="background-color:transparent;color: #f82284 !important;font-size:18px;border:0" onclick="app.exitFromApp()" id="btnExit">Exit</button>

Wednesday, 30 August 2017

mvc checkboxlist example


Using the ckeckboxlist to display the records. It is having the items in the form of list box and having the checkbox in list.

It will be appear as like below. Here  I have implemented the checkbox list which will dynamically binding based on dropdown. mvc checkboxlist example
Its like cascaded checkboxlist, mvc checkboxlist multiselectlist.                       

Sunday, 6 August 2017

@html.grid mvc 5


Step by step process to bind MVC.Grid in MVc application
Grid will be display like below

Thursday, 3 August 2017

Generate Property and Methods Tool

You can automatically generate the property and method and insert query which help you to build the backed code faster.


Create an window application like below ;


Sunday, 30 July 2017

logging using nLog

nlog is free logging platform which use in .net, mobile platform. Its very easy to use and integrated with Visual studio Nuget package manager.

1.       Creating console application to check how to use nLog.


2.       Now add the nlog from Nuget package.

Friday, 23 June 2017

Configuring Angular 2 with Visual Studio 2015

Configuring Angular 2 with Visual Studio 2015
1.       Install Node.js from below Path based on your system requirement.

Check which version of node has installed.

It should be 3.x.x.x

Tuesday, 20 June 2017

Program to print pattern in C#

1. Program to print Half Pyramid using *

static void Main(string[] args)
        {
            /// Printing of star pyramid
            PrintHalfPyramid(9);


         }

Sunday, 18 June 2017

GIT Tutorials for Begineers

1.       What is version control and why we need version controls?
-          Version controls are managing the changes on document or files which you are working throughout the application.
-          Whenever you are doing the check-in of your application it will create the snapshots of application and create the version for your files or folders that you worked.
-          You can go back and forth to the different version.


2.       Why do we need of version controls?
-          It uses for collaboration everyone is working on the different task than through version controls  all the code can combined together.

Monday, 12 June 2017

Data structure tutorial for beginners

1.     What is Data structure?

How effectively we are storing the data it’s called as data structure.

Data structure is particular way of storing and organizing data so that it can use efficiently.
Structuring the data which really help us to manage it properly.

Let’s take the example of Dictionary (defined into liner form), Cash book (defined in tabular form)

It is not a language it’s a set of algorithm or process which help to store data effectively.


Data structure à Algorithm à Abstract Data type à Set of rules
Algorithm à Array, Stack, Queue, linked list, tree, graphs

Algorithm (data structure) is divided into two types ::