Table, PostBack and Click Event!

J

jack

Hi folks,
Consider a page that contains an asp "Table". This table is populated
by some data taken from a Data Access Logic Component (DALC). The
table has got two cells, one that displays a Row#, and the other one
that displays the Name. The Name column actually contains a
LinkButton...

1. Am I supposed to populate the table on the Load event *even* if the
Page.IsPostBack is true?

2. When a link button is clicked, I need to insert additional rows
below the "clicked" row. AFAIK, I've to render the entire page from
scratch and insert the necessary rows below the "clicked" row. Is this
actually the way to go in ASP.NET?

3. If I've to render the entire page, how am I supposed to

a) Force the browser to jump to the "clicked" row position.

b) Is there anyway to stop querying the DALC on PostBacks? You know,
the rows have been already taken once, when the IsPostPack was false.
I actually need to load the associated rows with the "clicked" one,
however, it seems that I've to load the table somehow. (?)

Thank you for your time,
Jack
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top