Showing posts with label runs. Show all posts
Showing posts with label runs. Show all posts

Monday, March 26, 2012

AJAX AutoCompleteExtender does not show a scroll bar

Below is the Web Service that I'm using for the AutoCompleteExtender.

Basically, it runs the SQL SELECT statement to retrieve a list of items in a form of string array depending on the user's input.

Everything works fine, but the AutoCompleteExtender doesn't seem to show a vertical scroll bar.

I set CompletionSetCount = 20, but the list goes as far as the returned list (string array, in this case)

This obviously makes the webpage very, very, very long if user only types in the first character.

Am I missing something here?

Thanks.

Hi,

Please refer to these threads:

http://forums.asp.net/t/1113604.aspx

http://forums.asp.net/t/1126776.aspx

Ajax application slow when deploy to server

i have an ajax web application (ajax.net 1.0) written in ASP.NET 2.0

The application runs fast on my local pc. When I deploy the application to server (windows 2003) as a web site, it's very slow.. funny thing is if I create a virtual site under the root (the main web site), it's become fast again.

Anyone encounter similar problem before? I didn't install ajax on the server, I just copy the binaries files. The application runs fine just that it's slow under main web site and not the virtual directory site.

One of the most common causes of an AJAX application running slow is because it is still in debug mode after being published. Make sure that debug is set to false in your web.config as indicated below.

<system.web>
<compilationdebug="false" />
</system.web>


I've set debug=false but that doesn't help.

How to explain why is it slow when deploy under main web site (IIS-> Create new web site) and it's fast when deploy under virtual directory (IIS-> Create virtual directory).


ok. I solved the problem. It appears that there was some javascript refrencing error

<script language="javascript" type="text/javascript" src="http://pics.10026.com/?src=//Js/Menu.js"></script>

as compare to

<script language="javascript" type="text/javascript" src="http://pics.10026.com/?src=/Js/Menu.js"></script>

which cause the problem.

Saturday, March 24, 2012

Ajax and IE6 - IE7 runs very very slow... Firefox is fast

Hi guys... i just implementa site that uses ajax update panels.. one page have an ajax update panel with asimple post back data (in change index event of a drop down a record shows tothe user) quite simple!

BUT the problems startswhen i upload the site in a production server , every update panel runs veryvery slow with IE7 or IE6 but in firefox works like a charm..

I made the following changes just to know but NOTHING CHANGED...Tongue Tied

<compilation debug="false"><system.web.extensions> <scripting> <scriptResourceHandler enableCompression="true" enableCaching="true"/> </scripting></system.web.extensions> 


i set also the EnableViewState =false to several items inside the page but did'nt see any change in production server..

Help ME PLEASE!!!

hello.

hum...do you have an anti-virus on? are we talking about how much data inside the updatepanel?


no antivirus..

look..

i have an update panel that contains a dropdown box with 3 values

This dropdown is autopostback=true

Also inside the Update panel is a second DropDbox that is conected to a datasource that changes the where clause value from the 1st Ddownbox selected value..(the table contains indexes and there are 80 records ONLY)

is quite simple.. User chooses for example CARS , and the second dropdown manipulates cars brands .. chooses motorbikes ,the second dropdown manipulates bikes..
I do not understand why in firefox is quite fast and in IE7 is VERY very slow...

is it a matter of the production server? or is a general known problem of ajax asp.net with IE6,7?



is there anyone with the same situation?