471,336 Members | 1,428 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,336 software developers and data experts.

Comma appended to textboxes when retrieving value!

I'm retrieving values from the textboxes that I created dynamically. However
I get commas appended to my text values and just a comma wherever the textbox
is empty. Dont know what is causing this. Any suggestions please?

Jul 21 '05 #1
1 1891
I found out what the problem is. I was calling the function that creates my
dynamic text boxes in two places which caused the problem. The function was
called twice during each page load regardless of whether it was a postback or
not. One of them was in the Init method for postback. I put in a If statement
to load the control in the Init method only if it is a PostBack. That solved
it.
"Victor" wrote:
I'm retrieving values from the textboxes that I created dynamically. However
I get commas appended to my text values and just a comma wherever the textbox
is empty. Dont know what is causing this. Any suggestions please?

Jul 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by jamesthiele.usenet | last post: by
2 posts views Thread by Karuppasamy | last post: by
2 posts views Thread by Keith Doran | last post: by
6 posts views Thread by Drum2001 | last post: by
reply views Thread by rosydwin | last post: by

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.