<asp:ContentPlaceHolder id="cphSearchResults" runat="server"/>
<asp:ContentPlaceHolder id="cphEdit" runat="server"/>
Then, in each page in our application, we put a radgrid in the search results place holder, and an edit control in the other. When we click a row in the search results grid, we invoke a process to look up that item, populate the edit control, and make the edit control visible.
What I'm trying to accomplish is to position the browser at my #Edit anchor after this postback, so the user is positioned right at the edit control.
No luck so far, I've tried several variations of this:
protected void grdTemplate_SelectedIndexChanged(object sender, EventArgs e)
if (grdTemplate.SelectedValue is int)
ClientScript.RegisterStartupScript(this.GetType(), "edit", "document.location = '#Edit';", true);
Anybody else have any ideas I might try?