Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
i have button in onc column in ultrgrid in vb,net i want to display text and handel that click event how it will be do?
posted

hi

i have a ultra grid with one button column  field that is i want to display that text "permissions" on that button space and at the same time Handel that click event for writing code what is the way to do . i am new comer to this ultragrid so if you have any idea give that me ..  for adding button my code is

 

 Me.UltraGrid1.DisplayLayout.Bands(0).Columns.Add("DocumentCategories")
        e.Layout.Bands(0).Columns("DocumentCategories").Style = UltraWinGrid.ColumnStyle.Button
        'e.Layout.Bands(0).Columns.Insert(7, "View")
        e.Layout.Rows.Band.Columns("DocumentCategories").ButtonDisplayStyle = UltraWinGrid.ButtonDisplayStyle.Always
        'e.Layout.Rows.Band.Columns("DocumentCategories").

what is the remaining code   to display constant text on button and Handel click event of that button