I think I got it working.. I am answering the question myself.. LOL...
public void Page_Load(object sender, System.EventArgs e)
if (IsPostBack)
Page.Validate();
}
then wrap the onchange code with this thing:
private void myDropdown_SelectedIndexChanged(object sender, System.EventArgs
e) {
if (Page.IsValid)
{
// code here..
}
}
"ChInKPoInt CumPeeWaRe [No MCSD]" <Ch*******************@yahoo.com> wrote in
message news:tI********************@rogers.com...
I have a (1) Textbox and (2) Dropdownlist
(1) is using RequiredFieldValidator
(2) is using AutoPostBack
Now, the problem is: when (2) is fired up and it reloads the page which
erases the error message displayed in (1). Any solutions or tips to solve
this problem?
C.P. [No MCSD]