edit data grid

Discussion in 'ASP .Net Datagrid Control' started by mahsa, Jun 3, 2004.

  1. mahsa

    mahsa Guest

    Hi I have a Datalist that can Update each row my problem is i have a edit update and remove link in datalist when user click edit it show update and cancel button but when they click update button it again show update and cancle I want it to show edit button and dont show update and cancel do you have any idea?
    mahsa, Jun 3, 2004
    #1
    1. Advertising

  2. mahsa

    Scott M. Guest

    At the end of the Update and Cancel code, set the DataList's EditItemIndex
    to -1.


    "mahsa" <> wrote in message
    news:...
    > Hi I have a Datalist that can Update each row my problem is i have a edit

    update and remove link in datalist when user click edit it show update and
    cancel button but when they click update button it again show update and
    cancle I want it to show edit button and dont show update and cancel do you
    have any idea?
    Scott M., Jun 3, 2004
    #2
    1. Advertising

  3. mahsa

    Scott M. Guest

    Also, this may help:

    http://msdn.microsoft.com/library/d.../vbcon/html/vbtskallowinguserstoedititems.asp


    "Scott M." <> wrote in message
    news:...
    > At the end of the Update and Cancel code, set the DataList's EditItemIndex
    > to -1.
    >
    >
    > "mahsa" <> wrote in message
    > news:...
    > > Hi I have a Datalist that can Update each row my problem is i have a

    edit
    > update and remove link in datalist when user click edit it show update and
    > cancel button but when they click update button it again show update and
    > cancle I want it to show edit button and dont show update and cancel do

    you
    > have any idea?
    >
    >
    Scott M., Jun 3, 2004
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?R2FyeQ==?=
    Replies:
    2
    Views:
    443
    Wasi Rehman
    Oct 29, 2004
  2. Yunus Emre ALPÖZEN [MCAD.NET]

    link data grid edit button

    Yunus Emre ALPÖZEN [MCAD.NET], May 9, 2005, in forum: ASP .Net
    Replies:
    13
    Views:
    688
    =?Utf-8?B?RWx0b24gVw==?=
    May 12, 2005
  3. Brian Watkins

    Data grid edit mode question

    Brian Watkins, Oct 19, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    2
    Views:
    91
    Brian Watkins
    Oct 22, 2004
  4. Iams

    How to edit records in a grid that's within a grid

    Iams, Mar 17, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    176
  5. Evan M.

    Separate edit page for a Data Grid

    Evan M., Jul 18, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    4
    Views:
    110
    Fiaz Ali Saleemi
    Jul 20, 2005
Loading...

Share This Page