Suggestions

  1. #1

    Suggestions

    I've only recently discovered Coolite, so please bear with me.

    First off I'd like to say it looks really cool. Great work.

    Couple of things I'm puzzled about though.

    1. In the tab panel, how come the contents of a tab can't be between the tab tags? Using an html attibute seems a bit odd.

    2. Why are all the Ext resources bundled into the dll? Wouldn't it be better if they existed as discrete files in the project - that way you could easily edit/swap out images and styles. This is particularly a problem given that you don't currently provide the source code (isn't that breaking the terms of the GPL btw?)

  2. #2

    RE: Suggestions

    Hi john_vaudin,

    1. The Content container controls (Panel, TabPanel/Tab, Window) all follow the same pattern of adding content to either the .Html property or <Content> section.

    Example

    <ext:Window runat="server">
        <Content>test</Content>
    </ext:Window>
    
    
    <ext: Panel runat="server">
        <Content>test</Content>
    </ext: Panel>
    
    
    <ext:TabPanel runat="server" ActiveTab="0">
        <Tabs>
            <ext:Tab runat="server" Title="Tab 1">
                <Content>test</Content>
            </ext:Tab>
        </Tabs>
    </ext:TabPanel>
    Text/html/content can be added to either the <Content> section or .Html property. If both the <Content> node and .Html property have been set, the .Html property will take precedence and any content in <Content> will not be rendered.

    2. Currently (v0.4.x) all the resouce files are installed to your system when you run the .exe installer setup.

    Start Menu > All Programs > Coolite > Coolite.Web.UI - Version 0.4 > Shortcut to Coolite Folder

    You are free to drag/drop that folder into into your project. By setting the "RenderScripts" and "RenderStyles" property to "None", the ScriptManager will not render any <script> or <link> blocks on your page. That gives you the flexibility to include the files as required.

    You could also set the "RenderScripts" and "RenderStyles" properties to "File" which instructs the ScriptManager to render the <script> and <link> blocks, but pathing is based on a file path within the project, and not embedded resources.

    The "ResourcePath" property is used to determine the path to the /Coolite/ folder, as mentioned above. The default value for "ResourcePath" is "~/Coolite/", which instructs the ScriptManager to look in the project root for the /Coolite/ folder.

    Hope this helps.

    btw, the version you are currently using is not GPL. The version 0.5 release will be available as GPL.

    Geoffrey McGill
    Founder
  3. #3

    RE: Suggestions

    Thanks for that - it all starts to make sense! Sorry for the newby questions.

Similar Threads

  1. Replies: 22
    Last Post: Jan 24, 2012, 7:27 AM
  2. Will there be any suggestions on ASP.NET MVC?
    By cleve in forum Open Discussions
    Replies: 1
    Last Post: Aug 24, 2009, 5:22 AM

Posting Permissions