or
GetCellByColumnUniqueName
But while running the program it throws incompatibility error. see the error pop up attached. Can you please tell why this error is comming up ? How to get it resolved.
int idx = RegionCombo.FindItemIndexByValue(Convert.ToString(query.Region));
RegionCombo.Items[idx].Selected =
true;
public ExchangeSchedulerProvider(string serverUrl, string username, string password, string domain, string calendarName) : this(){ ServerUrl = serverUrl; Username = username; Password = password; Domain = domain; CustomCalendarName = calendarName;}protected internal List<BaseFolderIdType> FindCalendarFolderByName(string folderName){ List<BaseFolderIdType> theReturn = new List<BaseFolderIdType>(); if (folderName == null || folderName == string.Empty) theReturn.Add(new DistinguishedFolderIdType() { Id = DistinguishedFolderIdNameType.calendar }); else { // LOOKUP THE FOLDER BY ITS FRIENDLY (DISPLAY) NAME FindFolderType findFolder = new FindFolderType(); findFolder.FolderShape = new FolderResponseShapeType() { BaseShape = DefaultShapeNamesType.IdOnly }; findFolder.Traversal = FolderQueryTraversalType.Deep; // Identify which folder to begin your search from. List<DistinguishedFolderIdType> folders = new List<DistinguishedFolderIdType>(); DistinguishedFolderIdType rootFolder = new DistinguishedFolderIdType() { Id = DistinguishedFolderIdNameType.root }; folders.Add(rootFolder); findFolder.ParentFolderIds = folders.ToArray(); // need display name property to compare against PathToUnindexedFieldType displayNamePath = new PathToUnindexedFieldType() { FieldURI = UnindexedFieldURIType.folderDisplayName }; findFolder.FolderShape.AdditionalProperties = new BasePathToElementType[] { displayNamePath }; // execute the request FindFolderResponseType response = Service.FindFolder(findFolder); // FILTER OUT THE ONE FOLDER WE'RE LOOKING FOR, AND GET ITS ID // Access the response message. ArrayOfResponseMessagesType responseMessages = response.ResponseMessages; List<string> CalendarFolderIDs = new List<string>(); foreach (ResponseMessageType responseMessage in responseMessages.Items) { if (responseMessage is FindFolderResponseMessageType) { FindFolderResponseMessageType ffrmt = (responseMessage as FindFolderResponseMessageType); FindFolderParentType ffpt = ffrmt.RootFolder; foreach (BaseFolderType item in ffpt.Folders) { if (item is CalendarFolderType) { CalendarFolderType calendarFolder = item as CalendarFolderType; if (calendarFolder != null) { if (calendarFolder.DisplayName.ToLower() == CustomCalendarName.ToLower()) { FolderIdType calID = calendarFolder.FolderId; theReturn.Add(calID); } } } } } } } return theReturn;}ExchangeSchedulerProvider provider = new ExchangeSchedulerProvider(serverPath, _CalendarProperties.userName, _CalendarProperties.userPass, _CalendarProperties.userDomain, "myCalendar");RadScheduler1.Provider = provider;