| GridViewComboBoxColumn colApproved = new GridViewComboBoxColumn(); |
| colApproved.FieldAlias = "Approved"; |
| colApproved.FieldName = "Approved"; |
| colApproved.HeaderText = "Approved"; |
| colApproved.DataSource = new string[] { " ", "Approve", "Deny" }; |
| private void btnApproveAll_Click(object sender, EventArgs e) |
| { |
| foreach(GridViewDataRowInfo row in this.radGridView1.MasterGridViewTemplate.Rows) |
| { |
| if (((Button)sender).Text == "Approve All") |
| { |
| row.Cells["Approved"].Value = 1; |
| } |
| else |
| { |
| row.Cells["Approved"].Value = 0; |
| } |
| } |
| if (((Button)sender).Text == "Approve All" ) |
| { |
| ((Button)sender).Text = "UnApprove All" ; |
| } |
| else |
| { |
| ((Button)sender).Text = "Approve All"; |
| } |
| } |
| ((ComboBox)row.Cells["Approved"]).SelectedIndex = 1; |
My old project was: VS 2008, using VB.Net and Telerik Q1 2009.
I've update project through Project Update utility but obtain a lot of error messages (see picture: http://pic.ipicture.ru/uploads/090710/IPanVnW98P.png ).
If I try to change version of dll's manually (from 2009.1.9.414 to 2009.2.9.701) - many errors appeared (actually during changing version of TelerikCommon.dll).
I was looking for an example on how to create a gallery at the ribbonbar and so i looked at the telerik example ribbonbar/First Look.
Opening of the gallery looks ok and when i don't move the mouse over a gallery element the closing of the gallery looks also ok.
But when i move the mouse over a gallery element (and it is zoomed) or when i click on a gallery element then when the gallery is closing there is some part of the border left over and is not removed from the screen.
I use the Q2'09 release of the telerik controls.
Regards,
Ramius