.NET insists on setting its own action attribute for the form if you're using runat="server". To break away from the submit structure, you might try using postbackurl=" (your web page's name)" in the submit button.
EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com
Thanks.
Yes, I have been able to make this work - that is, using a button with a
postbackurl field. However, there is no postbackurl capability when I want
to use an image instead of a button to initiate a submit.
Scott Roberts - 11 Dec 2007 19:13 GMT
> Yes, I have been able to make this work - that is, using a button with a
> postbackurl field. However, there is no postbackurl capability when I
> want
> to use an image instead of a button to initiate a submit.
How about ImageButton?
One step closer to what I want, but not quite there yet.
With your help I found out how to post to an out of application url. That
works perfectly. What it does, however, is take my users away from my site
and to the other site. What I really want to do is cause the other site to
be seen in a new window so that I do not lose my users should they go 'take
a look' at the other site.
Is there an ASP.NET function that can accomplish this for me in association
with the submit button?
> .NET insists on setting its own action attribute for the form if you're using runat="server". To break away from the submit structure, you might
try using postbackurl=" (your web page's name)" in the submit button.
> EggHeadCafe - .NET Developer Portal of Choice
> http://www.eggheadcafe.com