Sending parameter from control view to control designer
I have created a control view and control deisgner view.
My question is how can I send a parameter from control view to the designer view (I'm interested in sending the page id and the place holder Id - I need the place holder id in the case I'm using the control view multiple times on the same page - I need to see what data to save in database)
Thank you!
Hi FlR,
You can get the PageID from the query string when you edit a page.You need to expose a public property of your control where you set the PageID value and then you can access this property on the client component by using
var data = this.get_controlData();
var idprp = data.PageID;
Best wishes,
Ivan Dimitrov
the Telerik team
Hi Ivan,
Thank you!
It works now.