Remove row from html table

J

John Devlon

Hi,

Does anyone know how to dynamicly remove a row from an existing html table
using asp.net ?
Can i delete a row by ID?

Thanx

John
 
T

textnews.dommel.be

Hi Mark,

Thank you for your great help. Your solution works great.

However, when checking the source code, the removed rows still exists.
Maybe I have to change my approche to my problem.

Do you know if it's possible in the code behind file to build an html table
an insert it at a specific point in the asp/html page?

Thanx

John
 
K

Kinnar Shah

Hi John,
A plausible solution to your problem would be to have a LiteralControl at
the desired place and then run some code in the page load event and other
event handlers to generate the desired HTML. This may not be quite neat, but
it will do your work.. :)

Hope this helped.

Thank you,
Kinnar Shah
---------------
Microsoft Student Partner
Ahmedabad, India
---------------
Microsoft Certified Technology Specialist
ASP.NET Web Applications
---------------
Member
Global IS Musketeers Team
AIESEC International
------------------------------------------------------------------------
G-MAIL: (e-mail address removed) (Primary Mail)
MSN: (e-mail address removed)
AIESEC E-MAIL: (e-mail address removed)
YAHOO: (e-mail address removed)
WEB: www.kinnarshah.blogspot.com

Mobile: +91-9429134288
Residence: +91-79-65223083
------------------------------------------------------------------------
"when once you have tasted flight, you will forever walk the earth with your
eyes turned skyward,
for there you have been and there you will always long to return."
- leonardo da vinci
------------------------------------------------------------------------

textnews.dommel.be said:
Hi Mark,

Thank you for your great help. Your solution works great.

However, when checking the source code, the removed rows still exists.
Maybe I have to change my approche to my problem.

Do you know if it's possible in the code behind file to build an html
table an insert it at a specific point in the asp/html page?

Thanx

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top