Posts

Showing posts from July, 2013

jQuery Get Selected Checkbox Values with Comma Separated List on Name

Introduction :  Here I will explain how to use jQuery to get checked / selected checkbox values with comma separated list based on name. Description : In previous articles I explained jQuery Get Set Delete Cookie example , jQuery Show gridview row details on mouseover , jQuery Create simple mobile website , jQuery clear textbox value on focus , jQuery Draggable & Resizable div with example and many articles relating to JQuery , JavaScript , asp.net , code snippets . Now I will explain how to get selected checkbox values with comma separated list based on name in jQuery . Get selected checkbox values in jQuery To get selected checkbox values based on name we need to write the code like as shown below var slvals = [] $( 'input:checkbox[name=nameofyourcheckbox]:checked' ).each( function () { slvals.push($( this ).val()) If you want to see it in complete example check below code < head > < script type ...

7 jQuery Star Rating Plugin Examples Tutorials

Image
Introduction :  Here I will explain best jQuery star rating Plugins examples. The jQuery star rating control Plugins will help us to give option to users to rate site content based on that we will know whether it’s good or not. Description :    In previous article I explained 8 HTML5 & jQuery Video Player Plugins , 6 jQuery News ticker plugin examples , 11+ best jQuery Scroll to top plugins , 8 jQuery clock plugin examples and many articles relating to jQuery Plugins , JQuery , Ajax , asp.net , SQL Server etc . Now I will explain best jQuery star rating control Plugins examples . jQuery Average Rating Plugin Example In this plugin example we can learn how to allow users to rate and save those details in database. Source       Demo jQuery Bar Rating Plugin jQuery Bar Rating Plugin works by transforming a standard select box into a rating widget.  Source   ...

jQuery Escape Single Quote in String / JavaScript Show Single Quote in String

Introduction :  Here I will explain how to use jQuery to escape single quote in string or show single quote in string using JavaScript . Description : In previous articles I explained jQuery spell checker plugin examples , 4 price range slider plugin examples , jQuery timout function example , jQuery add more or less link to text , create short urls using Google shortner api and many articles relating to JQuery , JavaScript , asp.net , code snippets . Now I will explain how to escape single quote in string jQuery or JavaScript . jQuery Show Single Quote in String To show string with single quote we need to write the code as shown below < script type ="text/javascript"> $( function () { $( '#lbltxt' ).text( 'Today\'s Data' ); }) </ script > If you want to see it in complete example check below code < html xmlns ="http://www.w3.org/1999/xhtml"> < head > ...

C# - Adding the Specified Count to the Semaphore would Cause it to Exceed its Maximum Count in SQL Server / Asp.net

Introduction : Here I will explain how to solve the problem “ adding the specified count to the semaphore would cause it to exceed its maximum count in c# / Asp.net / sql server . ” When running asp.net web application in c# , vb.net with SQL Server database. Description : In previous posts I explained many articles relating to solve errors in asp.net , SQL Server , IIS , etc. Now I will explain how to solve the problem of “ adding the specified count to the semaphore would cause it to exceed its maximum count in sql server ”. To solve this problem we need to add “ Pooling=False ” in database connection string to disable connection pool in web.config. Default Connection String < connectionStrings > < add name = " dbconnection " connectionString = " Data Source=SureshDasari; Initial Catalog=TestDatabase; Persist Security Info=True;User ID=test;Password=test; " /> </ connectionStrings > After Adding Po...

Redirect to Another Page in Handler in Asp.net using C#, VB.NET

Introduction :  Here I will explain how to redirect to another page in handler (.ashx) file in asp.net .  Description : In previous articles I explained jQuery get set text to label , Get set asp.net control values in jQuery , jQuery Set Get textbox control value , jQuery get dropdown selected value & text , JavaScript create watermark text for textbox and many code snippets articles relating to JQuery , JavaScript , asp.net . Now I will explain how to redirect to another page in handler (.ashx) file in asp.net . Redirect user to Another web page in handler(.ashx) To redirect to another web page in handler we need to write the code like as shown below HttpContext .Current.Response.Redirect( "Default.aspx" , false ); In this way we can redirect user to another web page in handler(.ashx) file

Gridview inside gridview in asp.net - nested gridview example

Image
Introduction :  In this article I will explain how to implement gridview with in a gridview example or nested gridview with expand/collapse options in asp.net.  Description : In previous posts I explained asp.net gridview examples and bind data to textbox control in gridview , Bind data to dropdownlist  in gridview in asp.net . Now I will explain how to implement gridview within gridview or nested gridview example in asp.net. To implement this concept first design tables (Country and State) in your database as explained in this post populate dropdown based on another dropdown in asp.net . After completion of table design write following code in your aspx page like this  < html xmlns ="http://www.w3.org/1999/xhtml"> < head id ="Head1" runat ="server"> < title > Gridview within Gridivew - Nested gridview example in asp.net </ title > < script language ="javascript" type ="tex...