.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

JQuery - How to display three items per row ?

Posted By:      Posted Date: October 16, 2010    Points: 0   Category :ASP.Net

Hi everyone,

Can you please modify the following code so that it can display three items per row ?



<table id="RSSTable" cellspacing="0">

    {#foreach $T.d as post}
      <td><a href="./ProductDetail.aspx?ProductId={$T.post.ProductId}">{$T.post.FName}</a></td>

View Complete Post

More Related Resource Links

jQuery: Styling DropDownList Alternating Items (Rows)

In the following example, I will show how you can style any asp:dropdownlist very easily.

The example demonstrates how you can change alternating row items background color, using the fadeTo() to add a nice touch in the dropdownlist. You can change alt rows with a couple lines.

Display tooltip for Sharepoint list items


Hi All,

I am using MOSS 2007 and my requirement is to show tooltip when I hover the mouse over the title column for each item. I am planning on storing the tooltip string for each listitem in a seperate column. Is there a way to do it. I am sure there is. Any help is greatly appreciated.

Thanks in advance!




Cannot count number of checked items using jQuery

Hello,Using Microsoft built-in jquery files, when counting numbers of checked checkbox, the jquery-1.4.2.min.js cannot count the correct result ,however, the version jquery-1.3.2.min.js gives out the correct one, why?            $("#check").click(function () {                var nameSports = new Array();                var i = 0;                $('input[name=selector]:checked').each(function () {                    nameSports[i] = jQuery(this).val();                    i += 1;                });                if (loopCounter != 0) {                    alert(i);                }  

Get related item id in task list to display all task items related to this item

this is my scenario i have a document library with customized workflow in this workflow i have 6 collect data from user all of them have description feild i need when user display any item in library to view all of its description feilds related to this document as its meta data   sooo any idea

How to display newest blog items?

Hi, I created a site with a blog subsite. In my site I want to display the newest blogs. Thought this was fairly straight forward but I cannot figure it out. Any body an idea? If so is it also possible to display a certain Category of blogs? Thnx!

jquery to display the vedio as popup

Hi Friends. I need your help to solve this problem.I need to show a popup as a video using jquery.the vedio is a html page itself. i need to call this page inside a div or panel of another page on this page i need to provide popupfor ex:page1.html has the video( this vedio run in flv-flayer)page2. i have code as follows<body>       <center>          <div id="button"><input type="submit" value="watch the video" /></div>       </center>       <div id="popupContent">           <a id="popupContactClose">x</a>           <h1>vedio</h1>           <div ></div>      </div>       <div id="backgroundPopup"></div>   </body> by clicking watch the video in page to i can get pop up it is ok... but how can i include html page - page1.html in to that pop up using JQUERY.i mean there shold be a way to include this vedio in div of that page 2Please help meThanksRama

web part to display recent changes on all items in site

Hi, Is there any web part like content Query to list all the changes made to the site say document uploaded, deleted, users added on the home page in SharePoint 2010 sites? If there is any third party web part also, please let me know.   Regards, Garima

Display selected items total in gridview footer


Hi all,

           I will have a gridview with checkboxes and some amount fields. I would like to display the sum of the amount in gridview footer depending on the checked items by the user. Can any one give me a sample code

Jquery to display image map in sharepoint


I need to use google maps in sharepoint site .

and need to highlight on mouseover location stored in the list.

this list contains location name and co-ordinates of the location.

how can I use Jquery to display image map in sharepoint.Plesae give some initial thoughts.


Display number of items for each metadata in navigation.



Is it possible to display the count of number of documents for specific keyword category in library's metadata navigation? For instance - Draft (1), Approved (0) - or if categories with no documents were not shown at all.


Adding windows forms controls to the display of list items



I'm new to Sharepoint development, and was wondering if I could get some brief pointers to get me going in the right direction.  I'm required to add a button to list items that on submit does some manipulation of the data in the fields inside the item and then sends that data off to an external webservice.  The complexity is sufficient to warrant managed code, i.e. C#.

What I'd like to know is how to approach integrating this code into Sharepoint.  I've read about web parts, but viewing list items doesn't involve web part pages on my installation so I can't include my own.  What other ways are there of doing this?

Cheers all

Display progress image when page is loading using jquery


hi friends,

When I click Submit button in my Registration form it should be open a (div) progress bar Showing processing.... (or) loading  and block background.


how to display a progress bar loading.... in div after Submit button click??


plsssssss tell me,it's very urgent.

Many Thanks in Advance.

Image display through jQuery!


Hi, I have a set of images which are subjected to display inside a usercontrol(horizontally) but while loading the page the images are displaying  vertically. Only after the page completely loaded they are displaying properly. How can I use jQuery to hide the images when the page is loading and display them when the page is fully loaded. Below is the usercontrol code I am using for displaying controls:

<%@ Control Language="C#" AutoEventWireup="false" CodeBehind="cbLeadStory.ascx.cs" Inherits="Monster.Seeker.Content20.Web.Controls.cbLeadStory" EnableViewState="false" %>

<asp:PlaceHolder runat="server" ID="phAjaxControlContainer">
    <div runat="server" id="div_container">
        <asp:PlaceHolder runat="server" ID="plcStatic"><%= this.BlockHtml %></asp:PlaceHolder>
        <asp:PlaceHolder runat="server" ID="plcCarousel">
            <div class="ajaxLoading"></div>
            <span id="content"><%= this.BlockHtml %></span>
            <div id="paging"></div>
            <script type="text/javascript" language="javascript">

Moving items from ListBox1 to ListBox2 using jquery


HIi guys,

I have two ListBoxes.I want to movie items from ListBox1 to Listbox2 using jquery.

I want to save ListBox2 items in Xml file.

But i am unable to get ListBox2 items after moving from ListBox2.

I searched for this problem.Solutions is Use HiddenField for getting server side.

I am new to Dot net.So Explain with one simple example.

Thanks all,

Rama krishna

Display cart items in master file


We have a section of our site that allows you to add items to a cart, nothing to sell.. just keep while you are on the site and can go back to..

On the page that you have that ability to add items, i also have a label that displays the number of items.. Now that we are going to go live with this, thay have moved the count to the menu, but the menu is within the Site.Master file, so its not being populated. But it works fine on the page where you can add items..


So what can i do to accomplish the task of displaying the total number from my master file, right now you can only see the accurate number on the page you add to cart.. once you select another page, you dont have it anymore..


This is within my event for the "Add to Cart" button, this works, because the label is on this page. But now the label is within the master file and even though the below works, the number doesnt update on the menu .


            foreach (GridViewRow row in GridView1.Rows)
                CheckBox chk = (CheckBox)row.FindControl("ckbSelect");
                Label lblID = (Label)row.FindControl("lblID");
                if (chk.Checked)

display first five items in webpart and remaing should be in another webpart



I am having page document library in that i am having 10 pages.

i want show first 5 pages in a webpart and remaining should be another webpart.

And i want put these webpart in that pages.when i am in any one of those page,that webpart can filter the page that should not display in the webpart.

appreciate your help

How to Catch Exceptions and Display in div using Jquery


Hello Everyone,

I was wondering what will be the method to catch any exception at server end and to show the error message in a div with error icon on top of the page using jquery. All the examples I have browsed show how to display the div on click of some button or link but in my case the scenerio is different. I want to use it for displaying messages to user and make use of Jquery's animations as well.

Thanks a lot

Syed Afraz Ali

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend