if ur familiar with ajax try this link
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/HoverMenu/HoverMenu.aspx



On Wed, Dec 23, 2009 at 4:54 AM, Ana <[email protected]> wrote:

> Hi,
>
> I have a GridView with seven columns of data and in the eighth column
> I have two linkButtons: EditButton and DeleteButton. The GridView is
> being bound in the code behind.
>
> When I click on EditButton, the row [corresponding to the row in which
> the button I clicked is] is supposed to change to edit mode. I'm
> having a hard time trying to do this. My last try was using this code:
>
> Protected Sub EditButton_Click(ByVal sender As Object, ByVal e As
> System.EventArgs)
>        Dim row As GridViewRow = sender.parent.parent
>        row.RowState = DataControlRowState.Edit
>        BindMyGridView()
> End Sub
>
> But nothing happens. ANy suggestions of how to achieve my goal?
>
> Thanks,
>
> Ana
>

Reply via email to