PDA

View Full Version : [CLOSED] Server.Transfer



aisi_it_admin
Jan 10, 2013, 2:14 PM
Hello
I found couple of posts here regardng the topic, not sure I got them clearly
Seems that I cant do Server.Transfer during directEvent call, which is ok for me

I have one larger page, resourcemanager on masterpage and on one age that does not uses direct event/method calls I have this:


<asp:LinkButton runat="server" ID="lnk" OnClick="lnk_click" Text="Click me"/>



protected void lnk_click(object sender, EventArgs e)
{
Server.Transfer("~/default.aspx");
}

So no ext anywhere (only on masterpage I have resourcemanager)

On Default.aspx I'm getting

"The web.config file for this project is missing the required DirectRequestModule."

Is this supposed to work or is it known problem?
Thanks

Vladimir
Jan 10, 2013, 2:38 PM
Ext.Net uses http module for finish html output processing
Calling Server.Transfer discards any http module execution
Therefore Server.Transfer cannot be used if page contains Ext.Net controls