Combine Several Images Into One For Use With CSS And To Reduce Round Trip Count?
Aug 15, 2010
I'm looking at ways to reduce the quantity of Round Trips to my site for my clients. Right now I have several images that I think should be combined into a single image like this:
[URL]
and then spit out some CSS like this:
[URL]
... that way I can reduce the round trips and increase the speed in which my site is used (after the first load). Is there any simple tool that will do this for me? I figure it's 2010 and someone somewhere automated this. I have Visual Studio, and Expression Web and don't see it there
View 2 Replies
Similar Messages:
Dec 3, 2010
tried the following:
public void UpdatePlayer(int id)
{
Player player = new Player() {ID = id};
player.Password = "12";
Entities.Players.Attach(player);
Entities.SaveChanges();
}
No change at the db.
View 4 Replies
Aug 4, 2010
If I disable javascript and cookies, [URL] detects that cookies are disabled without a redirect. If you click the cart link, there's only a get on the cart page.
I'm guessing [URL] is most likely not using ASP.NET, but how would you accomplish detecting disabled cookies using ASP.NET without the use of javascript and redirecting? Is it possible to detect if cookies are disabled in one round trip?
View 4 Replies
Jan 27, 2011
I am using ajax control toolkits and ajax extentions in my projects. and as you know it overhead some libraries to page. How can I combine them into 1 js file to reduce requests to server ???
View 2 Replies
Jun 17, 2010
I am writing a program to measure the latency(response round trip time) for a web service. I need to have this at client side.
My initial plan is to store the time at which request is sent and then calculate the difference in time when we recieve a response from the web service. Is this the correct way to measure latency of web service. This has some overhead because of storing time and all. How can this be done?
Another option is to attach a timestamp with the SOAP request. But the server should return the timestamp. This will not be possible in case of third party web services.
View 4 Replies
Apr 8, 2010
I need to style the asp:Menu so the navigation buttons have rounded corners.
I have a javascript-based navigation menu (not asp.net) that uses images to simulate rounded corner navigation. However, I think I have to use an asp:Menu for my asp.net 4 website instead of a static page navigation menu.
I also plan to use Dynamic Data on multiple tabbed pages.
View 5 Replies
Sep 24, 2010
I'm trying to calculate a customer tax.
[Code]....
I really nead any appropriate function to fix it.
View 2 Replies
Aug 6, 2010
I have a folder, 2010/08/06, 2010/08/05, a total of 30 such maps. In each folder there is one picture 01.jpg. When I click on the link I need to create a page that will be 30 photos, each of your folders. It should create a script that will count from today's date back 30 days,also each of these images (01.jpg) should be a link.
View 2 Replies
Mar 23, 2010
need to combine 2 images to 1 image (the image and the logo..)
View 3 Replies
Jul 20, 2010
Is it better to have the calculated field returned with the rest of the results or is it better to calculate it later when you need it?
Example: I have a GridView that displays search results that has many fields like:
Application ID
Name
Account Type
Account Number
etc.
The account number field is not always consistently the same thing though. For accounts of type A they are eight digits long and for accounts of type B they are twelve.
After the search if they select a record and choose to continue the application I need to check the eigit digit account number for any access restrictions. All accounts of type A and B have an associated eigit digit account number, it is just that type B are the only ones to have the twelve digit number.
So should I add a redundant hidden field like "Common Account Number" to the search results and just hide it, thus making the heavily used search take slightly longer and making the results grid take up more space in the view state?
Or
Should I call the database when they try to continue the application and translate the Application ID into the eigit digit number so that I can use it to do my access restriction check? This will require one extra call to the database but the translation should be fast as both fields are in the same table and the application ID is a primary key. The continue application button will be used less as there are many other command options.
View 2 Replies
Jan 10, 2010
I want to calculate average time to cover a duration of a route.
A route can have multiple trip between different time slots.
trip have TripStartTime and TripEndTime.
For more clear of the Qns for Qns please go to this URL and for table structure please go to this Url.
Trip Time = TripEndTime - TripStartTime from columnin the table.
I have to calculate Actual trips time for different time slots group by Fleet Id which is related to route no in another table..
View 2 Replies
Jun 4, 2010
In the GridView_RowUpdated event the e.OldValues.count <> e.NewValues.Count. 1 out of 5 columns has been converted to a template field.
View 9 Replies
Dec 17, 2010
When a user submits the query to SQL when clicking a button I need to get a count of the number of rows that are returned. Which event does the gridview.count code need to be place in?
Right now I have it in the btn_click event, but in order to get it to count the rows you have to hit the button twice since the query is not returned yet. Here is my code.
[Code]....
View 1 Replies
Oct 5, 2012
I HAVE A GRID VIEW IN asp.net + VB Code. There is a drop down list and the selected data is displayed in web page. I placed a label in web page and code behind i used following code.
Protected Sub GridView1_DataBound(ByVal sender As Object, ByVal e As System.EventArgs) Handles GridView1.DataBound
Label1.Text = GridView1.Rows.Count.ToString()
Dim ONYO As Integer = 0
Dim DONE As Integer = 0
For i As Integer = 0 To GridView1.Rows.Count - 1
If GridView1.Rows(i).Cells(0).Text = "ON YO" Then
[Code] .....
View 1 Replies
May 20, 2010
i want to round g value to 100,200,300 from 169,278,325.i'm trying to do it by getting the first letter and multiply with 100 like that.for example
from this i ll take 1 and multiply with hundred.my Question is
1000,10000 also i should do the same.dont know how to do it.
View 6 Replies
Feb 2, 2010
I'm displaying a bunch of items in a ListView. Each item has a button that the user can click if he/she is not interested in the item. What I want to do is this: if the user clicks the button, I want to remove that item from the list but I don't want to necessarily make a datadabase trip for each and every item the user clicks. I'd rather make one DB trip and take care of all the items user has clicked. However, as the user clicks them, I'd like to remove them from the ListView.
View 2 Replies
Mar 29, 2010
i am not good at javascript, but trying to implement or google up a function that would only allow characters in a textbox to have
1. only numeric characters
2. 2 decimal places.
I got this online, but it slices the 3rd decimal, i want it to allow only 2 decimals, any pointers ?
[URL]
View 10 Replies
Oct 13, 2010
how to make the Rounded number ?
Example : 3341.48 to 3342.00
View 4 Replies
Dec 21, 2010
I have integer 363 for example.
Any method to make it 360 or 365?
View 3 Replies
Jul 15, 2010
How do round a number say 83.3 double to 84 integer
View 4 Replies
Nov 23, 2010
I'm trying to get my decimals to display with four decimal places. The DB rounds my number to 4 decimal places, but it returns the number with trailing 0s (due to the decimal precision of the field), so something like 9.45670000. Then, when I do this:
string.Format("{0:#,#.####}", decimalValue);
The output I get on the page is 9.4567, which is what I want.
However, if the number returned from DB is 9.45600000, the output after doing the format is 9.456
But what I need to display is 9.4560
How do I format my decimal, so that the number of decimal places is always four?
UPDATE: Also, is it possible to use a variable (instead of .0000) if I wanted the number of decimal places to be determined dynamically?
View 4 Replies
Jul 23, 2010
i want to round the corner of top and bottom of asp.net menu.i have done this by adding chiditem with blank name and set image but its not showing properly on all major browser.
View 2 Replies
Sep 11, 2010
I am creating a search results page in C# in an ASP.NET 1.1 page. In my data layer I have a DataSet that stores the result of a plain old ADO.NET stored procedure call. The DataSet has two DataTables and I'm using a DataVIew to filter and sort the columns.
I only want to fill the dataset once, and then work on the DataTables and derived DataView until the page is unloaded. How best should I cache the DataSet in my DAL so that it is filled only PageLoad? Do i put it in a Cache object, a static member variable, a property...
View 4 Replies
Feb 11, 2010
Why does Application_AuthenticateRequest make so many round trips before actually loading a page. I've noticed that at times it will process the same logic 10 or more times before actually loading a single page?
I don't understand why this is happening, and it makes me worry about excessive & unnecessary performance loads.
View 5 Replies
Dec 30, 2011
I make a panel rund corner using Ajaxtoolkit roundcorner. It works fine Now I use CSS file with this panel but roun corner do not work. Is it possible make Ajaxtoolkit working with CSS?
View 12 Replies