Writing and reading cookies in ASP.net using c#

A cookie is just a little bit of text which is send by the browser each time with the request for the page. Each time on the machine when browser will make the request to the web page, it will send the existing cookies along with the request too. So this approach helping the Web site or web application remember users and other information such as user’s preferences, shopping cart contents and the user’s session. Continue reading “Writing and reading cookies in ASP.net using c#”

Scroll up and down div from input buttons in JavaScript

If you want to scroll up and down the div element through the buttons you can use the following code sample.

The example contains a div element and two input buttons for up and down scroll. In this example the div element contain an image. You can get an idea from the below image. Continue reading “Scroll up and down div from input buttons in JavaScript”

JQuery multiple files upload in asp.net and C# using Ajax form

In this article we will discuss about the files uploading in the asp.net. Asp.net provides the FileUpload control and you can use this with a small amount of code lines for uploading the documents. However there are many other ways to upload the files using the several jQuery,flash and Ajax plugins. In the following you can see a such a script that use the Ajax form plugin. Continue reading “JQuery multiple files upload in asp.net and C# using Ajax form”