how to call DataBindmethod as well as validate textbox values using ajax(Anthem)
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I am using ajax(anthem,also am new to this).I am using a ajax button control on click event of this i am validating the text entered and at the same time calling a method in cs file to check whether data exists in DB.However this method is not called and only the validations r performed. Is it that if i use ajax button control i cannot call a method from cs file and only use javascript? Herez my code: private void btn_Login_Click(object sender, System.EventArgs e) { Anthem.Manager.AddScriptForClientSideEval("EnterText()") ; this.Panel1.Visible = ! this.Panel1.Visible; this.Panel1.UpdateAfterCallBack = true; BindDataSource();//method written to chk whether username exists } is there any alternative way of calling the method Thanks, Mini