I have a gridview and I add some buttons programmatically to this grid. I have an edit and delete button right next to eachother and I simply want to put a space between them programmatically. Any idea how to do that? Here is the code to add the buttons.
For i As Integer = 0 To GridView1.Rows.Count - 1
btnedit.ImageUrl = "\images\bttnEditMini.gif"
btndelete.ToolTip = "Deletes the Current Record"
btnedit.ToolTip = "Edits the Current Record"
btndelete.ImageUrl = "\images\bttnDeleteMini.gif"
GridView1.Rows(i).Cells(2).Controls.Add(btnview)
GridView1.Rows(i).Cells(4).Controls.Add(btnedit)
GridView1.Rows(i).Cells(4).Controls.Add(btndelete)
Next