473,414 Members | 1,575 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,414 software developers and data experts.

WebPage Data on PostBack

Hi

have a webpage with some controls at the top and a Table control at the
bottom.

programmatically add the table header and Data rows using TableRow() and
Cells using Cell(), the Table is populated when page is NOT PostBack.
have a button to save data, when i click on the save button, rows created
programatically, do not show up, how do i maintain the state of such
controls so as to allow me to save the data.

does anyone know of some sample which show how to achive this.

TIA
Barry
Aug 4 '06 #1
3 1257
Barry,

i believe, you are creating those rows and controls dynamically on the
clientside using javascript (or some other scripting language). If thats the
case, you can access the values from Request.Forms collection.

- Augustin

"Barry" wrote:
Hi

have a webpage with some controls at the top and a Table control at the
bottom.

programmatically add the table header and Data rows using TableRow() and
Cells using Cell(), the Table is populated when page is NOT PostBack.
have a button to save data, when i click on the save button, rows created
programatically, do not show up, how do i maintain the state of such
controls so as to allow me to save the data.

does anyone know of some sample which show how to achive this.

TIA
Barry
Aug 4 '06 #2
Hi Augustin

Thanks for your quick reply,
I am creating the TableRow on the Server Side using VB code not JavaScript

Barry

"Augustin Prasanna" <Au**************@discussions.microsoft.comwrote in
message news:95**********************************@microsof t.com...
Barry,

i believe, you are creating those rows and controls dynamically on the
clientside using javascript (or some other scripting language). If thats
the
case, you can access the values from Request.Forms collection.

- Augustin

"Barry" wrote:
>Hi

have a webpage with some controls at the top and a Table control at the
bottom.

programmatically add the table header and Data rows using TableRow() and
Cells using Cell(), the Table is populated when page is NOT PostBack.
have a button to save data, when i click on the save button, rows created
programatically, do not show up, how do i maintain the state of such
controls so as to allow me to save the data.

does anyone know of some sample which show how to achive this.

TIA
Barry

Aug 4 '06 #3
Dynamically created controls need to be again created on postback too. Here
is a sample: http://support.microsoft.com/kb/317794/EN-US/ A Google search
will get you more.

"Barry" <so*****@somewhere.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Hi

have a webpage with some controls at the top and a Table control at the
bottom.

programmatically add the table header and Data rows using TableRow() and
Cells using Cell(), the Table is populated when page is NOT PostBack.
have a button to save data, when i click on the save button, rows created
programatically, do not show up, how do i maintain the state of such
controls so as to allow me to save the data.

does anyone know of some sample which show how to achive this.

TIA
Barry
Aug 4 '06 #4

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

Similar topics

5
by: sifar | last post by:
Hi, This is my first post to this Group. A] I am trying to create a escalation page which will mail an escalation report of a faulty product. Items needed on Page: -----------------------
2
by: Duwayne | last post by:
I am having lots of trouble with one of my user controls (ascx) not automatically loading postback data. An image on the aspx page starts the postback and the parent has no problem loading it's own...
4
by: Eddie | last post by:
Hi All, How may I refresh my page, for exemple, when the user click a WebControls.Button on my form ? (Or on another frame ?) Thx for your help !
1
by: ree32 | last post by:
I have a placeholder and depending on a user input(a drop downlist) when the user clicks a button I dynamically create a number of datagrids and fill them with data from a database. But the problem...
1
by: Joseph Morales | last post by:
I'm trying to code a free-standing VBScript, executed by Windows Script Host on a client system, to push a button on an ASP .NET webpage that is hosted by another server. Note that the script is...
6
by: shivavrata | last post by:
Hi All, I want to transfer the data form webpage to any other own application which is running in backend.How i develop this web page. which technology is good for this or any particular protocol...
10
by: Lorie0114 | last post by:
Hello, We have an issue that I do not know how to resolve. Our website has several hundred reports. There are a handful of them that are causing issues when there is no interaction for a couple...
14
by: =?Utf-8?B?UGF1bA==?= | last post by:
Hi I tried a google search but could not find anything. I am trying to cause one webpage to reload when a second web page is closed. The second webpage loads data into a session variable and when...
1
by: m.a | last post by:
Hello, I want to investigate that data that is send to server during a postback. I want to know it so I can optimize the postback data to speed up the postback. It seems that my current...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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
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...

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.