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.
Two questions on the datepickercontrol
I have a control inside of a loginview so I need to use Findcontrol. What type of control do I cast the datepickercontrol to as a reference, as I can't find it in intellisense.
Also, my datepickercontrol, use in two different places in 2 different way is wrapping the '...' button. It always shows on a different line, so it look poor.
Any ideas?
I figured out how to reference the control using findcontrol. the control just requires a fully qualified reference
mojoPortal.Web.Controls.SiteLabel controlName= (mojoPortal.Web.Controls.SiteLabel)outerControl.FindControl("controlName");
Still wrapping, however.
Looks like you are getting a reference to a SiteLabel control not a mojoPortal.Web.Controls.DatePickerControl.
To prevent wrapping put it in a div with a css class that has white-space: nowrap;
Hope it helps,
Joe