Results 1 to 6 of 6

Thread: Where can I find Flat .Net Web controls

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Feb 2003
    Posts
    110

    Where can I find Flat .Net Web controls

    Where can I find Flat .Net Web controls
    I m especially looking for Flat Listbox, DropDownList

    Lumisoft that i found seems for Windows Forms only.
    I m looking for Web Forms.

    Plz suggest
    Anis Bombaywala

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Hmm... we have developed flat controls, specifically a flat dropdown, and a flat drop down tree for our current web application.

    The only caveat being they use a property called TableName...

    TableName is the table the controls execute a select query on.

    So if you have a table in the database for states called '_States' for example, you would set the TableName to '_States', and the controls automatically execute a select query on them.

    However, the TableName property also supports just about any SQL statement, if you prefix with 'SQL:' , for example, to find all books of a certain publisher with id 103, you would use:
    'SQL: Exec GetPublisherBooks 103' in the tablename property.

    The controls also support type-ahead auto completion, an isreadonly property, and a IsNullable property (if the user can submit a form without selecting a choice).

    Anyway, if you're interested send a reply back.. I will ask the pm if you can obtain a copy of the compiled control library... otherwise, these controls are simply the result of dhtml behavior (and man they work slick) .

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Feb 2003
    Posts
    110

    yes nemaroller plz send me a copy

    yes nemaroller plz send me a copy

    thanks in advance
    Anis Bombaywala

  4. #4
    Frenzied Member DevGrp's Avatar
    Join Date
    Nov 2001
    Location
    Charlotte, NC
    Posts
    1,256
    Cant you just use CSS?

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Feb 2003
    Posts
    110

    but is flatenning a DropDown possible thru CSS

    textbox, textarea and button are done
    with

    border: 1px solid RGB(58,110,165)

    but dropdownlist and listbox donot work with the same style.

    if its possible thru CSS then it would be best solution

    pls suggest if any
    Anis Bombaywala

  6. #6
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    The controls I mentioned don't use Select tags in the html. They are composite controls, the first part a textbox, the second part a table inside a 'OVERFLOW-Y:auto' styled div. The table and the textbox are styled using CSS.

    When the user puts focus onto the texbox, I show the table.

    Each item in the dropdown is really a table cell with in row, that has a title property, a tag property:
    Code:
     <td class="CESIDropDownItem" id="CESIDropDown1_Item103" title="Chicago" tag="102" 
    onClick="DropDownGo(103, 'CESIDropDown1')" >Chicago</td>
    When clicked, it calls the jscript function DropDownGo, passing the pk_Item (103), and the parent control.

    DropDownGo, sticks 103 inside a hidden html input field, and then grabs the title property and sticks that inside the visible textbox.

    Of course, the generation of the tags are all handled in the PreRender of the control itself.

    (btw, still haven't obtained permission, sry)
    Last edited by nemaroller; Mar 22nd, 2004 at 06:58 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width