Click here to Skip to main content
16,016,204 members

Comments by Andy Morris (Top 21 by date)

Andy Morris 7-Feb-12 12:30pm View    
I got it to work but only if the background color is not set in the style from the ASP page.


Thanks
Andy Morris 7-Feb-12 12:28pm View    
1, reference problem, I think I have that solved:
Dim row = DirectCast(e.Item.FindControl("Itemrow"), HtmlTableRow)

2, If I set the bgColor to #808080 (Grey) nothing changes.
row.BgColor = "#808080"

I have step through the code to ensure it is firing in the databound event.
Andy Morris 1-Feb-12 16:13pm View    
I finally got it to work. I had a reference problem (mp.GetUser(userName, False) should have been mp.GetUser(userName.text, False) but the link you referenced helped.
Thanks
Andy Morris 23-Jan-12 10:26am View    
Thanks, still learning.
Andy Morris 23-Jan-12 0:09am View    
How do I load the data into a viewstate?