First let me specify my environment, am using the ASP.net AJAX Q1 2011 35 controls in VS2010 with VB.net.
I am trying to bind a RadGrid to a dataset allowing it to autogenerate the columns, then set the format of the columns in code in the itemdatabound event. I prefer this way because it allows me to just set header text and width without having to define every property of every column in code. I also have a need to add a button to a column. I am adding the button in the page_load event in the mastertableview and it shows up properly when the page loads, but when I click on the button the grid refreshes and the button disappears. So first I need to be able to keep the button from disappearing, and second I'm not sure how I can put code in the button click event.
I would appreciate any help that anyone can provide.
Thanks.
I am trying to bind a RadGrid to a dataset allowing it to autogenerate the columns, then set the format of the columns in code in the itemdatabound event. I prefer this way because it allows me to just set header text and width without having to define every property of every column in code. I also have a need to add a button to a column. I am adding the button in the page_load event in the mastertableview and it shows up properly when the page loads, but when I click on the button the grid refreshes and the button disappears. So first I need to be able to keep the button from disappearing, and second I'm not sure how I can put code in the button click event.
I would appreciate any help that anyone can provide.
Thanks.