Mattersphere Developers Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Using Control developed in Visual Studio Empty Using Control developed in Visual Studio

Thu 23 Jan 2020 - 8:49
have a control that I have added to Matter Center and have sucessfully added it to a Form. The problem I am having is that the control has some properties that are listed on the advanced Tab in the designer, but I need to pass data via scriptiing. How do I access these Advanced properties for the control in script. I have tried Enquiryform.GetControl and EnquiryForm.GetIBasicEnquiryControl2 but cannot see how to access the (DailyView) properties. I have attached a screenshot. in the screenshot I would like to pass the control the StartDate value when the form opens. Any guidance would be appreciated.
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Using Control developed in Visual Studio Empty Response from TR

Thu 23 Jan 2020 - 8:49
You should be able to do the following DailyView dv = EnquiryForm.GetControl(“DailyView”) as DailyView; Then you can access any properies on dv that are exposed.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum