Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
ASP.NET 2.0 Professional If you are an experienced ASP.NET programmer, this is the forum for your 2.0 questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 5th, 2006, 05:15 AM
Registered User
 
Join Date: Jun 2006
Location: Mumbai, , India.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to viprsh81 Send a message via Yahoo to viprsh81
Default Dynamic Textbox

i,m creating an application dynamicaly using asp.net 2.0 . if i create textbox dynamically thn how i can store data in databse when i insert data in textbox & click on save button.,

  #2 (permalink)  
Old June 5th, 2006, 09:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Location: Harrisburg, PA, USA.
Posts: 1,998
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Hey,

Dynamic controls have to be recreated every time the page load; viewstate should load then any changes from the previous page when the control is created; however, it works better when you use a control like formview or detailsview to do this, because of its inherit support.

Brian
  #3 (permalink)  
Old July 20th, 2006, 04:46 AM
Registered User
 
Join Date: Jul 2006
Location: mumbai, maharashtra, India.
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi

I am stuck with the same problem. I am appending a row to a Table dynamically at the onclick event of a button. So how can I recreate them? Does it mean that click event handler need to be called inside the pageload event?

Where can I find materials on the same for a clear understanding. If you could provide a puedo code, it will be very much useful.

Roopesh

roopesh


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamic textbox generation into gridview dharmeshtandel ASP.NET 2.0 Basics 3 December 24th, 2007 02:14 AM
dynamic textbox creation badamsreekar ASP.NET 2.0 Professional 1 July 26th, 2007 10:40 AM
dynamic textbox shown when radiobuttonlist select debjanib ASP.NET 1.0 and 1.1 Basics 1 May 30th, 2006 09:44 PM
How to assign dynamic value to textbox in struts JasmineStanly JSP Basics 0 August 22nd, 2005 03:56 AM
Dynamic TextBox stu9820 ASP.NET 1.0 and 1.1 Basics 2 February 4th, 2004 04:35 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.