Click here to Skip to main content
15,887,596 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
hi to all,
the problem i got is , the application freezes( not the system) while typing a character in text box with autocomplete extender.the problem is not in the working environment,the application runs well in my system.this occurs only in the client side system,that too only twice or thrice a day.
Anybody got solution for this.
expecting some help from here,
thankyou
Posted
Updated 16-Jan-12 21:41pm
v2
Comments
pankajupadhyay29 17-Jan-12 3:13am    
This is not the problem with C# application, check your service you are using for auto-complete that might taking lot of time or you are doing some operation on key down.
Sergey Alexandrovich Kryukov 17-Jan-12 3:18am    
Very, very vague question, not really useful.
--SA

There is no particular reason - you need to look at your code (which is probably in a .asmx file) and check that.
Without your code, we cannot really help you any further!
 
Share this answer
 
Comments
OriginalGriff 17-Jan-12 3:51am    
We still can't tell from that - it's a bit like you phoning the garage and saying "my car is broken - fix it" and hanging up. Without telling them where you are, what the car is, and what happens to cause the problem, they would have to guess. Or more likely, not do anything because they don't know where to find you.
There only one particular reason: the clumsy hands of the application developer. As to .NET and C# themselves, they are very stable and support development of very stable application which are very easy to maintain at least if proper development practices are utilized.

—SA
 
Share this answer
 
Comments
saji.ns 17-Jan-12 3:34am    
i got it, but you know the problem is not in the development environment.ie the application works well in my system. the problem is in the clients system when installed.
First thing that comes to mind is a threading issue. If the autocomplete takes a long time to execute and is executing on the UI thread, it will interrupt any other UI operations, thereby "freezing" the application until it is done. Perhaps you can, as OriginalGriff suggested, post your code for us to look at.
 
Share this answer
 
Comments
BotCar 17-Jan-12 3:52am    
This does not discount the possibility of a threading issue. If your system is more powerful than the client's system, then the code that gets executed on the UI thread might happen so fast that you don't notice the delay; but on the client's system it takes just long enough that it is noticeable from time to time.

When the application freezes, how long does it freeze before continuing? Does the client force quit it while it freezes? Is there any other patterns that you can see as to when it freezes and when it works perfectly?
I think your MinimumPrefixLength = "1", increase it by 3 , I am agree with "OriginalGriff" we cannot really help you Without your code
 
Share this answer
 
v2
Comments
saji.ns 17-Jan-12 3:44am    
the problem is not in the working environment,the application runs well in my system.this occurs only in the client side system,that too only twice or thrice a day. so i dont think that its the problem with the code

anyway thanks for ur reply
Agree with others. You didn't provide enough details in your question.

And my guesses are,
1) May be memory issue
2) Infinite loop
3) etc.,
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900