Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.††If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 17th, 2017, 01:02 PM
Registered User
Points: 5, Level: 1
Points: 5, Level: 1 Points: 5, Level: 1 Points: 5, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2017
Location: North Carolina
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dynamic Controls with ASP.NET

Hello all,

Migrating an existing site from classic to .net. This site allows a customer to pay their account, and each customer may have many accounts. The site presents two static tables, consisting of their demographic info and text boxes for credit card info. Below this, I dynamically build a table consisting of each account belonging to that customer. They have the ability to break their payment up and apply it to their account as they wish.

Account: 1234 | Apply: (txtBox1) | (btn1 = clears txtBox1)
Account: 1235 | Apply: (txtBox2) | (btn2 = clears txtBox2)
etc.

Since these are dynamic controls, I'm having an issue saving the value of each text box on post back. I'm also having an issue with the buttons, and writing the method to clear out the corresponding text box when clicked.

Any ideas, or can any steer me in the right direction?
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Do we really need ASP.NET xyzDataSource controls? edurazee ASP.NET 3.5 Basics 1 December 21st, 2009 03:43 PM
Creating Dynamic ASP.NET Server Controls Using XML kwilliams XSLT 0 October 6th, 2006 02:42 PM
Dynamic .NET Controls. rupen ASP.NET 1.0 and 1.1 Basics 3 February 21st, 2006 05:30 AM
Dynamic generation of asp.net server controls shashi1312 Classic ASP XML 1 August 2nd, 2005 05:52 AM
Dynamic generation of controls in ASP.NET Maxood ASP.NET 1.0 and 1.1 Basics 2 March 8th, 2004 07:29 PM



All times are GMT -4. The time now is 03:34 AM.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.