Geeks With Blogs

About Me:
I am a Female SharePoint Developer (a platinum unicorn). I have been working with SharePoint since I attended the Portal University in 2005. I hold a BA in Computer Science from the University of Missouri - Kansas City. I love playing Rockband, organizing user group meetings, working with code, attending events as a speaker or organizer, and having bizarre conversations about geek things with cool people. If you have any comments or questions fill out the contact form and I will try my best to help.

The Guide of a MOSSLover Becky Isserman's Blog
I  have no idea how to incorporate this into a web part or get a web user control to function, because this is based off of .Net 3.0 and VSEWSS 1.1 is based off of .Net 2.0.  Here is how you would include a progress bar in an ASP .Net 3.5 Application or Web User Control:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="TestingAjax.ascx.cs" Inherits="TestingAjax" %>
<asp:ScriptManager ID="ScriptManager1" runat="server">
<asp:UpdatePanel ID="UpdatePanel1"

                     <asp:UpdateProgress ID="UpdateProgress1" runat="server">
                    <asp:Image ImageUrl="http://sptest:2/_layouts/images/gears_an.gif" runat="server"/>
                    <br />
                    <b>Creating Site...</b>

If you want you could throw in a button control and a click event.  Maybe System.Threading.Thread.Sleep(1000), so that you could see the bar actually doing something.  If anyone knows of an excellent way to incorporate this .Net 3.5 code into a SharePoint web part or some form of user control please let me know.  If not, at least there is a nice little example on how to use something in a .Net 3.5 application with the Site Gear Picture.  Enjoy.

So I went and downloaded the ASP .Net 2.0 extensions for AJAX 1.0 and it's not working.  I have the option to shove an update panel, script manager, and progress bar down.  Unfortunately it does not work with the button click event, so I am going to have an AJAX ASP .Net 2.0 Mech Battle tomorrow, where I use my goddess powers to command it to do thy bidding (aka I am going to find a workaround).... Posted on Wednesday, April 16, 2008 3:03 PM .Net | Back to top

Comments on this post: Progress Bar Made Easy in .Net 3.5

# re: Progress Bar Made Easy in .Net 3.5
Requesting Gravatar...
i want to use progress bar on my site i am using .net 3.5 . can you help me about code for progress bar.
Left by anuj on Jun 20, 2009 6:42 AM

# re: Progress Bar Made Easy in .Net 3.5
Requesting Gravatar...
I am having iframe in gridview. I want to show progress bar till all the pages in iframe in gridview are loaded. any suggestions
Left by Harmeet on Apr 02, 2010 4:11 AM

Your comment:
 (will show your gravatar)

Copyright © MOSSLover | Powered by: