RE: Geting error in MobileUserControl when redirecting
From: Michael Romanyuk (MichaelRomanyuk_at_discussions.microsoft.com)
Date: 08/03/04
- Next message: Kunal Kot via .NET 247: "ObjectList "Back" Command"
- Previous message: Michael Romanyuk: "Geting error in MobileUserControl when redirecting"
- In reply to: Michael Romanyuk: "Geting error in MobileUserControl when redirecting"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 3 Aug 2004 07:45:04 -0700
I found the source of problem:
click event does not raise when clicking on Command control:
.....
private void InitializeComponent()
{
this.InventoryBtn.Click += new System.EventHandler(this.InventoryBtn_Click);
}
private void InventoryBtn_Click(object sender, System.EventArgs e)
{
Response.Redirect(url,true);
}
Why it happens i dont understand
"Michael Romanyuk" wrote:
> Im not able to find RedirectToMobilePage() method in MobileUserControl. How can i redirect via Command control in .ascx to other mobile page.
> When im using HttpContent.Current.Response() it redirects nowhere;
> When using :
> MobilePage pg = new MabilePage();
> pg.RedirectToMobilePage(url);
> the same result.
- Next message: Kunal Kot via .NET 247: "ObjectList "Back" Command"
- Previous message: Michael Romanyuk: "Geting error in MobileUserControl when redirecting"
- In reply to: Michael Romanyuk: "Geting error in MobileUserControl when redirecting"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|