Posted on: 3/29/2012 3:38:12 AM | Views : 460

I want to redirect user according to his role .
I have use logon controals .
for that i have weite the code on login button...

 protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
    {
        if (User.IsInRole("tech"))
        {
            Response.Redirect("tech/Tech Page.aspx");
        }
        else if(User.IsInRole("admin"))
        {
            Response.Redirect("admin/admin.aspx");
        }
        else if(User.IsInRole("user"))
        {
  &nbs ...

Go to the complete details ...