or
| foreach (GridEditableItem editedItem in gvEntityAttributes.EditItems) |
| { |
| Hashtable newValues = new Hashtable(); |
| e.Item.OwnerTableView.ExtractValuesFromItem(newValues, editedItem); |
| string cID = editedItem.GetDataKeyValue("ea_ID").ToString(); |
| } |
Sub Grid_Change(ByVal source As Object, ByVal e As Telerik.WebControls.GridPageChangedEventArgs)
'change the page index in both top grids if GridTime index is changed:
GridSubjects.CurrentPageIndex() = GridTime.CurrentPageIndex()
GridSubjectsData.Copy()
GridSubjects.Rebind()
End Sub

| If ProjectID = "0" Or ProjectID = "" Then |
| e.Appointment.BackColor = Drawing.Color.Silver |
| Else |
| e.Appointment.BackColor = Drawing.Color.DarkSeaGreen |
| If Leave = "True" Then |
| e.Appointment.BackColor = Drawing.Color.Khaki |
| Else |
| If OutOfOffice = "True" Then |
| e.Appointment.BackColor = Drawing.Color.Wheat |
| e.Appointment.Font.Bold = True |
| e.Appointment.ForeColor = Color.Red |
| Else |
| e.Appointment.BackColor = ColorTranslator.FromOle(RGB(216, 229, 154)) |
| End If |
| End If |
| End If |