Infragistics Home

Infragistics Forums

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

Accessing CheckBox in webgrid

Last post 05-16-2008 13:09 by WombatEd. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 05-16-2008 3:32

    Accessing CheckBox in webgrid

    Hi,

     I have a template filed containg checkbox in it. how i can access that checkbox value from code.

    As I have tried with

    ((CheckBox)(UltraWebGrid1.RowsIdea.Cells.FromKey("CheckBox1"))).Checked;

    But it is not working...gives error "Cannot convert type 'Infragistics.WebUI.UltraWebGrid.UltraGridCell' to 'System.Web.UI.WebControls.CheckBox'"

    how i can I do this?

    Thanks.

    Filed under: ,
    • Post Points: 35
  • 05-16-2008 7:49 In reply to

    • edely
    • Top 100 Contributor
    • Joined on 12-14-2007
    • Belgium
    • Points 405

    Re: Accessing CheckBox in webgrid

    i don't know if this is gone work, but try using .Value instead of .Checked

    Elke
    • Post Points: 5
  • 05-16-2008 13:09 In reply to

    • WombatEd
    • Top 10 Contributor
    • Joined on 10-30-2007
    • Culver City, CA
    • Points 5,395

    Re: Accessing CheckBox in webgrid

    In a template column, it wouldn't be the cell that would be checked, it would be the CheckBox control you put in the template.

    HTH

    Let me know if my post is a "hit" or a "miss" - use the "Answer" button and the star ratings.

    Edward McCarroll
    Applications Developer
    (Available for Hire - Contact Me)

    • Post Points: 5
Page 1 of 1 (3 items)
Powered by Community Server (Commercial Edition), by Telligent Systems