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
Post a Comment