I have this Default page with multiple data-role, the structure is
When login event is clicked, the code is something like thisCode:<div data-role="page"> <a href="#login"></a>... </div> <div data-role="page" id="login"> <!-- Form elements here --> </div>
I expected it to redirect to the page with data-role login. But instead it goes to Default.aspx. Anyone tried this? I need it to redirect to #login page. Thanks a lot.Code:if (ok) { Response.Redirect("Dashboard.aspx"); } else { // Something goes wrong and display message Response.Redirect("Default.aspx#login", true); }




Reply With Quote
