c# - Server times out with two requests -


i have odd problem.

in asp.net (c#) have web form text field , button.

the text field has autopostback enabled text_changed event. button has click also.

if text changes in field , user clicks button without losing focus on text field first, 2 events seem "clash" on server , request takes 2-3 minutes return nothing.

if text changes in field , field loses focus before button clicked, events fired separately , ok.

i need able allow users go straight clicking button when they've changed text.

has else seen problem, , if how around it?

it better use jquery.

better use keyup or keydown of jquery event instead of textchanged event.  , false autopost property of textbox. 

Comments

Popular posts from this blog

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

javascript - addthis share facebook and google+ url -