Hi All,
i have encounter problem, My Scenario is like this, I have used Custom Appointment Dialog, on Which I am Passing Appointment Guid through DataKey Property. So Suppose i create a Recurring Appointment, now i have created an Occurance from an Appointment. Now when i an editing an Occurance , i am not able to get the datakey value of this occurance. Because Datakey is in Non Public member, though i can get the .datakey value from the Immediate window. and when i do innitialappointment.DataKey it returns ROOT APPOINTMENT GUID not Occurance Guid, but in my case i want to read the value innitialappointment.dataKey, here i can see DataKey is in Public member and dataKey is in Non Public Member. Can anyone help me to Get that .datakey Value.
DataKey showing ROOT APPOINTMET GUID while Opening OCCURANCE
Non Public dataKey, which i am trying to read
Getting dataKey Value in Immediate Window but Not able to get this Property in the CODE
How can i read this .dataKey Value.
Thanks
Hello neusanjeev,
neusanjeev said: Now when I open the OCCURANCE , its isVariance Property is TRUE but i can See DataKeyMember value is Still ROOT APPOINTMENT StaffingActionGuid
Now when I open the OCCURANCE , its isVariance Property is TRUE but i can See DataKeyMember value is Still ROOT APPOINTMENT StaffingActionGuid
That`s correct. This is by design.
neusanjeev said: i need a StaffingAction for Occurance, which is under NON PUBLIC Member dataKey Value. I am simply trying to Read Occurance Non Public Member dataKey Value
i need a StaffingAction for Occurance, which is under NON PUBLIC Member dataKey Value. I am simply trying to Read Occurance Non Public Member dataKey Value
If I understad well your scenario, if you are looking for DataKey property under Occurance, I think that there are no such property. Also please note that you apply DataKey only for your root appoitment, so all other recurring appointments will have empty DataKey value.
If you want to keep some specific data, maybe you could inherite our controls and extend it with additional properties for your purpose.
Let me know if you have any questions.
Regards
Hi Georgi,
Thanks for the Reply, well my Project is quite big, i couldnt Upload here. Well my Scenario is like this. I have Used DATAKEY member to save my Appointment GUID,
the Problem is, I have created a RECURRING APPOINTMENT and Save Appointment GUID in Datakey member.
now i Created a Occurance From that Recurring Appointment.
Now when I open the OCCURANCE , its isVariance Property is TRUE but i can See DataKeyMember value is Still ROOT APPOINTMENT StaffingActionGuid, but i need a StaffingAction for Occurance, which is under NON PUBLIC Member dataKey Value. I am simply trying to Read Occurance Non Public Member dataKey Value.
You can see in the Attached File as well
I`m not sure that I understand your scenario and issue. Could you please upload your sample (insted of snippet code) and explain more deeply what is your final goal.
Thanks and Regards
Immediate Window Showing datakey value but not able to get this value from Code.
Public DataKey Member Value, which is a root appointment GUID not Occurance Guid, Occurance GUID is on Non Public Member on dataKey