Skip to main content

Posts

Read cookies value using C#.net Asp.Net

Introduction: In my previous article I have explained about Delete browser cookie using C#.Net,Asp.Net . In this article I am going to explain about how to delete the browser cookies using C#.Net code.   Explanation: Read a string from the   Cookies   collection using the cookie's name as the key. The following example reads the value of cookie named   “name”   from the browser   cookies.

Delete browser cookie using C#.Net,Asp.Net

Introduction: In my previous article I have explained about How to Add httpcookie using C#.net . In this article I am going to explain about how to delete the browser cookies using C#.Net code. Explanation: You cannot directly delete a cookie on a user's computer. However, you can direct the user's browser to delete the cookie by setting the cookie's expiration date to a past date.  

Add httpcookie using c#.net

Introduction: In my previous article I have explained about how to Remove hash tag from the current url-Javascript . In this article I am going to explain about how to add HttpCookie using  C# code. Explanation: To below method   is used to add HttpCookie using C# code. We need to pass the cookie name and cookie value as the input to this method.

Remove hash tag from the current url-Javascript

Introduction: In my previous article I have explained about Move items in drop down list from left to right using jQuery . In this article I am going to explain about how to remove hash tags from the current url using javascript . Explanation: To below code is used to remove the hash tags from the current url and to reload the page with the new url(without hash tags).

Move items in drop down list from left to right using jQuery

Introduction: In my previous article I have explained about   Add remove select and set items in select drop down list . In this article I am going to explain about how to move items from left side to write side using jQuery Explanation: For example in my form I have two dropdown lists one with id “allcities” and another one with id “selectedcities”. And I have two buttons one for moving item from left to right (btnleft) and another one is to move item from right to left (btnright). Below is the html code.

Add remove select and set items in select drop down list

Introduction: In my previous article I have explained about Convert string to lowercase-uppercase in xslt . In this article I am going to explain about how to add,remove,check and set the items in select using jQuery Explanation: For example in my form I have a select option with id “ seloption ”. To add a item with value “option1” and with text “Option-1” below code is used.

Convert string to lowercase-uppercase in xslt

Introduction: In my previous article I have explained about   How to maintain scroll position on postback . In this article I am going to explain about how to convert the text to uppercase and lowercase in xslt. Explanation: Declare the three xslt variables one for lowercase characters and one for uppercase characters. And the third one is to assign the input value. Below is the sample code.