Hi,
I am not able to use Resonse.Redirect effectively when the users is logged an as a subdomain account.
This user can add and delete on the list.
The intro.aspx custom application page. is just a skin for adding editing or deleting List items.
The user can add a form using an Add method on the edit.aspx page that Intro.aspx leads him to. The Response.Redirect works from there and takes the user back to intro.aspx.
However when the user clicks the delete button from the edit.aspx page the list item is deleted but the Response.Redirect does not work from there
protected void uxbtnDelete_Click(object sender, EventArgs e)
{
int formtodeletetitle = Int32.Parse(Request.QueryString["FormID"]);
SPWeb oWebsite = SPContext.Current.Web;
SPList oList = oWebsite.Lists["cl_wc"];
SPListItemCollection oCollection = oList.Items;
oList.GetItemById(formtodeletetitle).Delete();
oList.Update();
Response.Redirect(oWebsite.Url + @"/_layouts/abCheckListCLWC/intro.aspx");
}This is the redirect that is failing,
The redirect is exactly the same in the Add button method. Called immediately after the list.Update and it works.