A
Andrew Robinson
I have a page that contains a number of link buttons that are used for
making selections. I load my LinkButtons during the Page_PreInit event and
they render fine but then I need to make a change to one of these
LinkButtons depending on the selection.
I am using the Command Event and passing a key in the Command.Name field.
From within this even handler, I am clearing my LinkButtons and then
re-redering and marking with a different graphic the selected LinkButton.
1. ViewState is not available during the PreInit event so I can't indication
selection there.
2. ReRendering the LinkButtons in the Command event doesn't seem to
redisplay them until the next postback.
Any ideas would be appreciated. Thanks,
Andrew
making selections. I load my LinkButtons during the Page_PreInit event and
they render fine but then I need to make a change to one of these
LinkButtons depending on the selection.
I am using the Command Event and passing a key in the Command.Name field.
From within this even handler, I am clearing my LinkButtons and then
re-redering and marking with a different graphic the selected LinkButton.
1. ViewState is not available during the PreInit event so I can't indication
selection there.
2. ReRendering the LinkButtons in the Command event doesn't seem to
redisplay them until the next postback.
Any ideas would be appreciated. Thanks,
Andrew