I have a web application which can display the statistics chart (.png format) to the web page. The chars are generated automatically every day by another application.
If I move the charts (all are in the server) into my web application domain, I can display them without problem. If I reference those charts directly without moving to my web application domain, "the file can not be found" error occur. The following 2 statements, the first one work, the second one has problem.
<img src="/Charts/graph_Ewma/Ewma_Obvs_108_nObvs_12.png" alt="Chart is not available" /> <img src="C:/R_Info/Proj/graph/2011-02-06_2011-02-17/Ewma_Obvs_108_nObvs_12.png" alt="Chart is not available" />
My question is how can I display the external .png files directly from where they are without moving them to the web application domain?
I need to display binary data (that is stored in the database) in the aspx page. The file types are word and pdf. Since there might be multiple files, what I did was created IFrames dynamically and tried to embed the binary data. The problem is rather than embeding the word doc or pdf doc in the page, it displays the open/save dialog box.
is there any way to solve this (embed the word/pdf doc in the page itself)?
Does anyone know how to display the uploaded image onto the webpage after the image has been uploaded via the asyncfileupload control?
I tried setting the value of an imageurl property of an image control within the OnUploadComplete event however it seems the code 1st refreshes the page, runs through the Page_Load event, then finally the OnUploadComplete, so I'm assuming since it's run last, this is why it doesn't display the imageurl.
I'm trying to display content in 3 columns on a page. I've done a 2 column layout as follows using a foreach which just puts a hyperlink from the database into a div:
I am using <ifram> to display pdf, doc documents in my webpage through src. But, i don't want to display controls of the pdf or doc content like save search, zoom e.t.c..
I have a problem.when i create a new web site and browse it with IE8 ,there is error(Internet Explorer cannot display the webpage) and now i am working with VS2008 and IE8.but i also have an older version of VS(VS2005) on the same computer.when i created a new web page with 2005 ,there is no problem and everything is ok. what is the problem with VS2008??i uninstalled it and reinstalled.but there is same error.i tried VS2008 on the another computer and i had no problem.
I am trying to display a web page on the server that has a MS Chart in it using and IFrame. It renders the page except the Chart. it show the box of the chart with a red X in it. No errors. However if i set the url to a link button it works fine or if i paste the url in IE it works fine.
i want to open multiple popup in single page which depands to each other and i bind the all database data to each popup window.. i want like below image..
I am using framework 4 and VS 2010 and have two iframes that loads two web pages on load. I enabled scrolling and set properties of iframe this way:
<iframe src="http://iis/app1/Default_display.aspx" runat="server" width="100%" height="900" id="I22" name="I22" marginheight="0" marginwidth="0" scrolling="yes" style="overflow: scroll" > <p>Your browser does not support iframes.</p> </iframe>
My problem is that when page loads I have scroll bars on iframe but when I scroll the page is not complete bottom and right part are not displaying at all I just cant see it. If there are any controls in that unvisible part of page they are moved and everything looks bit messy. How can I display 100%, complete page (like when it is open in new window) in iframe with scroll bars?
I have a requirment to draw a graph (Cartesion chart), where the data will be changed 40 to 50 times within hour , i want to refresh data automatically.
Which chart component should i use for drawing graph and how do i make sure that the data will be refreshed very fast on the graph web page.
I have a button on info.aspx and I would like a situation whenever the button is pressed to display two gridview containing certain information on a new web page called full_info.aspx.
This is my first time coding with ASP.NET!I've created a simple webpage and I need to know how to count the number of downloads of a file from my webpage.The download will be started through a button.And the other question is:Where should I store this information?
i am using Master Pages for my site(VS-2005). A page in my site gives user information about a city which he has selected from a drop down list. I want that when a user selects a city's name from a drop down list control, then a particular HTML file of that city should get loaded into that page. The ASP.NET page should remain same but only loaded file should change. If a user has chosen London then the HTML file of London should be loaded, if the selection is Paris then XML file of Paris should be loaded in the same Page. How can I do that ?
how can i read a doc file and show it on webpage like if someone upload his/her resume one can see upload resume in asp.net page like monster.com and other job portal side do.
I am currently doing a project that requires the user to click a button on a webpage (C# ASP.net web application) and activate an regular application file (exe, jpg, doc, etc) on a server.
For instance, if I have an excel file on the server. The user would click a button from a webpage and then the excel file will open. The result should be the same as double click the excel file and open it locally.
I am building a site which allows people to upload excel files to a secure D: on the IIS server. I am using the impersonate function (with username and password in webconfig) to allow people to save the files to the secure
Can someone point me in the right direction how I can then allow users to retireve / open these files? I have tried :
On my webpage I am loading 30 .jpg Images and a .SWF(Flashfile) that takes 4 MB. The problem is that when the Page is loading in, this 4 MB flashfile is loading in together with the images wich makes it to take very long time.
What I would need to do, is to load the webpage with all its images First and when the webpage is loaded, now I will need to load this 4 MB flashfile in the background. When this file is loaded to memory, I will start playing that in a loop in this Flashcontrol that I have.
How is a scenario like this possible to do? I struggled with it before but couldnīt solve it.
I have a link button. When someone clicks the link button, i want to open a dialog box asking them to open/save a file.
The following code works:
[Code]....
Now my question is:
How do i delete the file that i just created in TemporaryFiles folder?
my try: i tried
File.Delete(fname) in the finally block of the try catch. But this does not even popup the dialogbox(open/Save) i dont know the reason. May be the file is getting deleted??