G
Guest
I am developing an ASP.NET 2.0 application using a master page. I have a
DataList control on the master page that has a datasource this is an
ArrayList of objects that have a CmdURL property. This property contains a
string that hold the name of the page to which control is redirected, e.g.
MyPage.aspx. In this scenario when the user clicks on the DataList item the
handler either executes a Server.Transfer or a Response.Redirect.
The handler is in the Master page .cs file. This scheme has worked well to
this point, but I am now getting an exception with a message, "Error
executing child request for MyPage.aspx.". What is happening? How can I fix
it?
Note: I have seen the newsgroup entry that says to use Response.Redirect,
but I get the problem with Redirect as well.
Any help is greatly appreciated.
Thanks,
Eagle
DataList control on the master page that has a datasource this is an
ArrayList of objects that have a CmdURL property. This property contains a
string that hold the name of the page to which control is redirected, e.g.
MyPage.aspx. In this scenario when the user clicks on the DataList item the
handler either executes a Server.Transfer or a Response.Redirect.
The handler is in the Master page .cs file. This scheme has worked well to
this point, but I am now getting an exception with a message, "Error
executing child request for MyPage.aspx.". What is happening? How can I fix
it?
Note: I have seen the newsgroup entry that says to use Response.Redirect,
but I get the problem with Redirect as well.
Any help is greatly appreciated.
Thanks,
Eagle