I am using a repeater control in a web part. The repeater control contains a checkbox. when I select more than one checks in the repeater checkboxes the page is getting refreshed. This happens only in chrome and firefox browsers.
1 Answer
For Non-IE browser turn of the Cache mechanism which can cause this type of issues with AjaxCalls
protected void Page_Load(object sender, EventArgs e)
{
if (Request.Browser.MSDomVersion.Major == 0) // Non IE Browser?
{
Response.Cache.SetNoStore(); // No client side cashing for non IE browsers
}
}
AutoPostBack=True
for the checkbox?AutoPostBack=True
and you should be fine