A Arne Garvander Sep 2, 2008 #1 I am using the asp:Login control. How can I set the destinationPageUrl in code?
S Steve Sep 2, 2008 #2 Default.aspx <asp:login ID="Login1" runat="server"></asp:login> Default.aspx.cs Login1.DestinationPageUrl = "url"; Steve
Default.aspx <asp:login ID="Login1" runat="server"></asp:login> Default.aspx.cs Login1.DestinationPageUrl = "url"; Steve
A Arne Garvander Sep 2, 2008 #3 That does not compile for me! I am using Vs 2008. I compile in VB. -- Arne Garvander (I program VB.Net for fun and C# to get paid.) Steve said: Default.aspx <asp:login ID="Login1" runat="server"></asp:login> Default.aspx.cs Login1.DestinationPageUrl = "url"; Steve Click to expand...
That does not compile for me! I am using Vs 2008. I compile in VB. -- Arne Garvander (I program VB.Net for fun and C# to get paid.) Steve said: Default.aspx <asp:login ID="Login1" runat="server"></asp:login> Default.aspx.cs Login1.DestinationPageUrl = "url"; Steve Click to expand...
S Steve Sep 2, 2008 #4 Sorry, I just assumed that you wanted to get paid. ;-) Default.aspx.vb Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Login1.DestinationPageUrl = "destination_url" End Sub I have no idea if this will work in VS2008 as I'm still using 2005. HTH Steve Arne Garvander said: That does not compile for me! I am using Vs 2008. I compile in VB. Click to expand...
Sorry, I just assumed that you wanted to get paid. ;-) Default.aspx.vb Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Login1.DestinationPageUrl = "destination_url" End Sub I have no idea if this will work in VS2008 as I'm still using 2005. HTH Steve Arne Garvander said: That does not compile for me! I am using Vs 2008. I compile in VB. Click to expand...