I am getting a following error “Too many characters in character literal” when I try to run a javascript location.href during the onclick of the button.
<asp:Button ID="btnManageRoles" runat="server" Text="Manage Roles" Width="80%"
onclick="location.href='~/Users/CreateUser.aspx'"/>
This is what you’re looking for: