grid with Button

2 posts, 0 answers
  1. Sunny
    Sunny avatar
    26 posts
    Member since:
    Feb 2013

    Posted 28 Feb 2013 Link to this post

    hello sir/ madam,

    In this screen shot that i have attached i m using linkbutton named(Final Approval) on this button click i want to access configuration name and sell quantity name at client side but i am not getting this so please tell me how can i acheive this. i also have used

    GridDataItem dataItem1 = (GridDataItem)grd_optnandprcng.SelectedItems[0];
      string configuration = dataItem1["Header"].Text;

    but i am not getting value of column at button click.
  2. Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 28 Feb 2013 Link to this post


    Try the following code.
    function OnClientClick()
            var masterTable = $find('<%= RadGrid1.ClientID %>').get_masterTableView();
            var row = masterTable.get_dataItems();
            for (var i = 0; i < row; i++) {
                var cell = masterTable.getCellByColumnUniqueName(row[i], "Uniquename");

Back to Top