.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

Display progress image when page is loading using jquery

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

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.

View Complete Post

More Related Resource Links

How do I display my animated image while the next page loads?

I have the following code so it'll show an animated progress GIF but if the site takes longer than this, it will quit. Is there a more effective way?System.Threading.Thread.Sleep(2000) Here's my update progress code:<asp:UpdateProgress ID="UpdateProgress1" runat="server"> <ProgressTemplate> <div class="PleaseWait"> Please wait ... </div> </ProgressTemplate> </asp:UpdateProgress>  

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.


Progress Bar When page is loading


Dear Fren's

I have a new issue regarding the progressbar 

I have a page from which i am passing a parameter to CrystalReportviewer on the next page

and a converting a Crystal report in to PDF .

My problem is i want to show a progress bar while the page is loading (on which crystal Report Viewer is Placed) and writing a PDF file

I have already place a scriptmanager Updatepanel and updateprogresbar on that page but the still the page is showing blank while loading the page


please help   

Display image on the bottom of last page


In our current project we decided to use MS Reporting Services to display reports and export to PDF.
After solving many problems (btw. terrible product, who invented that data item can not be used in page header???) one left:
client requirement is to put image (bank transfer form screen - about 10 cm height) on the bottom of last page - reporting services don't have 'report footer' - how can I achive this? There is a way to dynamic (code?) change page footer height and show image only in last page 'anchored' to bottom?

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">

Display last record while loading another page in asp.net


how can i display the last record of the table in asp.net. i have button(Cparts) on status webform when you click this two events takes place

1.A pop-up window will appearon on the screen which has 4 textfield,pop-up window comming with blank fields i want to fill all the 4 fields with current/last record of the corresponding table.

2.Also tranfering the primary key value (WONumber in status) of status webform into textbox of the pop-up window(CParts.aspx) which is a hidden field.here i am inserting values into different table(Cparts table) based on WONumber which is not an unique column in this table

I want when this pop-up window opened last record of the CParts table should be populated into CParts.aspx fields. WONumber is not an unique number in CParts table

Display the image in the aspx page



     I am fetching the image from the sqlserver and display the
     image to aspx page in thumbnail.

   I wrote the code as follows
          SqlConnection connection = new SqlConnection("server=Ns;initial catalog=MR;uid=sa;pwd=`kk");
                SqlCommand command = new SqlCommand("select ID, Image from tblPlanogram where id=" + imageid, connection);
                SqlDataReader dr = command.ExecuteReader();
                while ((dr.Read()))

CreatePage.aspx cannot display page layout preview image


I am using a custom site template and functions fine, except that when I get to the CreatePage.aspx page, the preview image is not displayed. When I looked up the properties on that image, it was looking for the image in a location other than the place where it should.

For eg: Instead of looking for it at /_catalogs/masterpage/en-US/Preview%20Images/ArticleBodyOnly.png  it looks for it at xxx/test/_catalogs/masterpage/en-US/Preview%20Images/ArticleBodyOnly.png where xxx was an external consultant that worked on this site before me and I am new to sharepoint. The only scenario when this doesnt happen is for the DefaultPageLayout.png file.

This problem seems to repeat everytime I use this site template. When I open up the sites with these templates on Sharepoint Designer, I can see all the preview images over there. For some reason, the CreatePage.aspx is not looking for the images in this location and looks for it at another location.

I am really stuck with this issue, can someone please help me understand why this is happening or help me resolve this?


Display image from remote server on asp.net page.


I have a webform that I will use SQL Stored procedure to return a path to an image on a remote server.  I need to display that image on my webpage.  I have been reading for 2 days now and have found nothing on loading images from a server.  Something like this \\ServerName\K:\LFCMBS2008\K2008\K20081\00\00\00\00000001.tif.  Is this not possible, or have I just been googleing the wrong things "ASP.net Display image from server"?  My server contains literally millions of images that I need to use on my site.  Please advise.

Display a Web Page as an Image in Form


Hi All,

I'm not sure if this is even possible so I need to ask the forum for guidance.

If I have a C# ASP.NET Web Application form, how can I display a web page as an Image?


What I am doing is creating an app that will send out dynamic emails by giving the User a choice of what goes into the email to be sent.

So from the top working down the form I have Labels and Text boxes to enter recipients name, company, account #, and email address. Then some image buttons for Cancel and Send. Then an area for the selections to be made for the email content, and at the bottom is the same row of image buttons for Cancel and Send.

What I want to do is use the URL stored in the database of the email (which is out there as a web page) and somehow display it across from the selections to be made. The area is about 4 inches wide by 6 inches tall.

So can I make an Image out of it for display OR is there a way to shrink it to fit the area?

I have been searching Google but cannot find what I am looking for, so any samples would be greatly appreciated.

BTW, I cannot just screen scrape an turn it into an Image as there will constantly be new emails created all the time.

Using jQuery to directly call ASP.NET AJAX page methods

Here I am looking to explain how to call page methods using jQuery. Using jQuery to directly call ASP.NET AJAX page methods

Reduce ASP.NET Page size and complexity using JQuery

This is my first post on asp.net blog. ASP.NET Ajax and JQuery are two different ajax framework. In this post I will show, how we can enhance gridview using ASP.NET Ajax and JQuery. I also compare the implementation of these frameworks. In next posts i will explain more about JQuery and ASP.NET Ajax and also tell you "How to combine the power of both framework". My Future post will related to ASP.NET and related frameworks.

slideshow image gallary using jQuery



i need a gallary like following link.


actually,i bound multiple image in a gridview using handler(.ashx).

for example,in one dep_id(1),there are 6 image and i need to slideing one by one.

could some one help me,how i can do like this?

i think is it easy in jquery.

please someone help me.

Thanking you.

JQuery Treeview plugin is not working with Ajax page load in ie8


Hi there,

I developed a page where i m using jquery treeview plugin to generate tree. It worked fine on FF, IE8 with out ajax.

But when my page loads thro' ajax call in IE8, it is not collapsing or expanding tree.

Any idea?

Thanks in advance.

Can't display an image from the database



My database has a products table that has images stored in a varbinary(MAX) column.

I'm trying to display product information in a repeater and trying to display the images as well by using a GenericHandler class but I can't get the image to show up in my page.

Here is my Handler.ashx class:

Public Class Handler
    Implements System.Web.IHttpHandler

    Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest

        '== Set up the response settings
        context.Response.ContentType = "image/gif"
        context.Response.BufferOutput = False

        Dim id As Integer = -1
        Dim stream As Stream = Nothing
        If Not String.IsNullOrEmpty(context.Request.QueryString("id")) Then
            id = context.Request.QueryString("id")
            stream = GetImage(id)
        End If

        Const buffersize As Integer = 1024 * 16
        Dim buffer(buffersize) As Byte
        'byte[] buffer = new byte[buffersize];
        Dim count As Integer = stream.Read(buffer, 0, buffersize)

        While count > 0
            context.Response.OutputStream.Write(buffer, 0, count)
            count = stream.Read(buffer, 0, buffersize)
        End While


Session problem with display of image in row of reportviewer


Hello techies...

I am new to this sql reporting service. But anyhow by surfing I am able to bind the report but i was stuck in image display.

Anyways, i also managed that. But the real problem is whenever i was keeping a image control in rdlc report i was having session prob. If i remove the image control then as usual report works fine.

Please suggest me some solution.... either for session problem or for image display. I am keeping the image name in database but for binding the rdlc report i am using a store procedure which return the path (static) concating with the image name(kept in database).

Hope to find a solution .....

Cannot Display Image in Report


 I have a report using an image control that needs to display an image inside subfolder "Images\InstitutionLogos\".

On properties of image control i have the following properties set:

MIMEType= "image/png"

Source      = Database

Value        ="\Images\InstitutionLogos\" +Fields!InstitutionID.Value+".png"

Inside subfolder "Images\InstitutionLogos\" each image is named with a number which represents Fields!InstitutionID.,(ex, 1.png, 2.png, 10.png)

However, when i run the report the image just displays an X, what am i missing?

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