hi,
i have a problem and i hope you can help me with it…
In the view.aspx page, i have a datagrid with fill rows of data. when they click on the edit link, they will be redirected to the edit.aspx page. after editing and when they clicks on the submit button, it will save the changes and redirect back to the view.aspx…
i would like to make an anchor link on the view.aspx so that when they get redirected back to the view.aspx, i want them to view the record they have just edited… currently, it’s always display on the top of the page. (i want to reduce vertical scrolling…)
what i have now is i have an add another column for my datagrid for my anchor links… my anchor like is bound to my primary key…
<a name = ‘<%# Container.DataItem(“primarykey”)%>’></a>
in my edit.aspx.vb, when i click on the submit button, i have this…
Response.Redirect(“~/DocumentList/ViewDocumentList.aspx#” & primarykey & “?wsid=” & hidengwc.Text)
but it doesn’t seem to be working… how should i do it? i believe it gotta do with my querystring… they don’t seems to be working if i place them together… (querystring and anchor)