Yaler:
How I can execute server side function ( result boolean) from javascript code?
hope this one help a little bit
assume that you have a js function in you js file
function CheckFeedBack(id)
{ ...
// do whatever you want to check
if (id=='btnSubmit')
{
doPostBack('btnSubmit','OnClick');
}
}
and you code you have something like this in your cs page load
Page.GetPostBackEventReference(btnSubmit);
if (!Page.IsPostBack)
{
btnSubmit.Attributes.Add("onclick", "CheckFeedBack('btnSubmit');return false;");
}
.............
protected void btnSubmit_Click(object sender, EventArgs e)
{
...//server side function
}