[RESOLVED] GridView Footer
I am programatically inserting a footer row to my GridView. In cell 0 I am adding a "Select" button.
Code:
If e.Row.RowType = DataControlRowType.Footer Then
Dim myLinkButton As New LinkButton
myLinkButton.Text = "Select"
AddHandler myLinkButton.Click, New EventHandler(AddressOf ClickHandler)
e.Row.Cells(0).Controls.Add(myLinkButton)
End If
So far no problem. Now I need to left justify the "Select" verbage in the cell. I am adding following to the code:
Code:
myLinkButton.Text = HorizontalAlign.Left
When I now display the GridView, I see a '1' in the footer cell 0 and not a "Select" anymore???