473,396 Members | 1,749 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Action attribute of the form tag.

I have developed a website using .net framework 4.0 and hosted it on the web. when I run the website both from the local source and the hosted website and compare both the source by right clicking on the page and selecting view page source I see the action attribute of the form tag in different values. That is in the website hosted on the Web the action attribute is empty string <form name="form1" method="post" action="" id="form1"> but the same page when run from local source the action attribute is with the value <form name="form1" method="post" action="default.aspx" id="form1">.

How to set the action attribute with the value of action="default.aspx" which is hosted on the web?

Thanks in advance....
Nov 19 '12 #1
1 1683
Frinavale
9,735 Expert Mod 8TB
Publish your application again and overwrite the files that are on the server with the files produced by the publishing tool.

-Frinny
Nov 19 '12 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Aatu Koskensilta | last post by:
When processing HTML-files for various purposes, I run into a strange form action definition looking like "r/sx/*-http://somehow/somescript" In particular, the Yahoo search form uses a form...
11
by: milkyway | last post by:
Hello, I have an HTML page that I am trying to import 2 .js file (I created) into. These files are: row_functions.js and data_check_functions.js. Whenever I bring the contents of the files into...
2
by: iam247 | last post by:
Hi In my prototype asp page (with no javascript and no password validation, I have a registration form with the following action: <form name="form" method="post" action="RegDetails.asp"> ...
1
by: books1999 | last post by:
Hi, I have this frameset: <FRAMESET id=fs1 border=0 name=mainFrameset frameSpacing=0 rows=26,* frameBorder=no> <FRAME name=TopFrame src="crystal_files/top.htm" noResize scrolling=no>...
2
by: belgie | last post by:
Whereas in Asp I could submit my form contents to any other Asp page, it appears that in Asp.NET the primary Asp form will only submit to itself. I have tried changing the Action attribute in the...
2
by: Dilip | last post by:
Hi Is there a way to modify the action attribute of a form just before the initial GET for that page renders the HTML? I have a case where I do a GET on a URL like so:...
2
by: Matt | last post by:
I have a client that requires a custom extension to all of the aspx pages. I have created an HttpHandler to receive the custom extension but where do I capture the response of the form with an...
4
by: wwwmike | last post by:
How can I overwrite the <FORM action=attribute? I can add new attributes with Dim xx As System.Web.UI.HtmlControls.HtmlForm xx = Page.FindControl("form1") xx.Attributes.Add("something",...
0
by: Nathan Sokalski | last post by:
I need to programmatically set the action attribute of the form tag. First of all, the ASP.NET form control does not have an action property (it shows the Action attribute in source view, but not...
0
by: mbewers1 | last post by:
Hi there How can I get the Form.Action value to change value when a HTML button called 'doiSubmit' on the page is selected but to stay null the remainder of the time? I've placed the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.