473,388 Members | 1,385 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,388 software developers and data experts.

Hidden input not available at prerender?

UJ
I have an aspx page that does some database look ups on the initial load. I
then need to do stuff later after an autopostback based on some of the
values. So I put some variables in input variables of type hidden. Problem
is on the reload-prerender the variables are not filled in yet.

Is the best solution session variables?

TIA.
Nov 19 '05 #1
2 1991
UJ
Nevermind - I forgot the runat=server.

"UJ" <fr**@nowhere.com> wrote in message
news:Oi****************@TK2MSFTNGP15.phx.gbl...
I have an aspx page that does some database look ups on the initial load. I
then need to do stuff later after an autopostback based on some of the
values. So I put some variables in input variables of type hidden. Problem
is on the reload-prerender the variables are not filled in yet.

Is the best solution session variables?

TIA.

Nov 19 '05 #2
> So I put some variables in input variables of type hidden

I am going to guess that your problem lies here. However, what the problem
is, I don't know, as you didn't specify what you meant by what you said.
Here's the thing: Terminology exists for the purpose of communication.
Terminology is an extension of a given language (in this case English), in
which new inventions are given new names so that everyone that is familiar
with the new names will know what is being talked about. That is why correct
terminology is important. Now, there is no such terminology as "input
variables of type hidden." Therefore, you are using self-invented
terminology that nobody can understand. For example, if you were to say "I
wrote some variable values into some HTML that creates an 'input
type=hidden' HTML form element" we would know what you meant. But, by the
same token, your statement could be interpreted as meaning "I inserted some
variable values into the value property of an HtmlInputHidden Control." Or
it could mean that "I inserted some variable values into the Attributes
Collection of an HtmlInputHidden Control as part of a string."

So, could you clarify what you meant by what you said, please?

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.

"UJ" <fr**@nowhere.com> wrote in message
news:Oi****************@TK2MSFTNGP15.phx.gbl...
I have an aspx page that does some database look ups on the initial load. I
then need to do stuff later after an autopostback based on some of the
values. So I put some variables in input variables of type hidden. Problem
is on the reload-prerender the variables are not filled in yet.

Is the best solution session variables?

TIA.

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
by: Randell D. | last post by:
Folks, Perhaps someone can figure this out - this is 'the process of my script' I have a form whereby I can add multiple contacts to a single address. There is only one...
13
by: Dan R Brown | last post by:
I have a large form that is generated dynamically in a jsp using xml / xslt. So, to break up this form into several "tabbed" sections, I break up the form using <div> tags. Each <div...
1
by: Raghuram Banda | last post by:
Hi All, Can any one help me how to create a HIDDEN element using JavaScript (DOM) dynamically The following codes works fine with IE but not in Netscape currentElement =...
6
by: Dan | last post by:
Is there a way to access and set a hidden input types in the code-behind page for ASP.Net? This seems like a common thing that would need to be done, I must be missing something obvious. ...
4
by: Magnus Blomberg | last post by:
Hello! I have a problem when using a hidden field to send a value to the server. Below you can see my code in simplyfied versions. What I'm trying to do is: 1. The user browses for a picture...
1
by: runway27 | last post by:
i have an if else situation wherein if a user registers with a name that is already available in the database i redirect them to duplicateuser.php or else redirect to thankyou.php presently i am...
5
by: anonymousstar | last post by:
Hi all, I am new to these forums and decided to join one (this one) after 5 days of researching to try and solve my problem. I am creating a booking type of calendar. It will be run by an...
6
by: dba | last post by:
using the following code with a problem.... echo "<input type='hidden' name='member_id' value=\"{$row}\">{$row}"; echo "<input type='radio' name='member_name' value=\"{$row}\">{$row}<br />"; ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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:
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...
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...

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.