Does Redirecting From Grid Using Javascript Increase Performance
Jan 5, 2010does redirecting from grid using javascript increase performance in asp.net
View 3 Repliesdoes redirecting from grid using javascript increase performance in asp.net
View 3 RepliesDoes Modelbinding increase performance that much? I have a large table which I have split into 4 details/edit screens, and want to load only information that is needed on the particular screen.
View 1 RepliesI have a ASP.NET web application (.NET 2008) using MS SQL server 2005, I want to increase the performance of the web site, If anyone have an article contains steps to do that, step by step , In SQL(Indexes, ..... etc.) and in the code.
View 4 RepliesI just want some tricks for increase ASP.Net application. This question is a little wide.
View 5 RepliesHow to increase the performance of query in sql server2008
View 4 RepliesWe have one page which is about 300 KB after compression of viewstate. It's loading very slow. We are using telerik tabstrip. There are 8 user controls being loaded for this tab. Is there anyway we can improve the performance of this page?
View 5 RepliesIn my web application i send a invoice(pdf file at least 700kb) when completing a order(create a pdf file then attach it to mail function and send it and delete the file).There are more than 10 users use this function same time. My problem is when all users login to the system and doing transactions system take more time to complete the above function. I want to increase the performance. What is the best way.
View 3 RepliesI have written one store procedure for fetching huge data like this. there are nearly 2000 records. It is taking nealy 50 sec to execute. Could you tell me best method to fetch large no of data ?
ALTER PROCEDURE bulls_orbit.BuySellUpdateFetchData
AS
Select Id,Message,EndDate,RefId from tblBuySellUpdate Order By Id Desc
RETURN
I have about 5,00,000 data. I want to display the records according to group by. It takes to me about 2 minutes. Is it good?
If not, then what is best process to display the record in a very fast way?
Moreover, I have encrypted one field in database and encryption is done from my code behind. So when I display the records, I have to decrypt those. That's why I make paging on 100 records per page.
I have one Store Procedure that generating report ..
For storing the data there , i used many temp. tables. There is many Select Query , little less insert and delete query.
Now if there is huge data around 1 lac in temp table my select query taking to much time and also may be insert and delete query
I added Primary key to all auto Increment Field in temp table. Also defined Clustered index on that primary key as unique Clustered index to improve the performance .
But there is not so much improvement in case of huge temp table.
Right now the whole Store Procedure is taking time to complete around 1.5 days or around 30 hours ..
So i want to increase the performance as much that it completes on nearly 3-4 hours.
I have used "Auto complete Extender" ajax control. It is working fine.But , fetching the data from database is very slow. Even though i have used stored procedure, Datareader, and caching on that controls. I m expecting like "Google type" .
View 4 RepliesI developed some pages where all the population are happen with the javascript only. So there is nothing with the server side. So the problem is though I am doing some application in that page but as the session is time out the page is going to log off page.
My question is , is there any method to increase the session time using javascript or AJAx so that any task is perform in that page then it wil add some time time with the existing time?
i am working on my master site, and i want to add an image that increases its lenght as the website's length increases...
but im not sure how to do that, i know it's possible because i've seen it done on banners, but im not completely sure how to do it.
Im looking for a way to redirect to another page, when i click a link in the iframe. i dont want just the iframe to redirect, but the whole window.
is this possible?
preferably in javascript or in asp.net if possible
EDIT: When i try the answers i get redirected to the source of the iframe, not to the source of the site the iframe lies on... Ill show you the code
function redirect() {
window.top.location.href = "./Nyheter.html";
}
As i dont want the code to be static, so that i can use it on many pages without changing the url, i want to do it this way, alt. get the url from db... but preferrably this way, Solution? Also, forgot to mention. The pages are not on the same domain, they are on different ones..
I have a registration page I enter the details of the customers and redirect to another page for capturing photo and I come back to the registration page. I want to retain all the values i entered when i land on the registration page.
View 1 RepliesWe have a .aspx file which has about 400 lines of javascript code. Is it a good idea to have such huge code in its own file? What is the performance difference in having huge javascript code in aspx as against the .js file?
View 5 RepliesI need to include an offsite javascript file on my page, however I don't want it to be able to affect the performance of my site, in case the server where the javascript is on is down or not responding.
What I'd like to know, is if it's posible with javascript to make some sort of wrapper function to ensure that the page where the offsite javascript is hosted is responding within an acceptable timeframe.
I've considered adding the "defer" attribute to where I include the javascript, but that would as far as I know still leave the site hanging after the rest of the page is loaded.
If it's not possible to do in javascript are there any good alternatives?
My site is made C# asp.net.
I have developed a website in asp.net framework 2 . This website is being hosted in two different servers without any change in code. My issue is about the performance of these 2 sites. One website is taking much time for inserting datas to the DB (SQL server 2005). 2 websites are having different DB server.
I think the issue is for the DB server. How can we rectify the DB performance while insertion and Is there any other cause for this permance issue?
I am not sure if this is the right forum. I can not find a forum for LINQ.
I am working on an application using LINQ. Application performance is not up to par and my tests show that it is LINQ queries that are slow. I was wondering if anybody can recommend where I can find an article about optimizing LINQ performance maybe by compilation or other methods.
I am creating a service oriented application where trying to have everything using services....however there is something I am not sure of , I am having a page that calls the database at the page load...so what would be better and faster?? to call database in pageload , or to call wcf service from javascript during javascript load ??btw , I am using a repeater in the page , but I have created somekind of an engine to create the suitable html so...I'll be creating the repeaters html using the wcf and resend it back to the page If I am using a wcf service at the start.
View 1 RepliesI have a web form where I define an array of type struct and I redirected it in the <script runat="server">
section of the second web form. But when I use that array below, in the <script type="text/javascript">
section in the html code of the same web form an error occured in the for cycle saying that the array (Array1) is undefined, and also the counter which I also defined in <script runat="server"> section.
I have this code in the <script runat="server">
section of the second web form:
public struct Point1
{
public float lat;
public float long1;
}
protected void Page_Load(object sender, EventArgs e)
{
//Retreive from session
Point1[] Array1 = Session["s1"] as Point1[];
//Run a Foreach loop
int nCnt
= 0;
foreach (Point1 p1
in Array1)
{
float x1
= p1.lat;
float y1
= p1.long1;
nCnt++;
}
}
and in the <script
type="text/javascript">
section I have:
var
for (var i = 0; i <
nCnt; i++)
{
lineString.getCoordinates().pushLatLngAlt(Array1[i][0], Array1[i][1],0);
}
lineString = ge.createLineString('');
lineStringPlacemark.setGeometry(lineString);
best way to use Grid layout to set the buttons of my Calculator
View 1 Repliesi have one grid and one button when i click on that button then it expand and showing another grid under the row of parent grid how to do that.
View 2 RepliesHow can I accomplish gridview sorting in client browser using javascript ? without using inbuilt gridview sorting method. I really dont want the gridview to go to the DB each time while sorting.
View 1 RepliesI have two text boxes in grid Txt_BalanceAmt and Txt_PayingAmt when i change the value of one text box the other ones value shoud also chage
<asp:BoundField
DataField="PendingAmt"
HeaderText="Pending Amt"
ItemStyle-VerticalAlign="Middle"
ItemStyle-Width="80px"/>
[Code]....