YUI Layout in ascx files

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.
7/31/2009 6:15:57 AM
Gravatar
Total Posts 10

YUI Layout in ascx files

I am moving a web site into mojoportal. I am trying to take a shortcut to get those old forms and pages converted and just creating ascx pages with the old html and pulling the code in from the old project.  I have made a few of my data driven pages work this way.  The problem I am having is trying to use the layout from those pages which uses yui grids css.

Here is an example of what I am trying to convert:

<div class="yui-g ">
      <div class="yui-u first">

             Content
       </div>
       <div class="yui-u">
             Content

       </div>
 </div>

Any suggestions on how to get the yui grids working inside a user control?  It would save me an enormous amount of time in converting my old site to use mojoportal.

7/31/2009 6:25:15 AM
Gravatar
Total Posts 18439

Re: YUI Layout in ascx files

Are you including the YUI css in the page somehow like in the layout.master?

7/31/2009 7:35:21 AM
Gravatar
Total Posts 10

Re: YUI Layout in ascx files

I have tried to add a link to the ascx file but not the layout.master file.

I am not sure where I got the impression that you already had it as part of the base css so I did not want to mess with it in the skin.  I will try and add it to the layout.master and see how that goes.

Thanks

 

 

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