May we submit data from ASP.Net Page to ASP Page ??. Means I have some
Textboxes and I want to send Text within texboxes into targer ASP Page...
TIA
Kamal Ahmed 3 1468
Hi Kamal
Data can be submitted from ASP.NET Page to ASP Page or any other page for ex
(jsp, php, cfm etc). You just need to make sure that action attribute of
form is proper and contains the url of desired page.
Regards
Fiaz Ali Saleemi
Hi there,
If it's .NET 1.x, I don't think you can simply set action attribute in form
tag, unless you use non-.NET form. In .NET form, even you set action
attribute in form tag, it still request the page itself, rather than action
page.
In order to use 'POST' method to request other page, you should use
client-side JavaScript code. Following code snippet shows how to use a button
to submit the form to www.asp.net:
In Page_Load event:
myButton.Attrib utes.Add("Oncli ck",
"document.Form1 .action='http://www.asp.net'; document.Form1. submit();") ;
HTH
Elton Wang el********@hotm ail.com
"Fiaz Ali Saleemi" wrote: Hi Kamal
Data can be submitted from ASP.NET Page to ASP Page or any other page for ex (jsp, php, cfm etc). You just need to make sure that action attribute of form is proper and contains the url of desired page.
Regards Fiaz Ali Saleemi
Hi Kamal,
A WebForm always submits to itself. However, it doesn'thave to be the ONLY
form on a page. So, yes, you can submit data in a form from one ASP.Net page
to another.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven
"Kamal Ahmed" <mh********@yah oo.com> wrote in message
news:eO******** ******@TK2MSFTN GP14.phx.gbl... May we submit data from ASP.Net Page to ASP Page ??. Means I have some Textboxes and I want to send Text within texboxes into targer ASP Page...
TIA
Kamal Ahmed This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Matt |
last post by:
I want to submit the form to the server without opening another page.
When we do the following, it will submit the form data in myform to
the IIS, and open page2.asp.
<form name="myform" action="page2.asp" method="post">
But I don't want to open another page, I just want to submit the form data.
Should I do the following??
myform.submit();
|
by: Matt |
last post by:
When people say submit the form data, does it mean the form data are
submitted to web browser using either HTTP GET or POST method, and then it
will redirect to another page.
For example, this is page1.aspx
<form action="page2.aspx" method="post">
means it will submit the page1.aspx form data to the web server, and then
redirect from page1.aspxto page2.aspx?
|
by: Codeman II |
last post by:
Hi there,
I am building a form where the user must upload a picture and fill in his
details.
Now I have a problem as all of this is on the same form.
How will I be able to have the Browse button to open the "file browse"
dialog
and the Submit button to submit the form data.
|
by: Eric George |
last post by:
Hi,
Has anyone had any success using jscript submit
method in their VS.NET projects?
For example I have some client processing in a script
function then call <form name>.submit();
This won't work. It does however work in a hand coded
html or aspx page.
|
by: jwlum |
last post by:
I have the following problem under Internet Explorer only:
1. User fills out form data (myform.php) and clicks a button that fires
myFunction()
2. myFunction() spawns a "hello, world" popup page via window.open
3. myFunction() submits the main page's form via document.form.submit()
5. User closes popup window and clicks browser's Back button to return
to form entry page
6. All the form data that the user had filled out is now blank...
| |
by: Mica Cooper |
last post by:
Hi,
I need to pass some info in a javascript submit.
<a href="javascript:document.formName.submit();">Submit Form</a>
Normally a link would do page.jsp?x1=1&x2=2&x3=3 and you would pull x1, x2,
x3. I have no clue how to do this with a link submit.
Thanks,
|
by: Alex |
last post by:
Hello,
I hope I can explain this properly. I'm writing an application with a
tabbed-based navigation, and a form which gets filled out by users will
be split into 5 subtabs. What I need is instead of the user needing to
hit a SUBMIT button each time the form within a tab is complete (Before
clicking the next tab), I want clicking any tab to submit the data.
I'm affraid that by not doing this, people will fill out the data in
tab 1,...
|
by: gzannd |
last post by:
I have a problem with submitting a form to a PHP page through a
dynamically created IFRAME in IE7. This code works fine in Firefox.
However, IE7 submits an empty form--the correct PHP page is called, but
no form variables are passed to the page.
Here's the client-side code:
//Create or reuse an IFRAME to submit data to a specified page.
//commandToken: A string that tells the page what to do.
//data: Data that the page will work...
|
by: V S Rawat |
last post by:
using Javascript, I am opening a web-based url in a popup window.
MyWin1=Window.Open(url, "mywindow")
There is a form (form1) in the url in that popup window, I need to
submit that form.
How do I submit that form1 from the javascript from my current window?
Thanks.
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |