AP.NET 2.0 solves this issue. However, its only in BETA. So, you can't
have the best of both worlds. Either you stick with the current model by
having the form post back to itself or do as we suggested. If that doesn't
work for you. Then maybe asp.net is not the right solution for you. Give
classic ASP a try.
"TheOne" wrote:
> I have to use server controls since I will be putting in user control for
> it. Is it possible to use response.redirect to submit form? Is there some
> other solution. Somehow I need to post information from this form.
>
> Thanks,
>
> Sinisa
>
> "TheOne" <> wrote in message
> news:...
> > In Asp.net web form under form tag there is action field that I am point
> to
> > some other page, and not to same web form. When I run this page it is
> always
> > pointing to itself. How do I get around this?
> >
> > Here is HTML code from webform..
> >
> > Thanks,
> >
> > Sinisa
> >
> > <%@ Page Language="vb" AutoEventWireup="false"
> > Codebehind="BusinessTest.aspx.vb" Inherits="EDMSearchForms.BusinessTest"
> > EnableSessionState="True" enableViewState="True"%>
> > <%@ Register TagPrefix="uc1" TagName="BusinessDirectoryUC"
> > Src="../Forms/BusinessDirectoryUC.ascx" %>
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> > <HTML>
> > <HEAD>
> > <title>BusinessTest</title>
> > <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
> > <meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
> > <meta name="vs_defaultClientScript" content="JavaScript">
> > <meta name="vs_targetSchema"
> > content="http://schemas.microsoft.com/intellisense/ie5">
> > </HEAD>
> > <body MS_POSITIONING="GridLayout">
> > <form id="search1" method="post" runat="server"
> > action="http://www.techtriangle.com/search/SearchResultsWaterloo.cfm"
> > name="search">
> > <input type="hidden" name="SearchScope" value="Business">
> > </form>
> > </body>
> > </HTML>
> >
> >
>
>
>