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
Immediate Window Showing datakey value but not able to get this value from Code.
Hello neusanjeev,
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
Hi Georgi ,
I have used Datakey to track the AppointmetGUID, so when i Open the Occurance, it always display the ROOTAPPOINTMENT AppointmentGUID. like i shown in my earlier Post, i am Able to Read the DataKey from ImmediateWindow, which is the OCCURANCE APPOINTMENT GUID which i was lookinf for, but due to non public member i am not able to get that Value, is it possible to read that non public Member. So that ,it will solve my problem. Hope you understand my problem. In conclusion i am simply trying to read the non public members dataKey value for occurance , whose APPOINTMENT guid is save on that.
neusanjeev said: is it possible to read that non public Member
is it possible to read that non public Member
No, It is not possible. You could inherite our controls and extend it with additional public property.
Let me know if you have any further questions.
Regards
Do you have any Sample code to extract that Value.
Hello Sanjeev,
neusanjeev said: Do you have any Sample code to extract that Value
Do you have any Sample code to extract that Value
No. This is your custom approach and we have not such samples which inerite our controls and extend existing functionality.