Most here on the CodeProject write their own programs for everything, such as slideshows, few purchase anything for use.
You can then make it more complex by adding something to store various image file locations, such as a xml file, and rotate through the record elements.
I had some slide show code from a project I had to upgrade, in which the slideshow was the only thing that worked. Actually now that I think about it, I had to fix that as well, was poorly written. Requires JQuery 1.8.2. I don't have the CSS for it anymore.
I think this had a container called slider_Container, and 4 div tags inside it, in which in moved the div inside the container. It's written in Jquery, and will not work with an update panel on the page, because you have to edit the file below to handle the UP events when they fire.
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.
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.
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.
I use localStorage to save a item called "key1", and then I want to read the value and display it on Label('LabelLS'). But the Label'text does not change. I am sure localStorage get the key1 item(I had used document.write(d) to print key1 item). Does somebody know how to solve it?
Protected Sub ButtonSubmit_Click(sender As Object, e As EventArgs) Handles ButtonSubmit.Click
Dim str2 As String = "<script> var d = localStorage.getItem('key1'); var c = document.getElementById('LabelLS'); c.innerHTML = d; </script>"
ScriptManager.RegisterClientScriptBlock(Me, Me.GetType(), "showmessage2", str2, False)
I'm sending mail to newly register Users in html format(Asp.net C#). It works fine but sometimes Some Unwanted html code(that dose not exist in my webpage) showing after mail body even mail content is correct. if anyone know the solution, plz help.
Here is that unwanted code that User getting.
With all do respect, how are we suppose to know where to look.
You should add a watch to your message body and run the program in debug, then make a copy of the body text, and send it to yourself. Then inspect both message body content and compare the two.
Then inspect the message content of the other email with the extra text and make a comparison as well. If the extra html only appears after relaying through the other mail server, then that mail server is injecting the html.
I Have a gridview . When i click one of the files in the gridview , it will display the file details in a table in the grid.But if i am in 20th or 19th page of the gridview, after clicking on the file , the grid is comming to page 1. Is there any property for the grid to prevent this.
Basically Viewstate maintain all this information about current page of the grid. check if it is not disabled for you. another way is, you can also store page number in the session and update only when next,previous ,first, last button click or grid is refresh.
Never ever do that. I did twice and 2 diffrent apps and it was always mistake to store anything in session besides some user data valid to user not for some page. For example in one grid there was date filter. Stored in session and empty this caused app to crash in that particular page.
I have 100 text boxes in my webpage and i want transfer values from one page to another pages in asp.net without using session variable, because i do not want to use 100 session variables, is there is any techniques in asp.net and C#. which make its easier.
Last Visit: 31-Dec-99 18:00 Last Update: 24-Aug-17 1:31