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

jQuery Check If Image Exists with Given URL or Not Example

Oct 4, 2015 1 comments
Introduction

Here I will explain how to check if image exists with given url in
jQuery or check if image exists with url before adding it using jQuery with example or jQuery check if given image url valid or not example. By using $.ajax method in jQuery we can check if exists with given url or not.

Description:
  
In previous articles I explained jQuery change text size with example, jQuery ajax gridview crud operations (insert, update, delete) with database, jQuery display gridview row details in modal popup dialog,
jQuery validate radiobuttonlist with example and many articles relating to css, AngularJS, jQuery, JavaScript and asp.net. Now I will explain how to check if image exists with given url in jQuery with example.

jQuery Check if File Exists with URL on Remote Server Example

0 comments
Introduction

Here I will explain how to check if file exists in remote server in
jQuery or check if file exists with url in server using jQuery with example. By using $.ajax method in jQuery we can check if file exists in url or not.

JavaScript Show/Hide (Open/Close) AJAX ModalPopupExtender in ASP.Net

Aug 19, 2015 1 comments
Introduction: 

Here I will explain how to show/hide Ajax modalpopupextender using JavaScript in asp.net or open / close modalpopupextender using JavaScript in asp.net.

Description: 

In previous posts I explained some of the samples relating to Ajax modalpopupextender. During the time whenever I worked on to prepare samples for Ajax modalpopupextender I got requirement like close the modalpopupextender whenever I click on close icon for that check this example Ajax Confirmation box. Generally in Ajax modalpopupextender we will set two properties TargetControlID and CancelControlID like

jQuery Change Text Size (Zoom in and Zoom out Text) with Example

Aug 12, 2015 1 comments
Introduction

Here I will explain how to change text size using jQuery or zoom in and zoom out text using jQuery  or increase or decrease font size of website dynamically on button click using
jQuery in asp.net.

Description:
  
In previous articles I explained
Redirect to another page after some time delay, jQuery slideUp slideDown toggle effects, Cross page postback in asp.net and many articles relating to JQuery and asp.net. Now I will explain how to zoom in and zoom out text size or increase and decrease font size of website dynamically using jQuery in asp.net.

Dropdownlist Control Examples in Asp.net using C#, VB.NET

Aug 9, 2015 1 comments
Introduction

Here I will explain dropdownlist control examples in
asp.net using c#, vb.net or dropdownlist control in asp.net with examples using c#, vb.net or asp.net dropdownlist onselectedindexchanged examples in c#, vb.net.

Description:
  
In previous articles I explained
create error log files in asp.net, generate random string or password in asp.net, Add or remove new row in gridview in asp.net, gridview examples in asp.net and many articles relating to gridview, asp.net, c#,vb.net and jQuery. Now I will explain dropdownlist control with examples in asp.net using c#, vb.net.

Get Current Page Name in Asp.net using C#, VB.Net with Page.GetFileName Property

Aug 5, 2015 1 comments
Introduction

Here I will explain how to get current page name in
asp.net using c#, vb.net with example or get name of current executing page in asp.net using c#, vb.net or get currentpage.aspx from page object in asp.net. By Path.GetFileName property we can get current page name in asp.net using c#, vb.net.

Angularjs ng-repeat Filter Expression to Filter Values Example

Jul 16, 2015 0 comments
Introduction

Here I will explain how to use
AngularJS to use ng-repeat filter expression to filter JSON object values to show or hide or update elements with example or AngularJS filter json object in controller with ng-repeat filter expression values example. By using filter option in ng-repeat we can filter JSON object values to enable/disable or show/hide required elements from JSON object.

Description:
  
In previous articles I explained
Angularjs ui grid cell template click event, bind dropdownlist in angularjs, Angularjs convert lower case to upper case while typing text, 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 filter JSON object using ng-repeat filter expression in using AngularJS.

Angularjs Filter JSON Object to Show / Hide / Update Elements based on Conditions

1 comments
Introduction

Here I will explain how to use
AngularJS to filter JSON object to show or hide or update elements with example or AngularJS filter json object in controller with example. By using filter option in ng-repeat we can enable/disable or show/hide required elements from JSON object.

Description:
  
In previous articles I explained
Angularjs ui grid cell template click event, bind dropdownlist in angularjs, Angularjs convert lower case to upper case while typing text, 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 filter JSON object to change elements behavior in using AngularJS.

Angularjs Get Dropdownlist Selected Value & Text with ng-change Event Example

Jul 15, 2015 4 comments
Introduction

Here I will explain how to use
AngularJS to get dropdownlist selected value and text using ng-change event with example or use dropdown list ng-change event to get selected value and text using AngularJS with examples. By using ng-model property in AngularJS we can get dropdownlist selected value and text in ng-change event.

Description:
  
In previous articles I explained Angularjs ui grid cell template click event,
bind dropdownlist in angularjs, Angularjs convert lower case to upper case while typing text, 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 get dropdownlist selected value and text in ng-change event using AngularJS.

Angularjs ng-click Event in Inside UI-Grid Cell Template Not Trigger (Firing) Function in Controller

Jul 12, 2015 6 comments
Introduction

Here I will explain how to set ng-click event in ui-grid cell template in
AngularJS or fix problem of ng-click event in ui-grid cell template not working / firing / triggering function in controller in AngularJS. Generally ui-grid will isolate scope variable so there is no access to scope variable from row or cell template to fix this problem we need to use grid.appScope property it will allow to access scope variable from ui-grid row or cell template in AngularJS. We need to use the property like “ng-click="grid.appScope.yourfunction()"” in ui-grid cell template in AngularJS.

Angularjs Set Radio Button Default Value Checked / Selected using ng-init Example

Jul 9, 2015 0 comments
Introduction

Here I will explain how to set default value of radiobutton selected / checked in
AngularJS or radio button set default value checked or selected in AngularJS or show / hide div when radiobutton checked (selected) or option changed in AngularJS. By using ng-init, ng-show and ng-model properites we can set default value and we can show or hide div using AngularJS.

Description:
  
In previous articles I explained
Angularjs tutorial with simple hello world example, Angularjs show confirm dialog box on button click example 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 set default value of radibutton selected or checked and show or hide div on radio button selection in AngularJS.

Angularjs Show Hide Div Based on Radiobutton Selection with Example

0 comments
Introduction

Here I will explain how to show or hide div based on radiobutton selected option using
AngularJS or show / hide div when radiobutton checked (selected) or option changed example in AngularJS. By using ng-show and ng-model options we can show or hide div based on radiobutton selection using AngularJS.

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.

© 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.