How to find a control inside a cell in the calendar?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/6/2014 4:21:11 AM
Gravatar
Total Posts 17

How to find a control inside a cell in the calendar?

Hi,

I have a problem with finding a control inside a cell in the calendar event

I would like to be able to manage the visibility of the link edit user. I can not find the event with which to access the controls of the cell.

I tried with ondayrender but I do not see the controls eg. a hyperlink

Do you have any suggestions?

Thanks

 

 

8/6/2014 8:14:52 AM
Gravatar
Total Posts 18444

Re: How to find a control inside a cell in the calendar?

There is not a good way for you to get into the code without forking it which is not recommended.

Edit link visibility in all mojoportal features is based on role membership in the allowed edit roles of the page or of the feature instance, ie permissions in page settings and feature settings. If a user is not in an allowed edit role the edit links are not shown.

8/6/2014 3:30:07 PM
Gravatar
Total Posts 17

Re: How to find a control inside a cell in the calendar?

Is not a fork. Is a new project based on calendar event, but in this project I need to allow changes only at the owner of the event. This feature is not possible using role in mojoportal.

8/7/2014 4:49:04 AM
Gravatar
Total Posts 17

Re: How to find a control inside a cell in the calendar?[Solved]

Solved
I can find the controls with DayRender into e.Cell.Controls.
With this way I can decide if a user is able to edit a  event.

(Sorry for my bad english :) )

You must sign in to post in the forums. This thread is closed to new posts.