Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

What is the difference between var and dynamic keywords in C#

Programming languages can be categorized into two parts based on data type 1) Strongly Type 2) Weakly Type Strongly Type:-        A strongly-typed programming language is one in which there are dif...

How to call asp net web service from javascript using ajax

Hello all, To call a web service from JavaScript using ASP.NET AJAX, there are certain steps that you have to follow which are listed bellow : Decorate web service class with [System.Web.Script.Services.ScriptService] Include ScriptM...

WebMethod overloading in asp net web services

Hello all, Working with .net web services, at time we have to overload our WebMethod, and the process of WebMethod overloading is very much same to the method overloading in C#. Method overloading allows a class to have multiple methods wit...

Bandwidth and Latency in a network?

Bandwidth: - Throughput of the network is known as Bandwidth of network. Latency : - Delay of the network is known as Latency of network. Network performance is basically measured in both of the above entity Bandwidth (throughput) and La...

Explain Manifest file?

Manifest file : - " Manifest is a simple text file that tells browser what to cache" and what not. The browser only cache the Manifest file content and does not cache the rest. Manifest file contains three sections :- (1) CACHE...

Define hooks in Drupal?

hooks:- hooks are api code in drupal which allows interaction between module and Drupal core. Basically A hook is a PHP function look like - general_test() general is the name of the module (file name for whom is general.module). ...

Difference between document.ready and window.onload

window.onload() - It is a Java script pre-defined function. document.ready() It is a jQuery event which are called when page is loaded. The basic difference between these :- document.ready() is called after the DOM is loaded withou...

Chaining in jQuery?

Chaining in jQuery means allowing multiple function/ selectors to an element in the web page. Example- $(document).ready(function(){ $('#mybox').css('font', '10px'); $('#mybox').addClass('new'); $('#mybox').fadeIn('slow'); }); By...

Selectors in jQuery?

Selectors are the entity which we used to select HTML elements from web page in jQuery. Selector in jQuery always start with dollar($)sign and parentheses like as $(). There are three ways to select the elements in a web page. 1) S...

Urlencode & Urldecode in php

"Urlencode is a predefined encoding function in PHP". We use Urlencode to encode a string that we are using in a url string. Url encodes the same way as we posted the data from web pages. It returns the encoded string. Syntax:- urlenc...

PHP Basic Errors?

There are three basic types of errors in PHP: Notices: These errors are not displayed to the user at all , the default behavior can be changed. These are non-critical errors that encounters by php while executing a script - for example va...

What is MIME and MIME Type?

MIME stands for - Multi-purpose Internet Mail Extensions. MIME types represents a unique file types as pre-defined over Internet. Web servers and browsers have a list of MIME types, which make a medium for files transfer of the same t...

Error [jquery.form] terminating; zero elements found by selector jquery ajax image upload

If you are getting error while using the ajax uploading for an image and using jquery form.js script and getting the issue "[jquery.form] terminating; zero elements found by selector" . Then for resolving this issue you have to avoid the neste...

Difference between @@IDENTITY, SCOPE_IDENTITY, IDENT_CURRENT

In most of our applications, We need last inserted identity value in SQL Server table. For getting the last inserted identity value we have multiple options: @@IDENTITY SCOPE_IDENTITY IDENT_CURRENT All these three return the l...

What's the difference between @Component, @Repository, @Controller & @Service annotations in Spring?

When we define the annotations @Component, @Service, @Controller, @Repository with the classes, Spring automatically scan and identifies those classes and register the Bean definition with the ApplicationContext. Difference between @Component...

How to to convert date string of any format to a desired date format

"Generic function to convert any type date to desired date format"     While working in a project, I got stuck in a issue in which I needed a generic function that converts the date string in any format to a desired date fo...

What is @ModelAttribute in Spring MVC?

@ModelAttribute implies to a property of the Model object in Spring MVC. This annotation workes only if your calss is Controller class i.e. declares with @Controller annotation. It is also used to define the command object that we declared by ...

Disconnect Your Google+ From YouTube Channel

Step 1->To Disconnect Google+ from YouTube first things we need to do is click upper right-hand corner and came down to YouTube settings, Go ahead and click on YouTube settings.   Step 2-> Clicking on settings will redirect you t...

How to Delete YouTube Channel

Hello all, If you want to Delete or remove your YouTube channel, below are the steps Note- Your channel should not be connected to any of your Google+ page, if connected then you have to first disconnect it from Google+ page then only y...

Exception while parsing String into DateTime

"An exception of type 'System.FormatException' occurred in mscorlib.dll but was not handled in user code while parsing String into DateTime."     I was trying to parse a string "27/06/2015" into the DateTime as follows: ...

Namespaces in Unity 3D

Namespaces in Unity 3D : Namespaces are container of the classes. Namespaces help us to organize the scripts. When we create a new C# script in Monodevelop, two namespaces are included at the top, these are ' using UnityEngine; ' and ' using S...

How the Right Content Can Help in Growth of Your Business

Well! Well! Well! All the words written in the topic of this blog are not new to you, neither I have to explain it to you. Then what is actually there in the blog, is it the title? Yes its the title, we all know content plays a vital role in any ...

How to automate file download functionality through selenium webdriver?

File download functionality can be automated by setting the browser's preferences. We set the directory in which the file will be downloaded. FirefoxProfile profile = new FirefoxProfile(); profile.setPreference("browser.download.dir", "E:\\A...

How to Update Marker position on google map

By using this function when we will click on Marker, its location will be shown on tha map. Here we have a function , first we will create "infowindow" object outside the function (global scope), then we will make infowindow objec constructor...

How to handle drag and drop functionality through selenium webdriver ?

We use "Actions" class to handle drag and drop functionality. WebDriver driver = new FirefoxDriver(); driver.get("http://jqueryui.com/resources/demos/droppable/default.html"); driver.manage().timeouts().implicitlyWait(20L, TimeUnit.SECONDS...

Implement newsletter using simplenews module in Drupal

Simplenews module is used to implement Newsletter in drupal. There are lots of other options available with Simplenews module. Find below details to implement and use Simplenews module: Simplenews: Send newsletters to subscribed e-mail address...

Sending bulk email in Drupal using Mass Contact module

Mass contact module is very useful when we want to send lots of emails to a group or users or all users. We also can add taxonomy check for this. Following is the detail for mass contact module: Mass Contact Introduction: The Mass Contac...

How to get the font size of any text on webpage?

We use .getCssValue(attribute) method to get the properties of any webelement. We can pass the following attributes: font-family font-size color line-height WebDriver driver = new FirefoxDriver(); driver.get("http://www.s...

For loop in Objective C

In this video , we learn how to create for loop in Objective c

Gray Out an Image in android

Gray Out an Image in android In android, Sometimes, we have to gray out image to show it disable or to show it differently. So I share my code to gray out any ImageView. We just do it by using pixels. private ImageView instagramIcon...

What is assembly and strong named assemblies in .net

Assembly is a fundamental unit in .net which is versionable and gets created after successful compilation and it has an extension of .dll or .exe. Strong naming an assembly is Basically a process of Private and Public Key Pair. In .Net ther...

ClickDimensions and Google Universal Analytics Tracking Scripts Conflict

These days many people use both Google Analytics tracking code as well as ClickDimensions tracking code. We use it too. If you are using latest version of google analytics i.e. "universal analytics tracking code" and "clickdimensions tracking ...

Create dictionary using array first letter

we often come to a situation where we have to create the dictionary based on the alphabetic order. So here is the program for creating a Dictionary with first letter of the array element. array element First letter is a key for adding the ele...

Spring 3 MVC accessing HttpRequest from controller

Spring 3 MVC accessing HttpRequest from controller To access HttpRequest from controller you just need to define HttpServletRequest and HttpServletResponse as parameters in a function signature of your Controller. by doing this you allowing Sp...

How to add marker to a location and resume back to location on Button click in a Google Map

"Add marker to a desired location and resume back to location on Button Click in a Google Map "     In my previous article I explained how to integrate Google Map in a .Net Wb Application, If incase someone has missed it th...

CSS3 child and combinators selectors

CSS3 child selector : CSS3 nth child selector, selects the child element of its parent. The common syntax: :nth-child(n) There are many other syntax related to nth-child. Few of them are: 1. :nth-child(odd) For selecting the odd child elemen...

How to Integrate Google Map in a .Net Web Application

"Integrate Google Map in a .Net Web Application"     In this article I have discussed how to integrate Google map in a .Net Application. Getting Started: Make a web application, and write the following HTML in the aspx ...

FindNerd Project Management Tool- Comparison with Trello and Pivotal Tracker

There are many Online Project Management products available in the market. All these tools provide different set of features and target various industries. These tools range from simple task management and list management features like those...

Clicking on marker generate popup on google map

By using this function, when we will click the marker, a popup will be shown on map. Here we have a function , first we will assign the content to a string name, then we will pass that value to the function . Watch below:- function initializ...

Difference between nil?, empty? and blank?

Difference Between nil?, empty? and blank? in Rails :- To understand the difference between these three methods you have to look at each of them individually. In Ruby nil? is a standard method that can be called on all objects and returns...

how to copy data to clipboard using javascript

Hello all, Working with rich text editor a user can copy and paste the data any where in rick text editor and we wanted to remove the html format of that copied data so that only plain text can be copied. To do that we have to get the copie...

Fetching JSON using angular JS

The controller defines a dependency to the $scope and the $http module. An HTTP GET request to the countries.json end point is carried out with the get method. It returns a $promise object with a success and an error method. Once successful, the ...

How to Upload File in ASP.NET MVC

"File Upload in ASP.NET MVC"     File upload is one of the common feature that is required in almost every application. In this article we will discuss how to use this upload file functionality in Asp .Net MVC. Step 1: I...

Difference between 'event.preventDefault()' vs. 'return false' in JQuery

Hello reader's today i will discuss about "event.preventDefault()' vs. 'return false" First, Divs are set to turn red on click, links are set to hide. The top div contains the link which runs with e.preventDefault() which means the link w...

How to use upload files with JQuery

Here is the example for *How to use upload files with JQuery. * If you having trouble with such issues, then use the below code. Here is the HTML <div class="flie-btn clearfix"> <input class="fileinput" type="file" name="d...

how to bind click event on dynamically created elements

Below is the example for how to bind click event on dynamically created elements. If you having trouble with such issues, then use the below code. Here is the HTML <a href="#" class="button">Button</a> <div class="lis...

Custom Progress Bar with Timer

Custom Progress bar with timer Generally we use this splash screen to make our app dynamic and stylish.We can also use to show some process is doing internally. For this we just customize ProgressBar by defining custom style . <progress...

Trigger function in JQuery

Trigger function has an interesting concept as it is used to execute all handlers and behaviors attached to the matched elements for the given event type. For example, If I want to have a click event on a button without clicking, we can use this...

Import wordpress functions in custom.php file

Hello reader's in this blog I will guide you how to import "Wordpress functions in custom.php file?". First Create a custom.php file into your theme and put your code into it. Below is the example of image crop function into custom.php : &...

How to handle multiple submit buttons in Asp.Net MVC

"Handling multiple submit buttons in Asp.Net MVC"     In various cases we have to take multiple submit buttons in a form , I will not discuss the cases but let us take the following example: <form method="post" action="...
1 224 269
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: