473,326 Members | 2,173 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,326 software developers and data experts.

Value in a Textbox not retrieving as a result of refresh in asp.net 2.0

20
I have a form named dataentry1.aspx

It has Name,Age,centimetres,metres textboxes.
we will enter name in name textbox,age in age textbox.
when we enter height in centimetres textbox, and after focusout from it,height in metres will be automatically displayed in metres textbox.



The dataentry1.aspx also has a placeholder.The placeholder gets reference of usercontrol(.ascx) when the page is loaded.
The user control has some linkbuttons.

When we click on a linkbutton,the page is refreshed and
I am able to see the values of name,age and centimetres that I have entered.
But the value in metres textbox is becoming empty as a result of refresh.
I need the value in metres textbox also to be displayed after refresh.

I need help regarding this and please send a sample code for the same.

Thanks
Silpa.
Jun 19 '07 #1
1 1368
I have a form named dataentry1.aspx

It has Name,Age,centimetres,metres textboxes.
we will enter name in name textbox,age in age textbox.
when we enter height in centimetres textbox, and after focusout from it,height in metres will be automatically displayed in metres textbox.



The dataentry1.aspx also has a placeholder.The placeholder gets reference of usercontrol(.ascx) when the page is loaded.
The user control has some linkbuttons.

When we click on a linkbutton,the page is refreshed and
I am able to see the values of name,age and centimetres that I have entered.
But the value in metres textbox is becoming empty as a result of refresh.
I need the value in metres textbox also to be displayed after refresh.

I need help regarding this and please send a sample code for the same.

Thanks
Silpa.
Hi,
why not try using javascript
Jun 19 '07 #2

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

Similar topics

14
by: Mike L | last post by:
This is for a Winform. What is the code to send text to a text box in another form? In my search form when the user click OK, I want to sent a string to a text box in frmDataEntry. The code I...
1
by: aa | last post by:
Hi All, i have two opened web pages & i want the textbox value in the second web page pass it to the textbox in the first web page while both web page r opened & without refresh. N.B Session...
3
by: Justin Morris via DotNetMonster.com | last post by:
<asp:TextBox ID="TextBox1" runat="server" value='<%=Server.HtmlEncode (Request.Cookies("Username")("Username"))%>'/> <input name="Password" type="text" id="Password" value='<%...
20
by: weston | last post by:
I've got a piece of code where, for all the world, it looks like this fails in IE 6: hometab = document.getElementById('hometab'); but this succeeds: hometabemt =...
2
by: simon | last post by:
hello, new to vb.net, have a few questions about DataGrid. I have a dataGrid that is working pulling a dataset back from a stored proc and binding to the datagrid for display the datagrid's...
0
by: Zark3 | last post by:
Hi all, In a web form I use a for loop to dynamically add TextBox'es to a page (one for each item in an input file). I can get the input values and I can display them in Label's and TextBox'es....
1
by: Ted | last post by:
Here is a stored procedure I created in MySQL: CREATE PROCEDURE `sp_find_food`( IN search_string varchar(255) ) BEGIN DECLARE ss VARCHAR(257); SET ss = CONCAT('%',search_string,'%'); SELECT...
2
by: Teenzonez | last post by:
Hi I am doing a simple application using ajax which wil fetch time from server to a javascript function. i have one html file and one asp page. In the html page i have two text boxes by name...
2
by: manishamca | last post by:
In dropdown i am retriving value from the backend. For eg: in the dropdown list the value selected are employee id..then i want to disply the emp name,job etc in the textbox. If i select a...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.