473,511 Members | 10,195 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

dynamic text box and post backs - HELP!!


I have an aspx page that contains a custom built component. Thi
component contains a panel. At runtime text boxes are built and adde
to the controls collection of the panel on an as needed basis. Thes
text boxes are built as server-side controls with the AutoPostBac
property turned on. A TextChanged event handler is also built int
each text box. So, when a value is entered into the text box and th
user tabs off of the field, it causes a post back and the TextChange
even to fire. The problem comes in when the user enters a value int
the text box, but does NOT tab off of the field. Instead they clic
the save button on the main page. This save button click causes a pos
back. What happens is 2 post backs are occurring - I guess one for th
button click and one for the text box. The TextChanges event on th
text box fires twice causing the value entered to be doubled. I can'
turn AutoPostBack on the text box off because that creates another se
of problems for the web page. I've tried everything I can think of t
"blank" out the value of the text box between the 2 posts, but canno
find a way to do it. Any ideas? Does this even make sense? Thanks i
advance for any ideas or suggestions!!! Oh, this is all developed i
vb.net..

--
Rosann
-----------------------------------------------------------------------
Rosanne's Profile: http://www.highdots.com/forums/member.php?userid=28
View this thread: http://www.highdots.com/forums/showthread.php?t=151946

Nov 19 '05 #1
0 949

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

Similar topics

3
2694
by: JOSEPHINE ALVAREZ | last post by:
I have this code that I want to use to do a rollover. However, because the company I am doing it for is continually changing the text, I want to be able to use dynamic text to change the text on...
2
6478
by: Milkstr | last post by:
is it possible to pass dynamic text through the query string command?? I know you can just pass a variale through a link eg. www.text1.com/text1.asp?username="Mike" but i want to use the...
1
1570
by: jamna | last post by:
Sir i am really in trouble becouse i have a flash template where all text should come from a XML file in to flash's Dynamic text tool and i want to apply CSS also on it but i am totally new in flash...
1
1567
by: MattWiley | last post by:
I have been at this for almost a month now, and I have yet to find a good solution. I am curious if anyone has arched, arced, or embroidered dynamic text in flash. I have tried a lot of different...
5
2510
by: awais1989 | last post by:
i have an dynamic text box named "screen" having value "2" i want that when i press a button it will add 2 more in that and show 4 samilalry when i press the buton again it adds 2 in 4 and show 6....
0
3069
by: emojoy | last post by:
So I have a project where there are 5 dynamic text fields, and I thought it would be quite simple. Create a dynamic text field, and then load in the .xml content, and I had it complete. However, it...
1
1414
by: ashelp | last post by:
Hi Guys, m new to this forum, wantd a help from u ppl. i have a stage and need to write a code which wil do the following: on publish, if i click(mouse down) on stage, i want a dynamic text...
1
1582
by: nightwalker | last post by:
hi all, I am trying to retrieve dynamic text value, but I need some helps with my script below. it doesn't get executed. Please help. for (var i =1; i <=3; i++) { ...
1
1807
by: smartic | last post by:
hi, i using action script 2 for old project that have many languages, changing from language to another change the dynamic text format so i need away to get all the dynamic text into SWF file to...
0
7367
Oralloy
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,...
0
7430
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
5673
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,...
1
5072
isladogs
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...
0
4743
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...
0
3230
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...
0
3217
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1581
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 ...
0
451
bsmnconsultancy
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...

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.