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

TABLE y postback

Hola a todos,
hace poco que estoy desarrollando con .NET, actualmente con VS2005 en
VB.
Estoy empezando a volverme loco con el tema del ViewState del control
web TABLE.
He leído y releido post pero sigo atascado, quizás sea un problema de
concepto, pero si alguine me pudiera ayudar se lo agradecería.
La cuestión es que tengo un objeto TABLE, y 2 botones, uno para
añadir filas a la tabla y otro para eliminarlos.
Soy capaz de añadir filas con los objetos Tablecell y TableRow, pero
la tabla se reinicializa en cada postback.
Por lo que he leido se puede solventar esto con ViewState, pero no
logro entenderlo, si tuviérais un ejemplo os lo agradecería.

Muchas gracias

Jan 2 '06 #1
1 1972
<dr*******@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Muchas gracias


microsoft.public.es.dotnet.aspnet
Jan 2 '06 #2

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

Similar topics

0
by: sun | last post by:
Hi I'm building a table dynamically. I set the table width and each cell's width in percentage at the begining. The table loads fine at the first time. But, when postback, the width changes and...
3
by: Maria | last post by:
Hi I have a asp:table that I want to hold the values between postbacks. Hope some one knows how I can get that to work in an easy way. The table is loaded in runtime with different textboxes....
1
by: martin | last post by:
Hi, I have the following code in my page load event that creates a table on the web page. The trouble is that after a postback such as a button click on the page the table is not retained but...
4
by: Bishop | last post by:
I can't get my button event to fire inside a table. the button outside of the table works. Both make a postback. Any help appreciated. My code below. (Add button to page)
6
by: AFN | last post by:
I have a server-side table, <asp:table id="tblData" EnableViewState="true" runat="server" /> and my code-behind adds rows of data to the table in code that says: if not page.ispostback then...
1
by: russ | last post by:
Hi all, Here's a problem I'm having with a dynamic table. Following the guidelines here (http://www.codeproject.com/aspnet/dynamiccontrols.asp), which make perfect sense. The problem is that...
10
by: B. Chernick | last post by:
I am using a System.Web.UI.WebControls.Table control on a screen. (Dot Net 1.1) My problem is this: The table is programmatically reconstructed on every postback. Each table row contains two...
4
by: Gregory Gadow | last post by:
If there is a more appropriate forum, please let me know and I will post there. Our field reps can go on to our website and select from several sets of data to create the address we then provide...
6
by: Jeff | last post by:
....still new to visual studio 2005 and vb.net I have a master page with a content placeholder. The content page has a table in the content placeholder (placed there via dragging from the...
1
by: Jonathan Wood | last post by:
I have a table that I dynamically populate by creating cells and rows. The data comes from a database so I would prefer to have the table store the data in its viewstate rather than having to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.