or
Telerik.Web.UI.RadDateInput.prototype.parseDate = function (value, theDate) { ... }if (e.CommandName == RadGrid.UpdateCommandName){ if ((e.Item is GridEditableItem) && (e.Item.IsInEditMode)) { GridEditableItem item = (GridEditableItem)e.Item; TextBox txtAmount = new TextBox(); TextBox txtQuantity = new TextBox(); int ID_Profil = Convert.ToInt32(item.GetDataKeyValue("ID_Profil")); if (ID_Profil != 0) { DataTable objectifsTable = this.GridSource; //Locate the changed row in the DataSource DataRow[] changedRows = objectifsTable.Select("ID_Profil = " + ID_Profil.ToString()); if (changedRows.Length != 1) { e.Canceled = true; return; } //Update new values Hashtable newValues = new Hashtable(); grd_objectifs.Items[item.ItemIndex].ExtractValues(newValues); changedRows[0].BeginEdit(); try { foreach (DictionaryEntry entry in newValues) { changedRows[0][(string)entry.Key] = entry.Value; } changedRows[0].EndEdit(); } catch (Exception ex) { changedRows[0].CancelEdit(); e.Canceled = true; } } }}
comboBox.DataValueField = "emEventID"comboBox.DataTextField = "emEventTitle"comboBox.DataBind()Dim cbItem As RadComboBoxItemFor Each project As EM_EventsItem In filteredEventsListcbItem = New RadComboBoxItem(project.emEventTitle, project.emEventID)cbItem.Attributes.Add("UserPermissionLevel", project.UserPermissionLevel)comboBox.Items.Add(cbItem)cbItem.DataBind()Next

