hi
i use @Html.ValidationMessage("username") to check duplicate username .
and it is working. but when i have serverside validation error & clientside validation error together , it just shows clientside error .
@Html.ValidationMessage("username") alone works , but when i have forexample email required error too , @Html.ValidationMessage("username") doesn't show and just email error is shows.
i wanna when i click submit button ,
both error can to appear. these are not related to each other . server and client are diffrent .
@Html.TextBoxFor(m => m.email, new { @class = "group", @placeholder = "* enter email" })
@Html.ValidationMessageFor(model => model.email)
@Html.ValidationMessage("username")
@Html.TextBoxFor(m => m.username, new {@id="group" , @class = "input-block-level", @placeholder = "* enter username" })