Click here to Skip to main content
16,004,882 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Reading System Information in ASP.Net Pin
eyeseetee29-May-08 2:07
eyeseetee29-May-08 2:07 
QuestionRe: Reading System Information in ASP.Net Pin
vinay_K29-May-08 2:21
vinay_K29-May-08 2:21 
AnswerRe: Reading System Information in ASP.Net Pin
eyeseetee29-May-08 2:33
eyeseetee29-May-08 2:33 
QuestionRe: Reading System Information in ASP.Net Pin
vinay_K29-May-08 2:51
vinay_K29-May-08 2:51 
Questionstop CollapsiblePanelExtender1 flicker Pin
eyeseetee29-May-08 1:20
eyeseetee29-May-08 1:20 
AnswerRe: stop CollapsiblePanelExtender1 flicker Pin
eyeseetee29-May-08 2:26
eyeseetee29-May-08 2:26 
Questionstrange behaviour, validation is not working Pin
Mogaambo29-May-08 1:16
Mogaambo29-May-08 1:16 
QuestionDynamically adding and deleting rows in asp:table Pin
prezident29-May-08 1:08
prezident29-May-08 1:08 
Hi,

this is my problem: I have to create a table with unknown number of rows. There should be a button for adding a new row and a button for deleting selected rows (in each rows there is a cell with a checkbox for deleting).

How to do that? I've been trying for days, and no success...

Here is what I've done (and it's not good): in Page_Load I can see if it's a PostBack. If it is, I check which button caused it. If it is a button for adding a new row I create a row and add it to a list of rows which I save in a session. And then I call a function which takes all the rows from that list and adds it to a table. But what if I change a row in a table? I should somehow collect all the rows from the table and copy it to that session variable before PostBack, but no way to do it...

There has to be a better way to do it.

Any ideas?

Thanks.
AnswerRe: Dynamically adding and deleting rows in asp:table Pin
Mogaambo29-May-08 1:46
Mogaambo29-May-08 1:46 
GeneralRe: Dynamically adding and deleting rows in asp:table Pin
prezident29-May-08 2:24
prezident29-May-08 2:24 
GeneralRe: Dynamically adding and deleting rows in asp:table Pin
eyeseetee29-May-08 2:30
eyeseetee29-May-08 2:30 
GeneralRe: Dynamically adding and deleting rows in asp:table Pin
prezident29-May-08 5:29
prezident29-May-08 5:29 
GeneralRe: Dynamically adding and deleting rows in asp:table Pin
Mogaambo29-May-08 2:41
Mogaambo29-May-08 2:41 
AnswerRe: Dynamically adding and deleting rows in asp:table Pin
Mogaambo29-May-08 2:50
Mogaambo29-May-08 2:50 
QuestionUnique Array Data Pin
munklefish29-May-08 0:44
munklefish29-May-08 0:44 
AnswerRe: Unique Array Data Pin
J4amieC29-May-08 1:33
J4amieC29-May-08 1:33 
QuestionRe: Unique Array Data Pin
munklefish29-May-08 2:37
munklefish29-May-08 2:37 
AnswerRe: Unique Array Data Pin
J4amieC29-May-08 2:40
J4amieC29-May-08 2:40 
GeneralRe: Unique Array Data Pin
munklefish29-May-08 2:49
munklefish29-May-08 2:49 
GeneralRe: Unique Array Data Pin
J4amieC29-May-08 3:27
J4amieC29-May-08 3:27 
GeneralRe: Unique Array Data Pin
munklefish29-May-08 3:47
munklefish29-May-08 3:47 
GeneralRe: Unique Array Data Pin
J4amieC29-May-08 7:10
J4amieC29-May-08 7:10 
Question'index.aspx' has not been pre-compiled Pin
Trishul Tandel29-May-08 0:21
Trishul Tandel29-May-08 0:21 
AnswerRe: 'index.aspx' has not been pre-compiled Pin
eyeseetee29-May-08 0:23
eyeseetee29-May-08 0:23 
AnswerRe: 'index.aspx' has not been pre-compiled Pin
J4amieC29-May-08 1:02
J4amieC29-May-08 1:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.