So I'm trying to get my gridview to display a button in a certain location, ( I put a placeholder in the grid on line 48) and each time through the loop a column value is checked for false (i.e. a boolean) and if false, then the email button is displayed for that row in the placeholder. This prerender thing needs to happen on initial page load as on postback after someone uses the check linkback button. Am I correct to do this after the fullgrid on line 14?
My code is buggy right now, and I could really use some help. Everything is fine until after line 15 where I added this prerender code. In line 19 visual studio doesn't want the last Boolean, trycast operand must be reference type, boolean is a value type. I don't understand this. Also line 22 btn.Click is an event and can't be called directly. Use Raiseevent statement to raise an event per vs. Also in 22, system.eventhandler is a delegate type and requires a single addre ...
Go to the complete details ...