e.Item.OwnerTableView.ParentItem.GetDataKeyValue(
"EnquiryNo"
);
SchedulerFormContainer container = (SchedulerFormContainer)BindingContainer;
Appointment Apt1 = new Appointment();
Apt1.Start = Start;
Apt1.End = End;
container.Appointment = Apt1;
container.DataBind();
However this does not reset the values in posted controls.
ii) SAVE and ADD:
This is something for which i was trying the script in step1, but didnt quite make it work. i successfully saved the data and closed advanced form using this button. I can even write teh code to understand the control causing postback however dont understand where and how do i need to put the script to open window for creating new appointment so that i can use ShowAdvancedInsertForm() method. Tried everything for this. Same works if i put the button and call it on button click. Please suggest what to do in this case.
iii) CLEAR button:
Similar to UNDO button in thsi also i need to clear the values and use teh same thing as mentioned above, but the problem with posted controls still exist.
Please try and help me on these items as soon as possible as these are being show stoppers in our upload lined up in coming 2 days.
Many thanks in advance.
Waiting for your response.
Regards,
Sachin
<script type="text/javascript"> |
var imageManagerCommand = RadEditorCommandList["ImageManager"]; |
RadEditorCommandList["ImageManager"] = function(commandName, editor, oTool) |
{ |
imageManagerCommand (commandName, editor, callBackFn); |
function callBackFn(result) |
{ |
if (result && result.imagePath) |
{ |
}; |
} |
} |
</script> |