Asp.net J query

Jquery multiple checkbox with gridview

Explained with an example and attached sample code, explain how to implement check uncheck all or select unselect all functionality for CheckBox in GridView ItemTemplate and HeaderTemplate using jQuery and JavaScript. In this article I will explain how to implement check uncheck all (select unselect all) functionality for CheckBox in GridView ItemTemplate and HeaderTemplate usingContinue Reading “Jquery multiple checkbox with gridview”

Asp.net J query

json serialization and deserialization – Asp.net C#

json serialization and deserialization in asp.net c# Best way to work with json and asp.net c# using Serialization and  DeserializationJson String :{“user”: {“Fname”:”Mahesh”,”Lname”:”Javiya”}} Class In C# : public class User { public string Fname { get; set; } public string Lname { get; set; } } public class RootObject { public User user { get; set;Continue Reading “json serialization and deserialization – Asp.net C#”

Asp.net C#

How to display a QR code in ASP.NET and WPF

I’ve half-jokingly said that there’s never a good reason to use a QR Code. However, I’m working on an MVP (minimally viable product) for a small startup with Greg Shackles and we actually have a good reason to use one. We have a mobile device, a Web Site, and a Windows Application, and a QR Code is a prettyContinue Reading “How to display a QR code in ASP.NET and WPF”

Asp.net

Back Button Problem After Logout in ASP.NET

I was facing a problem during one of my project. Actually, I was developing an E-Commerce site, in which I need to give login and logout button. I did login part easily and logout also. But problem arisen, when I pushed back button. Oh! God! Even after logout, it creates a session without login. How?Continue Reading “Back Button Problem After Logout in ASP.NET”

Asp.net

Using Ajax Call Keep session Alive

Using Ajax Call Keep session Alive Use Below javascript to keep session alive in master page<script type=”text/javascript”> setInterval(‘pingSession()’, 50000); var jqping = jQuery.noConflict(); function pingSession() {       jqping.ajax({ url: ‘Default.aspx’, error: function (){ }, success: function (response) { }, complete: function () { } }); } </script>

Asp.net

Trick To clear Catch Images

Trick To clear Catch Images Easy way to add Query string in a Image Url to generate new request url. so browser not get image from catch. Code: <Asp:Image Id=”img” Runat=”Server”  ImageUrl='<%# String.Format(“{0}?n={1}”,Eval(“ThumbImg”),  System.Guid.NewGuid()) %>

Asp.net

Get Currency Symbol From CultureInfo Class In asp.net 4.0

Function Return the Currency Symbol Currency = ISO3 Currency Code Ex: Currency =”INR” public static string CurrencySymbol(string Currency) { Hashtable currencySymbols = null; string currencysymbol = “”; if (Currency == null) return “”; if (Currency == “”) return “”; if (currencySymbols == null) { currencySymbols = new Hashtable(); foreach (CultureInfo ci in CultureInfo.GetCultures(CultureTypes.SpecificCultures)) { RegionInfoContinue Reading “Get Currency Symbol From CultureInfo Class In asp.net 4.0”