Aspdotnet-Suresh

aspdotnet-suresh offers C#.net articles and tutorials,csharp dot net,asp.net articles and tutorials,VB.NET Articles,Gridview articles,code examples of asp.net 2.0 /3.5,AJAX,SQL Server Articles,examples of .net technologies

Showing posts with label Code Snippets. Show all posts
Showing posts with label Code Snippets. Show all posts

Set Date Format in JavaScript dd/mm/yyyy hh:mm:ss Example

Jul 7, 2015 0 comments
Introduction

Here I will explain how to use
JavaScript to set date format in dd/mm/yyyy hh:mm:ss with example or JavaScript change or set date format in dd/mm/yyyy hh:mm:ss with example. By using new Date() properties we can change date format to dd/mm/yyyy hh:mm:ss in JavaScript.

JavaScript Get Date of 30 Days Prior (Ago) to Current Date Example

0 comments
Introduction

Here I will explain how to use
JavaScript to get date of 30 days prior to current date with example or JavaScript get 30 days minus / previous / ago of current date with example. By using new Date() property we can get date of 30 days prior to current date in JavaScript.

JavaScript Regular Expression to Replace (Escape) Special Characters from String

Jul 1, 2015 0 comments
Introduction

Here I will explain how to use
JavaScript regular expression to remove special characters or regular expression to escape special characters in JavaScript or regex to replace special characters in string using JavaScript. By using JavaScript replace function we can replace or remove special characters in string.

AngularJS Tutorial for Beginners with Hello World Example

Jun 25, 2015 0 comments
Introduction

Here I will explain
AngularJS tutorial with simple hello world example or AngularJS tutorial example for beginners. AngularJS is a MVC based JavaScript  framework which is written completely using JavaScript. In AngularJS we have set of different directives which we used commonly in AngularJS application those are ng-app, ng-controller and ng-bind directives.

Description:                
  
In previous articles I explained
Angularjs show hide div on checkbox selection, Angularjs refresh div for every 1 second using interval mode, Angularjs convert number to currency format, Angularjs get dropdownlist selected value, Angularjs convert text to uppercase while typing and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain AngularJS tutorial with simple hello world example.

Angularjs Button ng-click Event Directive Example

Jun 23, 2015 0 comments
Introduction

Here I will explain how to use ng-click event directive example in 
AngularJS for button click or show / hide div on button ng-click event in AngularJS or show / display or hide in AngularJS using button ng-click with example. By using “ng-show”, “ng-hide” properties in AngularJS we can show or hide div elements.

Angularjs Show (Display) Confirm Dialog Box Example on ng-click Button Event

Jun 22, 2015 3 comments
Introduction

Here I will explain how to show confirm dialog box message in
AngularJS example using ng-click directive or show / display JavaScript dialog confirm message box with example in AngularJS using ng-click with example. Generally in JavaScript we will use “window” property to show confirm dialog box same way in AngularJS we will use “$window” property show confirm dialog message box.

Description:
  
In previous articles I explained Angularjs show hide div on checkbox selection,
Angularjs refresh div for every 1 second using interval mode, Angularjs convert number to currency format, Angularjs get dropdownlist selected value, Angularjs convert text to uppercase while typing and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to show confirm dialog box message in AngularJS with example using ng-click directive.

Angularjs Get Previous Next Day, Month, Year, Date Time Example

1 comments
Introduction

Here I will explain how to get previous day, month, year, time in
AngularJS or get next day, month, year and time in AngularJS. By using “new Date()” function properties like setDate(), setMonth(), setFullYear() we can get current, previous and next day, month, time and year in AngularJS.

Angularjs UI Grid Show No Records Found or No Data Available Message

Jun 17, 2015 1 comments
Introduction

Here I will explain how to show no records found message in ui grid in
AngularJS with example or AngularJS show no data found message in ui grid in case if service not returned any data. By comparing data value in AngularJS we can show no data available message in ui grid whenever it is empty or not contain data.

jQuery Enable Disable Textbox on Checkbox Selection or Click Example

Jun 11, 2015 3 comments
Introduction

Here I will explain how to use
jQuery to enable disable textbox based on checkbox selection / click or jQuery enable disable textbox on checkbox click or jQuery enable disable textbox when checkbox selected / deselected or enable disable textbox on checkbox selection using jQuery with example.

Description:
  
In previous articles I explained
jQuery load more records on button click in repeater, jQuery show asp.net exception message in ajax calls, jQuery check whether radiobutton selected or not, jQuery get radio button selected value by name, jQuery validate radiobuttonlist with example and many articles relating to css, AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to use jQuery to enable or disable textbox based on checkbox selection with example.

jQuery Get/Detect Browser Type and Version in Asp.net using jQuery Migrate Plugin

Jun 9, 2015 0 comments
Introduction

Here I will explain how to
jQuery to get browser type and version or jQuery detect browser version and type in asp.net with example or jQuery find browser type / version with example. By using jQuery migrate plugin we can get browser type and veriosn with example.

jQuery Count (Get) Number of Rows in Table with Example

May 19, 2015 0 comments
Introduction

Here I will explain how to get number of rows count in table in
jQuery or count number of rows in table in jQuery with example or jQuery get number of table rows length or jQuery get rows length in table with example.

Angularjs $interval Example to Refresh Div for Every n Seconds

May 11, 2015 0 comments
Introduction

Here I will explain how to refresh div for every 1 second using $interval in 
AngularJS with example. Generally in JavaScript we will use setInterval() function to run our code for every specific period of time same way in AngularJS we have $interval angular module to do same functionality like setInterval() function. To refresh div for every 1 second here I am going to use $interval angular module.

Description:
  
In previous articles I explained jQuery setInterval() function example, start and stop time in javascript using setInterval function, jQuery redirect to another page after 5 seconds, Javascript redirect to another page after 5 seconds and many articles relating to
jQuery, JavaScript and asp.net. Now I will explain how to refresh div for every 1 second using AngularJS.

Angularjs Open Url in New Browser Window with Custom Height Width Example

May 9, 2015 2 comments
Introduction

Here I will explain how to open url in new browser window using
AngularJS with custom height and width on button click example or AngularJS open new popup / browser window on button click or AngularJS open child window from parent window on button click with example. By using “$window.open” we can new popup browser window with custom size in AngularJS.

Description:
  
In previous articles I explained
Angularjs convert number to currency format, Angularjs get dropdownlist selected value, Angularjs convert text to uppercase while typing, Angularjs refresh div for every 1 second using interval mode and many articles relating to AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to open new browser window with custom height and width on button click using AngularJS.
© 2015 Aspdotnet-Suresh.com. All Rights Reserved.
The content is copyrighted to Suresh Dasari and may not be reproduced on other websites without permission from the owner.