Wednesday, March 22, 2017

set viewbag in jquery

set viewbag in jquery:
In this example I will show you how to bind viewbag value to an html control using jQuery in mvc.

more details:

Monday, March 20, 2017

How to appending an existing XML file in c#?

c# xml add element
In this article I will show how to append new data to an xml file using c#. If you want to add data to xml file without reloading the xml file appending data to the first row using the xElement addBeforeSelf...

more details:

Saturday, March 18, 2017

How to display an image using angularjs ng src?

l In this article, I will show you how to display image in angularjs ng src. In html document you should display an image using img tag element using the src attribute. In Angular use ng-src attribute to bind the image.

more details:

Wednesday, March 15, 2017

Mouseover hover effect for asp.net Gridview using JQuery

select gridview row
In this article I will show you how to create a mouse hover effect for asp.net gridview rows using jQuery. You can apply Css effects for a gridview using JQuery related Css methods like addClass, removeClass and toggleClass etc.

more details:

How to edit xml file using asp.net c# MVC?

How to edit xml file using asp.net c# MVC?
In this article I will show you how to modify xml file using asp.net c# mvc. I have xml file with column fields such as id, paragraph, link etc.

more details:

How to create random generating alphanumeric stirng in C#?

How to create random generating alphanumeric stirng in C#?
more details:

Saturday, March 11, 2017

Control the brightness of image using c#

image processing in c#
In this article I will show you how to apply brightness of an image using c#.net. You can adjust the color components of the image from the input ranges between -255 and 255.

more details:

How to convert byte array to image in c#?

byte array to image c#
In this article I will show you how to convert binary data to image using c#. I have saved already stored image binary data into database.

more details:

Friday, March 10, 2017

How to get the name of Image using jQuery?

jquery get id of element
In this article, I will show you how to get the name of image using jQuery. We can get the Image using jQuery id selector, then using slash(‘\’) and split into array(s).

more details:

Convert image to black and white in c#

convert image to black and white
In this article I will show you how to convert picture to black and white using c#. You need to pass the bitmap image to the following function.

more details:

Wednesday, March 8, 2017

JQuery ui Slider-ajax server side call

jquery slider ui
In this article, I will show you how to send a post with to the server from jQuery ui Slider using jQuery Ajax . The jQuery ui Slide allows the user to select certain numeric value range from it.

more details:

Thursday, March 2, 2017

How to set focus on the image of an HTML page?


After cropping the image, the page scrolls to the top of the window. The new cropped image doesn’t get focused. Normally .focus() JavaScript method is applies to the form controls.

more details:

center a picture on a web page using HTML

html center align
In this article, I will show you how to align images to the center. It’s very simple to align images on the WebPages. Normally,img tag is an inline element, so it acts differently over the elements.

more details: