重写OnPreRender方法
protected override void OnPreRender(EventArgs e)
{
searchUsername.Text = Request["searchUsername"];
searchKeyword.Text = Request["searchKeyword"];
if (Request["isLike"] == "True")
{
isLike.Checked = true;
}
else
{
isLike.Checked = false;
}
}
{
searchUsername.Text = Request["searchUsername"];
searchKeyword.Text = Request["searchKeyword"];
if (Request["isLike"] == "True")
{
isLike.Checked = true;
}
else
{
isLike.Checked = false;
}
}