When I click the button without filling anything in the textbox it display images which I have putted in the required field validation control. But I want to display bottom of the button control a text description when any of the required validation is not valid.
I think this can be using if(page.isvalid) then display the text description. But it only work when javascript is disable.
Dinesh AmbaliyaPosted Jul 28, 2012, 12:46 AM
I tried validation summary. This validation control display message like this.
First TextBox is required.
Second TextBox is required.
But I just want to display meaning of the image which I have putted in the text property of the validation control like when any of the textBox is empty then an Image icon is displayed near that textBox and text description bottom of the button control: "Required Fields!"
Hemant KumarPosted Jul 27, 2012, 9:13 AM
For this type of requirement you need to use the Custom Validation Summary .