I have a problem in Infragistics chart, when two users simultaniously logs into our site, one can see others graph. Here is the case Page1.aspx has 9 graphs and it is generated per user basis, when user 2 logs in I was expecting a different graph but seems like it is showing user1 graph. I tried this on several different computers but the same results [i thought it might have cached locally].
here is my code structure, each of these 9 graphs are 9 user controls which has properties like size, stored proc parameter values etc. So it can be re used in other pages. On page1.aspx I used all these 9 user controls and display a thumbnail image of the chart. when user clicks it takes him to details page Pag2.aspx with the same user control but on bigger scale + all tool tips etc. Now the problem , when second user logs in and goes to Page1.aspx it shows a large image instead of thumbnail and this large image is from Page2.aspx for the second user
I posted the same question last week but I did not get any solution :(. Now my manager is thinking of wheather to go ahead with Infragistics or Teleric controls. PLEASE Help me out here :(
make sure the FilePath property matches the ImageUrl. you might have to change that ImageUrl to ChartImages/FirstChart_#SEQNUM(100).PNG
I tried to set the DeploymentScenario.ImageUrl = "FirstChart_#SEQNUM(100).PNG". But the web page can't find this chart any more. It is pointed to a wrong path. I didn't change anything, it was working for the default settings before I added this property.
Can you please help?
thanks,
Michelle
1. i think #SEQNUM(0).png is invalid, and you need to use a number greater than 0, like #SEQNUM(100).png. if that is done, then you shouldn't have problems of multiple users getting the wrong charts, because the code that determines the next filename is thread-safe.
2. that's what the #SEQNUM token is designed to do. it writes the files in a cycle according to the # inside the parentheses.
David,
I just wanted to clear myself...
1. suppose there are multiple users accessing the website at the same time and if i change it to ChartImages/Chart_#SEQNUM(0).png . So ideally in this case what should happen.
2. Also although after doing this too chart images are being generated (chart0,chart1 etc)
Please explain
wow... that was a great answer. This is what I was expecting from last one mont. It helped a lot. Now my site rocks. Thanks once again and next time onwards I will use Devhelp link.