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


Top 5 Contributors of the Month
MarieAdela
Imran Ghani
Post New Web Links

Display progress to users from code behind

Posted By:      Posted Date: December 04, 2010    Points: 0   Category :SharePoint
 

I have created a custom ribbon button which assembles multiple documents into one pdf.  I used Bart X. Tubalinal's excellent example http://www.deviantpoint.com/post/2010/05/08/SharePoint-2010-Download-as-Zip-File-Custom-Ribbon-Action.aspx to create my ribbon button and action.

The process of converting word doc's to pdf and then assembling them takes some time.  I would like to display progress to the users either with the Notify or Status feature.  (It would be cool to have each document name slide across their screen with the Notify method when starting the conversion for that document).

In a nutshell the ribbon executes a command in a custom.js file.  That file compiles the id's for each document and then opens an aspx page.  that aspx page has a page load method which then converts each document into a pdf and then merges each one together to form one document.

But I believe that the aspx page that get's opened is preventing the site to update iteself with notifications.  here is the js file that i'm using:

/// <reference name="MicrosoftAjax.js" />

                                     
                                            
                                        

View Complete Post


More Related Resource Links

Attack Surface: Mitigate Security Risks by Minimizing the Code You Expose to Untrusted Users

  

In this article, Microsoft security expert Michael Howard discusses the cardinal rules of attack surface reduction. His rules - reduce the amount of code executing by default, reduce the volume of code that is accessible to untrusted users by default, and limit the damage if the code is exploited - are explained along with the techniques to apply the rules to your code.

Michael Howard

MSDN Magazine November 2004


Code Name WinFS: Revolutionary File Storage System Lets Users Search and Manage Files Based on Conte

  

One of the monumental problems organizations face today is aggregating information that's stored in disparate formats. Knowledge workers have long wanted to be able to search for content independent of format. The next version of the Windows operating system, code-named "Longhorn," boasts a new storage subsystem that makes that task easier. That subsystem, code-named "WinFS," allows the user to perform searches based on the metadata of the stored item, regardless of what type of file it is or which application created it. This article covers the basic architecture of WinFS and explains how to use the WinFS managed API.

Richard Grimes

MSDN Magazine January 2004


Want to create Page URL rewrite based on Users GUID and Display name?

  

hi,

I am using the asp.net membership. 

On my site I have a Profile.aspx page.

In the code behind of this page,  i get the logged in UserId (Guid) and pass

this to a method in my DAL. GetUserByUserId()

 

In my database I have a Table called Member which the method gets the data from

and displays details on the page about  the user.

 

What I want to happen is when they have logged in and are diverted to Profile.aspx,

the page URL shows www.MyWebSite/Profile/UsersName 

for example

www.MyWebsite/Profile/JohnSmith.aspx

 

is this possible. In my Member table I have FirstName and LastName columns or do I get the

name from the membership table.

 

even better would be they go straight to www.MyWebsite/JohnSmith.aspx

 

thank you for any help

 

P

 

 

 


Code to get how many users are logged in to the sharepoint site

  
How to get the users of my sharepoint who are online.....

Thanx in advance,
 





sree

Display 'Top Queries Over Previous 30 Days' to users

  

In the Site Usage Reports, there is a section for 'Top Queries Over Previous 30 Days'. I would like to display this information to users. 

Is there a existing webpart for this? 
Is the data stored in a list that can be used for this purpose?

Thanks,

Steve Clark
Twin-Soft.com


Display UTF-8 code in GridView

  
Hi, I have a table in database, all table is utf-8 character set, one column is Italian another is Russian. I put as sqldatasource in a webform, correctly made the connection string. To show data from table i use GridView. Problem is that russian characters are not displayed correctly and some Italian characters, those with stress, for example "è" is not displayed correctly true. I put <globalization fileEncoding="utf-8" requestEncoding="utf-8" responseEncoding="utf-8"/> in web.config file but no result and font selected for gridview is "Arial" Could you please help me? Best Regards     

How to display print preview from code ?

  
Hi i'm working on a winform app which hosted of infopath form. is there any way to display print preview of infopath form from code ? in my form, i've used this code to show print preview of the current infopath form : this.formControl1.XmlForm.Print(true); but i got this exception : Specified cast is not valid. can anybody help me where is my problem and how to work-around this ? thanks in advance http://www.codeproject.com/KB/codegen/DatabaseHelper.aspx

Display Progress bar after button click in asp.net

  

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


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


pla tell me,it's very urgent.

Many Thanks in Advance.

plssssssssss..


Display progress bar after button click in asp.net

  

hi friends,

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

 

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

 

plsssssss tell me,it's very urgent.

Many Thanks in Advance.


Hide / display page layout columns for different users

  

I'm looking for a way to hide some columns of a page layout so they will be shown only to specific audience (for example hide the "created by" column so some users won't see it). Any suggestions?

thanks


Display Progress Message

  

I want to display Progress message like


Please wait page is loading..............


How can i achieve this


Gridview display users and personal profiles

  

Hi,

I am trying to populate a gridview control to display the current registered users on the site.

I query various tables from the ASPDOTNET.mdb database in order have a list comprising of UserNames, Email address, LastLoggedOn, etc. This bit is fine and it displays all the details.

The part I'm having a problem with, is I would like to add the FirstName and LastName to each row also. But I'm not sure how to get at the record. In the profile table I have a column with this detail within plus other personal details but I only need to retrieve the names and display that in the gridview.

Cheers Rob.

VWD2010

ASP.Net version 3.5

Access Database provider ASPDOTNET.MDB

(setup exactly the same way as the sql express table structure.)

 

 


How to display users and number of users online

  

We have implemented the ASP membership and roles..and we would like to display the users currently logged in and also display the number of users online so we can display that on the page. The list of users woudl only be available to our admins. BUt the number of users will show for everyone.

 

thanks.. 


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.


How to prevent users from pasting HTML code in choice list (MySite)

  

Hi all,

I want to prevent users from pasting HTML code in a (new) choice list option (on the MySite). Is there any way to accomplish that?

Thanks!


Why a Security Warning on web page loading? How can code or users avoid it?

  

My asp.net page now gives a popup box titled "Security Warning" when the page loads. There are multiple pages in my app that do this. The content of the dialog box reads "Do you want to view only the webpage content that was delivered securely?"

Why is this happening all of a sudden? I think it's because the pages contain some http links to external site pages, but i don't remember seeing the message before, and those "nonsecure" links have been there from the beginning. I did add 30+ images though, sourced from in another directory of the project.

Is there some way i can make the images and links "secure"; delivered via https?

Is there some browser setting for users to set so they don't see this popup every time one of the many pages in this website loads?

All feedback and insight is appreciated!!!


Source Code Display

  

Does anyone know how to make my source code to display on one line instead of multiple in source view.  The display drives me batty when I'm trying to find something and I would prefer to display across the page instead of multiple lines down the page. 


Categories: 
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