Click here to Skip to main content
       

ASP.NET

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page  Show 
AnswerRe: java script validationmemberElham M15 Dec '12 - 1:36 
It's as easy as drink water call below function
<script type="text/javascript">
function Confirm() {
    return confirm("Are U sure to delete this file؟");
}
<asp:Button ID="BtnDelete" runat="server" Text="delete" Width="95" OnClientClick="if (!Confirm()) return false;" UseSubmitBehavior="False"/>

QuestionImproving the performance in ASP.Net appmembermaheshdb8413 Dec '12 - 4:47 
I developed a Asp.net application which reads the files in a remote machine(Windows NT machine) and when the user selects a file name then the chart is loaded with the data in that file.
 
Howover, when the user selects the file, chart is loaded in 3 to 5 secs approx. How can i improve the loading of this chart? Any ideas or inputs are appreciated??
 
Thanks
AnswerRe: Improving the performance in ASP.Net appmemberDavid Mujica13 Dec '12 - 4:56 
Best thing would be to have the data in a database, because it would be miliseconds to retrieve the data.
 
More practically, I would look into building a Progress bar which could show that activity is actually happening. Most users are fine with 3 to 5 second response time as long as they know that something is actually happening.
GeneralRe: Improving the performance in ASP.Net appmembermaheshdb8413 Dec '12 - 7:50 
David,
Thanks for the Response.
I do have a progress bar which greys out the screen while loading...I know 3 or 4 secs for loading data is not a big deal......Actually, the same files are read by a vb program and charts are displayed automatically when a file is updated.
 

Having data in the database is a overhead as the data is updated in the files every 1 minute during the peak hours and each file has 520 rows * 13 columns of data.
GeneralRe: Improving the performance in ASP.Net appmemberDavid Mujica13 Dec '12 - 10:44 
Hmmm. Maybe you should try to break down the problem into its pieces to determine where to make your improvement.
 
For example, determine how many miliseconds for each part of the process ...
 
1) read file
2) analyze data
3) draw graphs
4) present results to user
 
I'm not exactly sure how to capture each one of those statistics because I don't fully understand your application, but you get the idea. Determine which piece of the puzzle is taking the longest and then the folks here can offer you ideas on how to make it better.
 
Some other points of interest to post would be:
a) what version of IIS are you using
b) what browser is your client using
c) what kind of network connection is between your webserver and client (LAN/WAN), (10/100/1000) MB per second.
d) maybe a simple ping test from the client machine to the webserver could provide insight to a slow network
 
Good luck. Keep us posted of your progress and solution.
Thumbs Up | :thumbsup:
AnswerRe: Improving the performance in ASP.Net appmemberjkirkerx13 Dec '12 - 10:35 
So your talking about a web application that displays a list of files on a remote server, and when the user selects a file, you chart or graph the data into an image using Microsoft chart.
 
Web app right, what version of chart are you using, or version of asp.net.
 
I have functions that read 20,000 XML records and creates a graph in less than 1/4 second, and chart in another 1/4 second.
QuestionDsSmoothMenu and ASP.NetmvpJohn Simmons / outlaw programmer13 Dec '12 - 2:00 
Does anyone else use this menu in a asp.net web page? I can get it to work in a regular html page, but not in an asp.net page.
".45 ACP - because shooting twice is just silly" - JSOP, 2010
-----
You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass." - Dale Earnhardt, 1997

QuestionPSD to ASPXmemberYoyosch13 Dec '12 - 2:00 
I am developing many small web sites. Could you please recommend me an application that could speed up my work. Ideal would be if it could take PSD file and produce ASPX files as output.
 
I know this is very complex issue and I could loose generality using it. But I am asking for an application that could speed up my work even a bit.
 
Thank you in advance
AnswerRe: PSD to ASPXmemberjkirkerx13 Dec '12 - 11:00 
Macromedia's Fireworks came the closet back in 2003, the new edition may as well. It allowed you to make slices using the slice tool, so you can take a firework file, and slice it up into pieces, and then export the pieces as html.
 
I did some searching, and several companies claim they can do it.
 
In the long run, a competent programmer can translate a page mockup into an HTML encoded page by hand in a short amount of time.
 
In the history of web pages, it looked like many companies like Microsoft was going to phase out web programmers or designers by allowing programs such as word, excel, and in-design to export HTML for web sites. But over the course of time, even those programs were not able to step down lower enough for the common man to build a web site.
 
Perhaps you will be the one to write that program, making you rich and famous.
GeneralRe: PSD to ASPXmemberYoyosch13 Dec '12 - 21:55 
Thank you very much for response.
 
Fireworks outputs a png file. So in my opinion it is rather helpful for graphic designers. Photoshop is large-caliber gun, while Fireworks can speed up your time over Photoshop in small projects.
 
But is still outputs png, so it doesn't speed up developer's work. Am I correct?

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   


Advertise | Privacy | Mobile
Web04 | 2.6.130523.1 | Last Updated 24 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid