This article contains visual tutorials intended for web designers and newbies on how to apply Javascript effects with jQuery.
In case you don’t know about jQuery, it is a “write less, do more” Javascript library.
How jQuery works?
First you need to download a copy of jQuery and insert it in your html …
18 June 2013
3 comments
Simple disappearing effect
This sample will show you how to make something disappear when an image button is clicked.(view demo)
When the X is clicked, it will find its parent element and animate its opacity=hide with slow speed.
$(document).ready(function(){
$(".pane .delete").click(function(){ $(this).parents(".pane").animate({ opacity: "hide" }, "slow");
});
});
17 June 2013
No comments
In this article, I will show you how to search in Gridview by using SqlDataSource’s FilterParameters and Sort by using jQuery tablesorter plugin.
Step:1 Create Searchbox and Gridview
Create asp:textbox called txtSearch to search data.
then create a simple Gridview called Gridview1 with TemplateFields for the fields that you would like to …
15 June 2013
36 comments
I recently came across the CASE WHEN statement work Similar to IF statement into SQL SELECT , Maybe you’ll find it useful.
Create table called Student using SQL Query:
CREATE TABLE [dbo].[Student](
[StudentID] [int] NULL,
[Marks] [float] NULL
)
Insert some data into student:
INSERT INTO [Student] ([StudentID],[Marks]) VALUES (1,30)
INSERT INTO [Student] ([StudentID],[Marks]) VALUES (1,65)
INSERT INTO [Student] …
3 May 2013
1 comment
This article explains how to make an ASP.NET nested GridView. There may be many ways to do this, but here is my code.
Your browser does not support iframes.
First, put gridview1 into asp design page then put another gridview2 inside previous gridview.
Here is code file
<form id="form1" runat="server">
<asp:GridView ID="GridView1"
runat="server"
DataKeyNames="CustomerID" AutoGenerateColumns="false"
OnRowDataBound="gv_RowDataBound" Width="80%"
AllowPaging="True" PageSize="20" …
3 May 2013
24 comments
In this article I will show you how to set, Get, delete and edit cookie with jQuery.
First of all we need jQuery library (jquery-1.3.2.min.js) or any latest version and jQuery Cookie plugin (jquery.cookie.js) which you can download from here
Set Cookie
?View Code HTML$.cookie("test", 1);
Get value of Cookie
?View Code HTML$.cookie(‘test’)
delete Cookie:
?View Code …
3 May 2013
2 comments
In highly interactive websites and intranet sites, you probably want to let the users know what’s going on when they delete, save, export etc. on the site. Those kinds of status messages are widely used and are often implemented by a JavaScript alert box on the web page. You can …
3 May 2013
5 comments
In this article, I am going to show you how to display notification messages in Webpage. Toastmessage-plugin is a JQuery plugin which provides android-like notification messages. The toasted messages arriving on the screen in a seamless and natural way. It’s a quite nice way to report info or error or …
3 May 2013
16 comments
I recently came across the following usefull SQL query, Maybe you’ll find it useful.
In Sql, Pivoting can convert rows to columns. We will see these features in details in this post.
For example, we are considering a table named Ashish.
want to perform a sql query to return results like this:
Originally posted …
3 May 2013
1 comment
Merge – One Statement for INSERT, UPDATE, DELETE
One of the most important advantage of MERGE statement is all the data is read and processed only once. In previous versions three different statement has to be written to process three different activity (INSERT, UPDATE or DELETE), however using MERGE statement all …
3 May 2013
No comments