Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with SelectedItemTemplate

Status
Not open for further replies.

Fubear

IS-IT--Management
Sep 11, 2002
299
GB
Ok, I have a datalist with a bunch of databound linkbuttons. I want the linkbutton for the selected item in the list to be bols when clicked on.

My problem is that although this DOES work, it seems to be a page refresh behind.

EG:
The page will load, and the list displays fine.
I click on the link, and the page changes are made, but the link I clicked on is no longer bold. I click on another link, and the link I clicked on is not bold, but the link I clicked on previously now is.

Finally - I click on another link, not part of the DataList, which sets the selected index of the list to -1. No hcange is made to the link, but it I click the link again, then all items are unselected.

What am i missing here?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top