[CLOSED] Using HTML elements

  1. #1

    [CLOSED] Using HTML elements

    Hi,

    We are going to update our project to Ext 2.x using Razor.

    Also, we want to use only EXT "controls" components (Button, Combobox, Gridpanel) but with making the page layout with HTML (using "div", "fieldset", "table/tr/td" instead of Html.X().Panel(), Html.X().FieldSet()).

    Is there some known problem or bug?


    I also would to like if there is a document or site when shows what is the generated html for the controls something like:

    • Html.X().Panel() renders 'div'
    • Html.X().FieldSet() renders 'fieldset'




    Thank you
    Last edited by Daniil; Jan 11, 2013 at 11:52 AM. Reason: [CLOSED]
  2. #2
    Hi @mcfromero,

    Could you clarify why do you want to use a <div> instead of a Panel, etc.?

    Quote Originally Posted by mcfromero View Post
    Is there some known problem or bug?
    Well, I don't know any. But Ext.NET/ExtJS layout supports only Ext.NET/ExtJS widgets. So, layouting will be totally on your responsibility.

    Quote Originally Posted by mcfromero View Post
    I also would to like if there is a document or site when shows what is the generated html for the controls something like:

    • Html.X().Panel() renders 'div'
    • Html.X().FieldSet() renders 'fieldset'

    Unfortunately, there is no such a document. At least, I have not seen anything similar.

    To know it you can inspect HTML elements rendered by Ext.NETcontrols using Developer Tools or FireBug.
  3. #3
    Hi

    Could you clarify why do you want to use a <div> instead of a Panel, etc.?
    We were just thinking about that hoping to have more control of the html. But we realized that will be better using all Ext Components

    Thank you
  4. #4
    That is a good decision.

    But this doesn't mean that you can't use HTML elements:)

Similar Threads

  1. [CLOSED] How to select all elements in a gridvew
    By egvt in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Sep 23, 2013, 2:24 PM
  2. [CLOSED] Adding HTML elements to container items
    By jchau in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 19, 2012, 4:02 PM
  3. Remove elements from PagingToolbar
    By adipoaca in forum 1.x Help
    Replies: 1
    Last Post: Nov 17, 2011, 8:38 AM
  4. Viewport and inner elements
    By unaltro2 in forum 1.x Help
    Replies: 0
    Last Post: Feb 01, 2011, 8:11 AM
  5. Get id of elements into page.ascx
    By flaviodamaia in forum 1.x Help
    Replies: 3
    Last Post: Jan 23, 2009, 7:26 AM

Posting Permissions