Please help...Brink of Insanity!!!

D

David Lucus

Well the subject say it all. Here is the problem. I am trying to create a
directory structure. Right now, I am creating a linkbutton at run-time for
each directory heading that is visible. When you click on the linkbutton,
it should open the directory below it. I can get it to call the sub that
should open the sub directory, but it seems that the click is always one
time off. Example. First time in the page, click nothing happens. Click
again it opens (should close). Click again it closes (should open). Is
there a certain binding order I should be performing (Page_Init, Page_Load,
Page_PreRender). Any help would be greatly appreciated.

Stumbling with delirium
David
 
K

Ken Cox [Microsoft MVP]

It is pretty hard to guess what is wrong. It helps to see some code. In the
meantime, maybe this code will give you some ideas?

http://msdn.microsoft.com/msdnmag/issues/03/06/ASPColumn/figures.asp#fig6

--

Important: Patch Windows *beyond* Blaster.
http://www.microsoft.com/technet/security/bulletin/MS03-039.asp


Well the subject say it all. Here is the problem. I am trying to create a
directory structure. Right now, I am creating a linkbutton at run-time for
each directory heading that is visible. When you click on the linkbutton,
it should open the directory below it. I can get it to call the sub that
should open the sub directory, but it seems that the click is always one
time off. Example. First time in the page, click nothing happens. Click
again it opens (should close). Click again it closes (should open). Is
there a certain binding order I should be performing (Page_Init, Page_Load,
Page_PreRender). Any help would be greatly appreciated.

Stumbling with delirium
David
 
D

David Lucus

Thanks for the help. The Tree solved what I was beating my head against the
wall for.

David
 

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

Forum statistics

Threads
474,077
Messages
2,570,567
Members
47,204
Latest member
abhinav72673

Latest Threads

Top