protected void rgdViStore_InsertCommand(object source, GridCommandEventArgs e)
{
GridEditableItem editedItem = e.Item as GridEditableItem;
DataTable substanceTable = this.substanceSource;
storeData.VISTORE_V_EDIT_DISPLAYRow currentRow = (storeData.VISTORE_V_EDIT_DISPLAYRow)substanceTable.NewRow();
try
{
// start editing
currentRow.BeginEdit();
// shared code for insert and update, does not fire exception
// uses ExcractValues and gets the values from the template columns
persistChanges(editedItem, currentRow);
currentRow.EndEdit();
substanceTable.Rows.Add(currentRow);
this.substanceSource = (storeData.VISTORE_V_EDIT_DISPLAYDataTable)substanceTable;
rgdViStore.EditIndexes.Clear();
rgdViStore.Rebind();
}
catch (Exception ex)
{
currentRow.CancelEdit();
rgdViStore.EditIndexes.Clear();
rgdViStore.Rebind();
e.Canceled = true;
}
}
Hi,
Using the Day view of the RADScheduler I would liketo customize the in-line edit window. I would like to add the End-Time optionin the window itself without going to the ‘Option’ button. I would also like tocollect the appointment details from the server on the Appointment Insert Event.
Thanks
Sabrish
Hi,
Iam trying to create a custom pop-up window (Rad pop-up) for the scheduler. I amable to open my custom pop-up window from the client side using “OnClienAppointmentClick”and “OnClientTimeSlotClick”. I am also setting the properties for AllowInsertand AllowEdit as False done to avoid the default insert and edit pop-ups.
Iwould like to make this pop-window available from the server side instead ofthe client. I notice that the event onappointmentclickallows me to call the server for the pop-up window but this is available onlyif the AllowInsert and/or AllowEdit properties are set to True.
I would really like to have only my custom pop-up windowavailable from the serverside instead of the default one.
Thanks
Sabrish