Closed MG1376 closed 5 months ago
You need DataBind in SelectedIndexChanged because the original HandleSelect did not add RequiresDataBinding = true.
protected void Selected_Changed(object sender, EventArgs e)
{
gvSelectedValue = Convert.ToInt32(gv.SelectedValue);
gv.DataBind();
}
GridView select command and selectedindexchanged event stops page circuit. after executing the event handler, the gridview and the page are disabled:
OnSelectedIndexChanged="Selected_Changed"
When I hover the mouse on Edit and Delete buttons nothing appears but when I hover on Select Button a "_doPostback.." appears under the page. probably this feature is not implemented yet. the problem can be easily solved by passing context.Id to event handler and attach event handler to the button, but then it is not the asp.net way.