Infragistics Home

Infragistics Forums

Infragistics community online discussions.
Welcome to Infragistics Forums Sign in | FAQ
in Search

ultragrid

Last post 09-08-2008 1:48 by [Infragistics] Rumen Stankov. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 09-04-2008 11:13

    ultragrid

    you know how i change ultragrid mode from clickabe to not? that canbe made? making a gri enable = false?
    • Post Points: 20
  • 09-04-2008 11:16 In reply to

    Re: ultragrid

    What behavior are you trying to stop? If you don't want it to be editable, then don't turn on editing. If you don't want selection, then don't turn on selection. Could you please explain more on what you are trying to do?
    Darrell Kress
    Research and Development
    Infragistics

    Please remember that while Infragistics does monitor the forums, they remain a Peer to Peer support option. You can always contact Infragistics support directly via one of the options listed at http://www.infragistics.com/gethelp.


    Have a feature you would like to see? Or possibly a new component you would want in NetAdvantage? Submit a feature request to Infragistics through our Developer Support department.
    • Post Points: 20
  • 09-05-2008 21:12 In reply to

    Re: ultragrid

    for example.. in case of 2 buttons the first enable the second disable and when first has clicked became disable and the second enable and the inverse...  in grid case i control a button enable status by grid click... and i want do the inversa way,,, if i click a button the grid became disable.. in other way before i click on the button grid is clicable after click on button is no more... like button.enable = false...

     

    in grid exist a proprieti similar?? or someting like that?  tks

    • Post Points: 20
  • 09-06-2008 20:31 In reply to

    Re: ultragrid

     I don't think there's such a property.. If you want to emulate this behaviour you should have to set several properties like AllowEditing and even RowSelection.. I don't have infragistics installed in this machine so I cant tell you which ones and not even how many, but i'm pretty sure there's more than 5..

     

    Now, if what you want to do is to prevent user from any kind of interaction with the webgrid, what you can do is to place the webgrid inside of a WebGroupBox and disable this control on your button's click.. Disabling the WGB will also 'disable' the webgrid within.

    "Programming is an art form that fights back" _ Se habla español.
    • Post Points: 20
  • 09-08-2008 1:48 In reply to

    Re: ultragrid

    Hello,

    Very good suggestions in this thread - I just want to add that this is typically controlled by properties - they typically are located directly on the DisplayLayout collection and start width Allow...

    Example:

            <displaylayout bordercollapsedefault="Separate" name="UltraWebGrid1" 
                AllowDeleteDefault="Yes"
                AllowUpdateDefault="Yes"
                AllowAddNewDefault="Yes"

                rowheightdefault="20px" version="4.00">

    Setting the Allow... properties to No will disable them - grid will essentially be read only.

    Best Regards,
    Rumen Stankov (MCSD.NET)
    The Infragistics ASP.NET Team
    • Post Points: 5
Page 1 of 1 (5 items)
Powered by Community Server (Commercial Edition), by Telligent Systems