protected void btnAdd_Click(Object Sender, EventArgs e) { oDocument.AddPermission(intDocument, Int32.Parse(Request.Form[hdnUser.UniqueID]), Int32.Parse(radSecurity.SelectedItem.Value)); Response.Redirect(Request.Path + "?id=" + intDocument.ToString() + "&add=true"); }