Hi
I have a ultrawebgrid that allows the user to add new rows. Inside the grid i need a button named "print" to show up only after the user has added the rows. How can I hide the button during the "add new" and show it after the user saves the record?
( i am looking for server side code, no javascript)
Thanks
Hello,
I am not completely sure I get the whole scenario in detail. Where do you need to show the "Print" button? You say inside of thegrid, but this could be anywhere (like Row, Footer, Header, etc)? Other than that, when the user has finished entering the data, you can just have any button on the page that is initially invisible and then make it visible with Button1.Visible = True and that. But then again it really depends on what you need to achieve.
as i wrote in the post subject I need to a cell type button named "print" for each row in the grid.But this button should show up only when the record exists (i bind the grid to a datatable for update, but I use the grid also for insert new records) and not when the user add a new row.
If it is not possible to hide the cell button, i would like to disable it.
another problem i am having is:
I used the Inzializerow event to set the button caption, but the button has no caption when the user inserts a new row.