I am developing a web application which will be added as a custom page in Tridion.
On the custom page I'd like to select a component of schema X. I want to use the ItemSelectControl for this purpose but I don't know how I can open that control from my custom page since I am not able to access any of Tridions javascript namespaces (e.g. $model or $const). I could simply open a new popup with the url to the ItemSelectControl and create my own filter in json but I'd rather use the constants defined in Tridions javascript namespace.
Is there a simple way to add references or something to my web application in order to access Tridions javascript namespaces? If not, do you have any suggestions how I should solve this?
More information on the custom page:
CMS server hostname: testcms
An empty ASP.NET project with one aspx page called Test.aspx published to path C:\TestPage\
In IIS, a web application called TestPage in the SDL Tridion site with path to C:\TestPage\
Trying to access the page in a broswer with url: http://testcms/TestPage/Test.aspx