G
Guest
Hi all,
I have a ASP.net web form which has Two imageButtons imageButtion1 and
imageButton2. I also have two textBoxes, textBox1 and textBox2.
I want to use validation server controls to achieve the following
1) When I click imageButton1 I need to validate ONLY textBox1.
2) When I click imageButton2 I need to validate ONLY textBox2.
I need to display the javascript messagebox using validationSummary Server
Control
Currently when I am using the validation controls, the validation is run for
both the text boxes if I click imageButton1 or imageButton2.
Any idea what I am doing wrong here or how do i achive this.
cheers!
pradeep_tp
(Query_0000003)
I have a ASP.net web form which has Two imageButtons imageButtion1 and
imageButton2. I also have two textBoxes, textBox1 and textBox2.
I want to use validation server controls to achieve the following
1) When I click imageButton1 I need to validate ONLY textBox1.
2) When I click imageButton2 I need to validate ONLY textBox2.
I need to display the javascript messagebox using validationSummary Server
Control
Currently when I am using the validation controls, the validation is run for
both the text boxes if I click imageButton1 or imageButton2.
Any idea what I am doing wrong here or how do i achive this.
cheers!
pradeep_tp
(Query_0000003)