Greetings all,
I use request.form("t extbox1") to get data back to page,
dim str as string
str = request.form("t extbox1").tostr ing
But str is always empty after refresh???? I use asp.net textbox
control with form posting to itself.
MTIA,
Grawsha 7 5556
What do you mean by "refresh"?
Do you click F5 in IE?
If yes, then does IE asks if you want to resubmit the data?
George
My Site - Body Jewelry
"al" <gr*********@ya hoo.com> wrote in message news:66******** *************** ***@posting.goo gle.com...
Greetings all,
I use request.form("t extbox1") to get data back to page,
dim str as string
str = request.form("t extbox1").tostr ing
But str is always empty after refresh???? I use asp.net textbox
control with form posting to itself.
MTIA,
Grawsha
"George" <no****@hotmail .com> wrote in message news:<u5******* *******@TK2MSFT NGP10.phx.gbl>. .. What do you mean by "refresh"? Do you click F5 in IE? If yes, then does IE asks if you want to resubmit the data?
George My Site - Body Jewelry "al" <gr*********@ya hoo.com> wrote in message news:66******** *************** ***@posting.goo gle.com... Greetings all,
I use request.form("t extbox1") to get data back to page,
dim str as string
str = request.form("t extbox1").tostr ing
But str is always empty after refresh???? I use asp.net textbox control with form posting to itself.
MTIA, Grawsha --
Thanks for replying
I click 'Refresh' button on IE toolbar and it asks me only if I
clicked 'submit' button before that.
"George" <no****@hotmail .com> wrote in message news:<u5******* *******@TK2MSFT NGP10.phx.gbl>. .. What do you mean by "refresh"? Do you click F5 in IE? If yes, then does IE asks if you want to resubmit the data?
George My Site - Body Jewelry "al" <gr*********@ya hoo.com> wrote in message news:66******** *************** ***@posting.goo gle.com... Greetings all,
I use request.form("t extbox1") to get data back to page,
dim str as string
str = request.form("t extbox1").tostr ing
But str is always empty after refresh???? I use asp.net textbox control with form posting to itself.
MTIA, Grawsha --
Thanks for replying
I click 'Refresh' button on IE toolbar and it asks me only if I
clicked 'submit' button before that.
"George" <no****@hotmail .com> wrote in message news:<u5******* *******@TK2MSFT NGP10.phx.gbl>. .. What do you mean by "refresh"? Do you click F5 in IE? If yes, then does IE asks if you want to resubmit the data?
George My Site - Body Jewelry "al" <gr*********@ya hoo.com> wrote in message news:66******** *************** ***@posting.goo gle.com... Greetings all,
I use request.form("t extbox1") to get data back to page,
dim str as string
str = request.form("t extbox1").tostr ing
But str is always empty after refresh???? I use asp.net textbox control with form posting to itself.
MTIA, Grawsha --
Thanks for replying
I click 'Refresh' button on IE toolbar and it asks me only if I
clicked 'submit' button before that.
"George" <no****@hotmail .com> wrote in message news:<u5******* *******@TK2MSFT NGP10.phx.gbl>. .. What do you mean by "refresh"? Do you click F5 in IE? If yes, then does IE asks if you want to resubmit the data?
George My Site - Body Jewelry "al" <gr*********@ya hoo.com> wrote in message news:66******** *************** ***@posting.goo gle.com... Greetings all,
I use request.form("t extbox1") to get data back to page,
dim str as string
str = request.form("t extbox1").tostr ing
But str is always empty after refresh???? I use asp.net textbox control with form posting to itself.
MTIA, Grawsha --
Thanks for replying
I click 'Refresh' button on IE toolbar and it asks me only if I
clicked 'submit' button before that.
"al" <gr*********@ya hoo.com> wrote in message
news:66******** *************** ***@posting.goo gle.com... Greetings all,
I use request.form("t extbox1") to get data back to page,
dim str as string
str = request.form("t extbox1").tostr ing
But str is always empty after refresh???? I use asp.net textbox control with form posting to itself.
What is the value of textbox1.Text?
--
John Saunders
johnwsaundersii i at hotmail
Then everything is correct.
Request.Form is collection that gets populated only when form is submitted using method "POST"
If you are not resubmitting the data and just navigated there using URL the Request.Form collection is empty.
Request.QureryS tring behaves a little differently. It will be populated with parameters firm the URL string (the ones that after ? character).
George
My Site - Body Jewelry
"al" <gr*********@ya hoo.com> wrote in message news:66******** *************** ***@posting.goo gle.com...
"George" <no****@hotmail .com> wrote in message news:<u5******* *******@TK2MSFT NGP10.phx.gbl>. .. What do you mean by "refresh"? Do you click F5 in IE? If yes, then does IE asks if you want to resubmit the data? George My Site - Body Jewelry "al" <gr*********@ya hoo.com> wrote in message news:66******** *************** ***@posting.goo gle.com... Greetings all, I use request.form("t extbox1") to get data back to page, dim str as string str = request.form("t extbox1").tostr ing But str is always empty after refresh???? I use asp.net textbox control with form posting to itself. MTIA, Grawsha --
Thanks for replying
I click 'Refresh' button on IE toolbar and it asks me only if I
clicked 'submit' button before that. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Dave |
last post by:
How do I check in a Windows Forms app if any controls have changed? I have
a form that collects data, and I want to prompt the user if they try to exit
the app, or load a new file, without saving changes that have been made.
In MFC/Win32, you'd trap the WM_COMMAND/EN_CHANGE notification messages,
etc. But, this doesn't seem to happen in Windows Forms. I tried Spy-ing a
windows forms app, and the WM_COMMAND messages don't even get sent...
|
by: Clint |
last post by:
Hey all -
I'm having a really confusing problem concerning a web service. Right
now, I have an application that needs to call a web service that does
nothing but return "true" (this will obviously change once the
program's fully built to actually do something, but for testing, it
works).
The only code I added to the service is below:
|
by: Matt |
last post by:
I want to confirm if Request.Form("field_name") no longer use in ASP.NET?
Since we can just use TextBox1.Text to get the value from the user.
Please advise! Thanks!
|
by: Cindy |
last post by:
Hi all you smarties out there,
I'm having a little conundrum with my asp.net page
Scenario:
I have a form (asp.net) with no code behind (as yet).
I have placed a javascript function on a server side textbox control
to do something - eg change the words on label - when the key pressed
is the "enter" key.
I can see the label change to what i expect ----- BUT .... then the
|
by: kai |
last post by:
Hi, All
I create an ASP.NET page, it contains FirstName textbox and LastName
textbox. I setup "enableViewState=false" in page directive. When I enter
data in FirstName and LastName textbox, after I refresh the page or go to
different page and come back to the same page, I find data entered in
FirstName and LastName textbox are still there.
I think after setup "enableViewState=false" , we are not suppose to see data
in the textbox...
| |
by: dee |
last post by:
Hi
I'm a webform that fills a CheckListBox server control dynamically from a
database.
I then use
Me.Server.Transfer("page2.aspx", True)
to transfer the contorl data to to be used in page2 WebForm.
I can get the value of a text control using
Label1.Text = Me.Request("TextBox1")
But I don't know how to get the CheckedListBox values. Also I dont know how
many
|
by: Pascal |
last post by:
hello and soory for my english
here is the query :"how to split a string in a random way"
I try my first shot in vb 2005 express and would like to split a number in
several pieces in a random way without success.
for example if the number is 123 456 : i would like to have some random
strings like theese :
(12 * 10 000) + (345 * 10) + (6*1)
or
(123*1 000)+(4*100)+(5*10)+(6*1)
etc...
|
by: G |
last post by:
Hello,
I have a c# ASPX file, and a Code Behind file.
This file has contents POSTED to it, around 15 form fields. Rather than
manually catch each Request.Form - is there an easy way to
simply create a loop which does the following:
1: Look for ALL posted form fields
|
by: samarthkumar84 |
last post by:
Hi
I had used following code for sending e-mail but facing this problem.
I want to send this e-mail in ASP.NET using VB.NET code. I am
attaching both code an output.
CODE
Imports System.Web.HttpCookie
Imports System.Web.Mail
Imports System.Web.Mail.SmtpMail
|
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: 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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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...
| |