Web garden - first time the page loads only one chart appears

I have a page with 2 charts in a web garden(it's a sharepoint application).  The charts are created programmatically in the Page Load ethod of a custom webpart.  Originally we had issues with charts appearing and disappearing but I have changed
the config setting to the following and both charts appear most of the time:
   <add key="ChartImageHandler" value="storage=file;timeout=20;dir=C:\inetpub\wwwroot\wss\VirtualDirectories\Myweb\uploadertemp\;" />
The problem I'm having is that the first time a user views the page only one of the charts appears.  If i navigate away and return to the page both charts appear.  Is there and issue with my config settings that is causing this behaviour?
Thanks
Karen 

The answer to this (after months of toying with settings and permissions) is not to user the chart control in a web garden.  I have seen the same issue multiple times on-line, with no concrete solution offered .
My workaround is to save the chart to a memory stream and write it to the page as an image, not as a chart control:
Chart chart = new Chart();
//Add data and chart settings here........
using (var chartStream = new MemoryStream())
chart.SaveImage(chartStream, ChartImageFormat.Png);
System.Web.UI.WebControls.Image chartImage =
new System.Web.UI.WebControls.Image();
chartImage.ImageUrl =
"data:image/png;base64," + Convert.ToBase64String(chartImage.GetBuffer());
chartParentControl.Controls.Add(chartImage);

Similar Messages

  • When I add pictures into MUSE , do the pictures resize for web quality (And so the page loads fast enough) or do I have to do this using an external software like photoshop, etc. ? Thank You

    When I add pictures into MUSE , do the pictures resize for web quality (And so the page loads fast enough) or do I have to do this using an external software like photoshop, etc. ?
    Also is there any way I can change the contact form email for all of my contact forms at once.
    I have over 100 contact forms and i want to make them reach the same email anyway I can do that without going one by one?

    If you have placed the image in Muse using File > Place and then scaled the image down in Muse while editing, then Muse publishes/exports the scaled down/optimized image in final output. When using as a Fill, the output size depends on the Fitting option you setup in the Fill options.
    As for the contact form email, you would need to specify the email address for each form individually. There is no workflow to edit the same for multiple forms at a time.
    Cheers,
    Vikas

  • Is it possible to execute a Bookmarked query the first time a page is rende

    Hi,
    We are in the process of creating certain dashboards for our product using Endeca.
    We have defined some metrics in the Metric Bar component, and want some useful information to be visible to the user the first time the user comes to this page.
    As of now, these metrics look to be very generic in nature, but give useful information once the user starts searching. Some examples of these Metrics are - Supplier Count, Category count, etc. These won't make much sense to the end user without a context. Hence, we want this context to be present the very first time the user comes to this page.
    The easiest solution seems to be creating a Bookmark, and being able to execute that the first time the page renders.
    Is this possible to do? If yes, how?
    Also, are there any other ways to achieve this result, other than using the Bookmark component?
    Thanks,
    Amit

    The easiest solution seems to be creating a Bookmark, and being able to execute that the first time the page renders.
    Is this possible to do? If yes, how?To achieve this option, first create the bookmark and then under action within the bookmark portel click on Create Link. Copy everything after the question mark. Next go to manage package and paste the copied text into the Query String text box.
    Also, are there any other ways to achieve this result, other than using the Bookmark component?Option two would be to utilize deep linking method to access the page.
    Hope this helps.

  • If I don`t reload pages, a blank screen appears with the page loading forever, since I updated to firefox 6.

    I already tried cleaning cache, cookies and registry. I disabled add-ons. I deleted data trash. Virus scan with MS security essentials. Called Internet company to check connection. Had to get a new modem and router, but the problem persists. No problems though when using Internet Explorer.
    It doesn`t happen always and with every webpage. Sometimes it happens with MS hotmail, sometimes not.
    As soon as I reload the page that didn`t load the first time, the page comes usually up at once.

    I already tried cleaning cache, cookies and registry. I disabled add-ons. I deleted data trash. Virus scan with MS security essentials. Called Internet company to check connection. Had to get a new modem and router, but the problem persists. No problems though when using Internet Explorer.
    It doesn`t happen always and with every webpage. Sometimes it happens with MS hotmail, sometimes not.
    As soon as I reload the page that didn`t load the first time, the page comes usually up at once.

  • Hi - I cannot upload my emails through the mail icon.  The first time I tried it only loaded very old emails, I then tried the whole process again and it has not imported a single email.  I use hotmail, and have had no problems with my iPhone or iPad.

    Hi - I cannot upload my emails through the mail icon.  The first time I tried it only loaded very old emails, I then tried the whole process again and it has not imported a single email.  I use hotmail, and have had no problems with my iPhone or iPad.  So the only way I can check my emails on my mac is to go through the internet.  Can anyone help?

    Hello, do you mean Download?
    In Mail's Window Menu, choose Connection Doctor, any red dots for status, if so what is the message?
    Then click the Show Details button & Check again.

  • ITunes U Course Manager will not open on my PC. When I open the web address the page loads blank.

    iTunes U Course Manager will not open on my PC. When I open the web address the page loads blank. Would like to design a new course.

    Try to using the latest version of Safari Browser or Mozilla Firefox.

  • Using a4j to load a rich:dataTable after the page loads

    I have a rich:dataTable that calls a session bean which executes an SQL query to generate the data to be displayed in the table. Something simple like:
    <rich:dataTable rowClasses="evenRow,oddRow"
    rows="30"
    value="#{Bean.items}"
    var="items">
    where Bean.getItems() performs an SQL query and returns List<Item>.
    The problem is that the query takes a long time to execute (~45 seconds) and I'd like the page to initially load while the query is being executed, displaying a spinner while it loads. Once the query is done, I'd like to update the initially empty table using ajax.
    I set up a spinner using a4j:status and it works fine after the page initially loads (using a rich:datascroller).
    However, the page will not initially load until the query completes, which is a problem because the query is so slow. What happens is the user clicks on the "List Items" tab from my site's homepage, sits there on the same page for 45 seconds with absolutely no visual indication that anything is happening, and then finally is taken to the list of items page.
    What is needed to make the dataTable load via AJAX the first time, as well as all subsequent times?
    Thanks!
    Edited by: rcrowell on Sep 8, 2008 5:42 PM

    rcrowell wrote:
    The issue isn't the PK of the table; the query is joining across many tables and aggregating data from one table in particular with millions of rows. The table has paging, but again that won't help the timinig issues due to the aggregation that must be performed on a large table.
    Surely there must be a way to get the dataTable to always load its data via ajax, and not only after the first time.Well JSF does not have AJAX built-in, so why would there be? Perhaps one of the AJAX-based frameworks has this. I imagine it wouldn't be hard to do with the existing AJAX frameworks even without a built-in component specifically for it. Trigger an AJAX action on load which rerenders a panel which will only contain the dataTable upon the rerendering.
    >
    I think I could do it by adding a 'dataTableRendered' variable to the bean and using a jsFunction to set this variable to True when the page loads, but I'm looking for a better way. (I'm also not 100% sure this would do what I want.)

  • JSF and ADFBC: How to Run a method every time the page is posted back

    Hi everyone,
    I am using ADFBC and JSF in my project, and there is a page which runs the following logic: The page displays a set of radio options and a submit button. It has a total of 4 options, but they never display all at once. For example, when user enters the page for the first time, only selectItem 1 displays. When it clicks on the submit button, the page is posted back and hides the first select item, showing now the second, and so forth. The steps i did to achieve this are:
    1 - Created a method on the App Module that inserts a row corresponding to the select item choice.
    2 - Created another method that verifies which is the lastly entered row and returns a string containing the relevant attribute, for example, "E".
    3 - Created the methodAction binding to run the insertMethod (1) and retrieveMethod (2).
    4 - Created an invokeMethod executable for the retrieveMethod (2) and set the refresh property to "always".
    5 - Created a variableIterator with a variable to hold the retrieveMethod return, also setting the refresh to "always".
    6 - Lastly, bound the "rendered" attribute of each select item to the variable's value, for example "#{bindings.returnVariable == 'E'}
    When i run the page, the logic works almost fine, except for one detail: When the user clicks the button that calls insertMethod, the page is posted back, and i assume the selectItems should be re-rendered accordingly. Yet, the button click inserts the row in the DB (called insertMethod) but keeps showing the previous radio item. If i restart OC4J, when i enter the page again the radio is now correct, showing the next option.
    Do you know how can i tell the page that the model has been refreshed, so it runs the retrieveMethod again, alters the variable and the radio options without having to leave the page or restarting OC4J?
    Thanks in advance for your help!
    Regards
    Thiago Souza

    Hi all,
    It seems i have figured out the error. It was a logic mistake on my method, ADF was doing the refreshes just fine. There is another little question i wanted to ask now: I need to execute a JSF Navigation Case when the page loads, in order to navigate to another page due to a certain condition. is there any way to run some logic to redirect the request before the page has been rendered, just like the onLoad() javascript event runs on the body every time it gets loaded?
    What i'm trying to do exactly is this: When the login.jspx page runs the "success" navigation case, it goes to "page1.jspx". But before "page1.jspx" is loaded, i need to run an Application Module method to check for a certain situation; if this criteria is not met, i must run "fail" navigation case, from "page1.jspx" to "page2.jspx" without ever displaying page1.jspx.
    Is it clear enough? Can you guys give me some pointers on how to do it?
    Thanks a lot!
    Thiago

  • I have just downloaded the latest version and some sites are part loading then taking ages to complete the page load. why and can you or I do anything about it please.

    latest version loads the main banner of page then takes too much time loading the content of page > I have even had to stop the page loading and refresh before it will load properly> I did not experience this before installing the latest version the pages used to load insantaneously. I am not the only one experiencing this as my friend has reverted back to explorer.
    Please can you do something about this.

    It could be caused by a Firewall. Disable your internet security and then see if QT will open.
    Are you an administrator account? It could be a permissions issue. Open the User Accounts control panel to see what type of account you have. Open the QT control panel to File Types. Does it show programmatically set? If so that will indicate permissions have been set by an administator.
    Also are there too many applications running at once or loading at start up? Look down at the bottom right corner of the screen, is it loaded with icons? If so close them all out and stop them from running at start up, then see if QT will open. The only application that should load at start up is your internet security and maybe volume control, anything else you can open as needed.
    If none of the above is a solution than I can help you uninstall QT and install, if so what version of QT is on the computer now. Open the QT control panel and click on About QuickTime

  • Progress bar/Icon before the page loads

    Hi,
    I am having a page which takes 1-2 mins to load and render the data now i want to display animated icon/progress-bar immediately the page pops up(ie. when blank). Ive already done progress bar on the page load but in this case i want it to display much early when the page is still blank, any idea please. If this is not doable in Apex i might borrow JS/JQuery......thanks all.

    All,
    I got this issue to work in a better way using Skillbuilder's pop-up plugins but again I am having issue with that too as described below,
    The first time the popup page comes up the background is totally black, how can i change this to make it meaningful color?
    http://apex.oracle.com/pls/apex/f?p=4550:1:0:::::
    workspace=proj2010
    userid/pwd=demo/demo123
    thanks in advance.
    Edited by: jieri on Jul 30, 2012 1:18 PM

  • After updating to the latest version of Firefox on my Mac there is no progress bar for the page load. I really miss this feature and can't seem to find a way to obtain it.

    The page load progress bar that was on the lower right of the window is no longer there. After updating to the latest version of Firefox on my Mac there is no progress bar for the page load. I really miss this feature and can't seem to find a way to obtain it. The tab has a circular progress wheel but this is useless for determining a stuck or slow loading page.
    PLEASE NOTE: I am typing this in from a Windows based work computer but am asking about my Apple MacBook Pro that i use at home.

    Firefox 4 saves the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.<br />
    You can use "Firefox > History > Restore Previous Session" to get the previous session at any time.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.<br />
    Another possibility is to use:
    * [http://kb.mozillazine.org/Menu_differences Firefox (Tools) > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • Firefox crashes as soon as the page loads it is completely unusable

    i got a update prompt from firefox a few hours ago which i installed and now it wont work as soon as the page loads it crashes it wont even stay on long enough to figure out the problem i swear by firefox i have used its for years and never had any problems with it ever if i recall but lately it has been freezing and crashing often i feel like i am using internet explorer and thats bad but now i cant get it to work at all and am forced to downgrade to a lesser program WHAT IS GOING ON????? as for crash ids and troubleshooting info none of that even comes up

    Do a clean (re)install:
    * Download a fresh Firefox copy and save the file to the desktop.
    * http://www.mozilla.com/firefox/all.html
    * Uninstall your current Firefox version and remove the Firefox program folder before installing that copy of the Firefox installer.
    * Don't remove personal data if you uninstall the current version.
    * It is important to delete the Firefox program folder to remove all the files and make sure that there are no problems with files that were leftover after uninstalling.
    * It may not be necessary to create a new profile, so first try if it works with your current profile and if not then create a new profile.
    Your bookmarks and other profile data are stored elsewhere (not in the Firefox program folder) and won't be affected by a reinstall, but make sure that you do not select to remove personal data if you uninstall Firefox.
    * http://kb.mozillazine.org/Profile_Manager
    * http://kb.mozillazine.org/Profile_backup
    * http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • My page generates an Excel file but sometimes fails if the page loads to slowly...

    I'm having a problem generating an Excel file using CF and
    looping over a bunch of queries to get a table of data to display
    to the user. This is slow but works fine except for an instance
    recently where the page seems to be loading but after a few minutes
    it stops and says "the page cannot be displayed". The error leads
    me to believe it is a server error and not a CF error but I'm not
    sure. I don't have timeout checked in my CF Admin so that should
    mean that I can request pages for as long as I need to right?
    I'm using the cfheader and cfcontent to dynamically generate
    an Excel spreadsheet from my HTML. I tried using the cfflush tag
    and that seemed to help since it pushes content to the browser
    during the page load but it doesn't work with the cfheader and
    cfcontent tags.
    So then I tried using the cfsavecontent tag and then save the
    HTML to a file but again I couldn't use the cfflush tag inside the
    cfsavecontent tag so now I'm stuck.
    The page DOES load when I run in on my local machine with MX
    6.1 Developer Edition and SQL Server Personal Edition. It DOES NOT
    work when I run it on my production server that then calls my
    separate database server. I'm wondering if there is a timeout (non
    CF) set somewhere on the productions server or the database server
    or if there is some sort of limit to the amount of data you can
    transfer between servers?
    I'm totally stumped now so any advice is greatly
    appreciated!

    That didn't work for me and the page times out right about 5
    minutes (300 seconds). I don't have timeout checked in the CF
    Administrator so I don't think it is CF that is causing the
    timeout. I checked IIS also and the timeout is set to 900 seconds.
    Is there a possibility that SQL Server has some sort of
    connection limit and I'm using too many cfquery tags? If anyone has
    experienced a similar problem I would really appreciate the help,
    thanks.

  • I added a custom ringtone . Then later I tried to add another three set  but now after sync . Am not able to get rid of the first one... It's still there as my custom ringtone. But my iPhone in iTunes shows all four... But the phone shows only one...?

    I added a custom ringtone . Then later I tried to add another three set  but now after sync . Am not able to get rid of the first one... It's still there as my custom ringtone. But my iPhone in iTunes shows all four... But the phone shows only one...?

    Paul--you are a life-saver!! Worked great. I did have to look around to make sure I was getting 4.9 instead of 4.7 (even when the file was named 4.9 at techspot.com), but I finally got the right file, did the install as you suggested, and everything is now fine. One note, though, that I haven't seen mentioned in any of this thread: when I first tried to open up iTunes after getting back to 4.9, the following message appeared: "The file iTunes Library.itl cannot be read because it was created by a newer version of iTunes." I merely went to the old .itl file that was created when I did the update to iTunes 5, renamed it, moved it over to my now new 4.9, and iTunes opened fine. My library was a few days out of date, because of the few days' lag from the time I did the iTunes update, but that was easily taken care of, and everything's now working fine. Thanks again!!!

  • Date Picker has to submit the default value after the page load???

    Hello All,
    I have 2 date pickers 'Start' and 'End' on a screen with report that has a where clause using above values. Start defaults to current date, End defaults to current month end date, I have another radio group with default to Monthly......
    Now when the page loads, I see the default values for 'Start' and 'End' date pickers but the report doesn't reflect those values. I added an on change dynamic action, and so when I change the value of 'End' date picker, it submits the page and now the values are reflected in the report........
    I tried creating another dynamic action > with event On Page Load.....and disable fire on page load, and to submit the page, this is causing an infinite loop of submitions........can you please tell me how to achieve this with out putting an exclusive submit button on the Screen.......
    Thanks for your time.
    DK

    user12296343 wrote:
    Hello All,
    I have 2 date pickers 'Start' and 'End' on a screen with report that has a where clause using above values. Start defaults to current date, End defaults to current month end date, I have another radio group with default to Monthly......
    Now when the page loads, I see the default values for 'Start' and 'End' date pickers but the report doesn't reflect those values. I added an on change dynamic action, and so when I change the value of 'End' date picker, it submits the page and now the values are reflected in the report........
    I tried creating another dynamic action > with event On Page Load.....and disable fire on page load, and to submit the page, this is causing an infinite loop of submitions........can you please tell me how to achieve this with out putting an exclusive submit button on the Screen.......
    Thanks for your time.
    You don't have to submit the page here.
    What version of apex?
    What report is it? i.e. Interactive report/Classic report
    Depending on your version of apex you can simply use the Page Items to Submit attribute to set the session state

Maybe you are looking for

  • MBP slow to boot and WILL NOT boot from external drive

    I have two problems. First my friends MacBook Pro which is less than a month old is taking long to load. So I did a clean install without installing anything other than what came. Still slow to boot. Sometimes I see a light blue screen for a while be

  • When opening a pdf in gw2012 client, no associated program

    Win7prosp1, when trying to open a pdf from an email (double click), I get this message, This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association i

  • How to mark row in OO ALV ?

    Hi , I am using OO editable ALV . Method set_table_for_first_display has been used . In the report, user can select a row /rows and click on button 'EDIT' in the toolbar . Then one pop up screen will be displayed where user can change the fields . Th

  • Time/date format in ASMCMD

    Hi, can anyone advise how to get the Time column to display with more accuracy when issuing ls -lt in ASMCMD presently displays Type Redund Striped Time Sys Name ARCHIVELOG UNPROT COARSE JUL 11 11:00:00 Y thread_1_seq_1326.284.788353507 ARCHIVELOG UN

  • HOW to make 2 step Communication strategy  for external send

    Hi I have made this 2 step communication strategy and attached to an email output type for purchase order, but it doesn't work as expected. The 2 steps are 1  INT,  2 = PRT If the vendor/supplier has an email in the address the purchase order is send