asp.net - Required field validator of the textbox -


i have 1 drop down , 2 text boxes start date , end date .the required field validator end date i'm enabling depending on value of drop down selected.

all of validation part i'm doing inside client side using validatorenable() built in function of javascript calling due onchange() function of drop down.

all of working fine on change of value of drop down first time. when i'm doing post , during there failure of client side validation,the required field validator of end date text box not retained.

lack of code makes hard diagnose, sounds enabling validation based on value of dropdown selected , when user changes value of dropdown... same validation call when page loads , not when select item dropdown list. on page load if dropdown list has selected value, validation should enabled , work expected.

also should fix there no postback on client side validation failure.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -