View Single Post
  #2 (permalink)  
Old July 12th, 2006, 12:24 AM
MythicalMe MythicalMe is offline
Authorized User
 
Join Date: May 2006
Location: , , .
Posts: 99
Thanks: 0
Thanked 1 Time in 1 Post
Default

While I haven't done this for The Beer House, the first version's poll control is quite similar. My implementation was not to make the entire implementation invisible. The usual method method is to entice users to want to vote and therefore register. So in the page load event of the control, I set the Vote button visible property to Context.User.IsAuthenticated. To make the entire control visible based on authentication could be done from the template page load event.