Following are the possible test scenarios to test Database:-
1) Exact data is saved in database on successful page submission.
2) Only after successful completion of operation data is saved in database.
3) To test values for columns which doe...
DNN provide export and import portals functionality by which we can create new portal using old portal
Steps to export the template:
1.Login in the portal with super user account.
2.Go to host->site management ->Export site template.
...
Try the below mentioned points to make it work properly
Delete all files in "Temporary ASP.NET Files" Folder, "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files".
Version number(v4.0.30319) will be change, based on the i...
Go to Admin menu, click site settings
In Basic settings, scroll down, click on Appearance
option to upload Favicon.ico icon, upload icon and click update
This tutorial is very helpful to create a custom video camera with controls . With the help of this content you can designing your own camera GUI with flash light ,start capturing video,stop capturing video.This content also has a feature to open...
Generally we think Eyedropper tool is used for picking colors or gradients in Illustrator. But you know that the **eyedropper can be used for picking character styles and appearances**.
To do this,
Type a text & add some style on it.
The...
**
Method overLoading In Objective C:
**
method overloading concept in object oriented language we use the same method name with the different signature. Signature is the argument that we send using the function.
we just change the number...
Opening a Flattened (composite) Version of a Layered Photoshop File
When opening a file in Photoshop,
holding the Option (Mac) / Alt + Shift (Win) will open a flattened version of a file (instead of a layered one),
if the original layere...
While working with a large relational database in rails we come to point where we have to access data from a large number of tables in a single query. Well for this rails provide us with two very powerfull active records methods i.e joins and inc...
Now since most of the applications are using APIs for data communication between server and client, the requirement of converting files to Byte array has increased immensely.
e.g. If we need to Upload a zip file to azure blob then we need to co...
Hello Reader's,
I m using IOSLinkedinAPI to Share Video link to LinkedIn. But i m giving option to share picture URL , links and text post to LinkedIn.
Install AFNetworking using pods.
Download IOSLinkedinAPI and drag-drop "IOSLi...
This is a very common requirement for Mobile app developers who use APIs to interact with the Data.
e.g. You want to show the list of events in an app and you have lots of data for the call at server. If server returns you back with all the data...
Whats the Difference Between Raster and Vector?
Whats the difference between raster and vector? This question is asked by many newbie designers, webmasters and other interested individuals and sometimes the answers can be as confusi...
Hi All,
Though leverage browser caching reduces the load times of pages by storing commonly used files from your website on your visitors browser but sometimes, we need to force application to clear Cache (or System.Web.HttpRuntime.Cache), many ...
The official JDK is provided by Oracle but is not provided as default installation by ubuntu
You can install Oracle JDK using apt-get by adding the repositories and then using apt-get command.
To add the repository issue the following comm...
This series would be introducing simple examples of the widget along with the problems and the solutions that were used during execution of a project.
Kendo UI is a set library extended from Jquery developed and managed by Telerik.com.
It h...
We can refresh a ListView or GridView by vertical swipe using SwipeRefreshLayout class. The SwipeRefreshLayout should be used whenever the user can refresh the contents of a view via a vertical swipe gesture. We need to add an OnRefreshListener t...
Java Servlet Filters :
Servlet filters are the classes which can intercept the request and can modify the response. Filters are not servlets, because filters can not create the response.The purpose of using filters are as follows :
To int...
Reset the remote URL :
Git provides the ' git remote set-url ' command to reset the remote URI.The other way to reset the remote URI is first delete the current URI and then again use git remote add command. Following is the syntax of change the...
First download a sample theme from http://yii.themefactory.net/ and extract it in to yii2basic/themes folder.
Now open /config/web.php and add the below code
'view' => [
'theme' => [
'pathMap' => ['@app/views' => 'th...
Hello Readers,
I came across a solution while working on mongodb and would like to share with you all in case you face any such problem while working on mongodb.
If you are coming across the error like the following:
Connection error: {...
Rename the existing remote repository :
There could be a condition where you want to add a new repository and you will get the message like repository already exist, or in other case when you mistakenly set the remote name wrong, then we need ...
Add Remote Address : Git allow you to fetch and commit the repository from remote address. Before doing any operation using remote address you need to specify the remote address for the repository. We can connect with remote repository using one ...
Many a times we need to authenticate our users through social media such as facebook, twitter and google+.
Today I will be discussing how to login to the system using Google+ credentials without using any sdk but through javascript.
Using the...
Improve your skills and speed up your workflow with these expert Photoshop tips and shortcuts.
Photoshop is an easy tool to use and a difficult one to master, but help is at hand with our comprehensive list of tips and tricks for Adobe Photosh...
Many times we need to make check for iOS version as it Apple changes its API from version to version. For this reason Apple provide the safest way to achieve it, which is "NSFoundationVersionNumber". It returns on which version device is running....
If you want to remove mutiple classes on click of a button:
HTML:
<div class="container">
<span class="class1 class2 class3"></span>
<button id="clear" type="button"></button>
</div>
JS:
$("#cl...
We need to write search queries every now and then in our projects. This is one of the most common tasks a PHP developer has to do. Most of the developers still use wildcard queries for this purpose which is very slow in searching records. Howeve...
Now in the current scenario, Most of the Project Owners want to keep their data on cloud. Specially for the .Net projects, we often need to store data in Cloud based Microsoft Azure server.
Azure provides azure storage account to facilitate th...
As i have already defined what all things we need as prerequisite to access a blob in Azure in my previous blog Retrieve File from a private container in Azure, Here is the code for Storing byte array in an Azure blob
public string UploadByteA...
Following is difference between Delete and Truncate in database:
Delete:
DELETE is a DML(Data Manipulation Language) Command.
DELETE statement is executed using a row lock, each row in the table is locked for deletion.
You can add filte...
Signal R - An Introduction
ASP.NET SignalR is a library for ASP.NET developers which help's the developers in the process of adding real-time web functionality to applications. Real-time web functionality is like to have server code push conte...
Well my previous blog was on how to replace parameters in query string of a uri, this one simply gets the param value from the url..
function getParameterByName(uri,paramName) {
paramName = paramName.replace(/[\[]/, "\\[").replace(/[\]]/,...
More often than not we need to change URL parameters sometimes for Hash tags and sometimes for creating url parameters for creating new clickable URLs..
function updateQueryStringParameter(uri, key, value) {
var re = new RegExp("([?&])"...
This example will help a user to get the current time,date, day, month and the year.
Here we have used JavaScript Date class and the following methods of Date class.
getFullYear(); getFullYear() returns a four-digit number
...
Role Management Providers Configuration:
Role management providers are used by the role management services in order to separate the functionality of role management from the data store that contains the role information, however roles can use...
CountDownTimer is an abstract class available in android. This class contains two abstract method i.e. onTick(long) and onFinish().
onTick(long millisUntilFinished): Callback fired on regular interval.
onFinish() : Callba...
Hi All,
While working with SQL, I came across the requirement to get the business days only. I had the number of working days and the starting date. Now the requirement was to get the next date by excluding all the Saturday Sunday and only to co...
Caching with Data Source Controls:
Why do we need caching..?
In a Website majority of the pages are dynamic that provide dynamic content, customized
for the user requesting the page. Dynamic pages also help provide dynamic content fetch...
Hey guys, Welcome back to "Part 6 - Types on Mask in Photoshop".
In this Blog iam gonna tell you about Clipping Mask.
OK Let's get started.
A Clipping mask is a type of mask in Photoshop. It may be a layer or group of layers to whi...
Hello Reader's today we discuss about "Check file exists or not in Php".
HTML code :
<!DOCTYPE html>
<html>
<body>
<?php echo $message; ?>
<form enctype="multipart/form-data" method="POST">
<input type=...
Hello Reader's today we discuss about "Multiple file upload using Php".
Make sure that the shape employs method="post" The shape also desires the subsequent feature: enctype="multipart/form-data". This specifies which in turn content-type to u...
Custom exception objects in .Net:
Why to make custom exception class?
There are various Exception objects available in .net but what if there's no applicable Exception object to the problem of our code, the solution is to create an Excepti...
When we will use unlink() then this function will delete to file test.jpg from given path.
PHP
<?php
unlink("image/test.jpg");
?>
When we will use unset() then this function will remove content initialized with the PHP variable...
Hello Readers!
If you are creating any real time web application then node.js with socket.io is very worth for it. It connects client to server very easily with no time. Perfect example of node.js and socket.io is a Chat application or online ...
Make sure that the shape employs method="post"
The shape also desires the subsequent feature: enctype="multipart/form-data". This specifies which in turn content-type to utilize as soon as posting the form.
Without worrying about demands abov...
Hello Guys
I am writing a program for error handling in c programming but I am confusing to choose best approach for handle error from if-else and switch-case.
Please explain with suitable example and guide me best approach.
Thanks in adva...
When on Linux you may see that file system may behave strangely sometimes which is generally due to corrupt inodes or in all the complete file system.
To overcome this you may want to run a file system check using fsck command.
But ...