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.
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.
I need to use the control ImageCropper.
I put the control in the aspx page in this way:
<portal:ImageCropper ID="imgCoverCropper" runat="server" />
but in the c# code are not present the properties like ResultImagePath
What I wrong?
P.S. designer.cs file this control is seen as x
protected global::System.Web.UI.UserControl imgCoverCropper;
instead of as
protected global::mojoPortal.Web.UI.ImageCropper imgCoverCropper;
Nobody can help me?
because the control is not correctly identified as mojoPortal.Web.UI.ImageCropper?
I suggest study how that control is used in places where is it already used and working.
If using it in your own project it may be seen by your project as only UserControl, you must cast it to ImageCropper in code in that case.
I saw how the control is used in AvatarUploadDialog.
I try to replicate everything, but it does not work.
In the html code when I try to set the property (eg. ResultImagePath) these are presented to me while in the codebehind file does not.
I have not figured out how to cast instead in the code as suggested.
ImageCropper cropper = (ImageCropper)imgCoverCropper;
cropper.ResultImagePath = ...
I did not understand what you mean (my english is not the best).
In any case, it all seems ok.
Then a well-deserved beer for you incoming!!!. :)
Thanks for the beer!