Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Documentation > GridView Code Example Error

Answered GridView Code Example Error

Feed from this thread
  • Don avatar

    Posted on Oct 12, 2011 (permalink)

    The code sample for an Unbound grid in the Creating Rows Programmatically section is the same as the code in the Creating An Empty Grid section, as can be seen here.

    Reply

  • Answer Stefan Stefan admin's avatar

    Posted on Oct 14, 2011 (permalink)

    Hi Don,

    Thank you for noticing this. I will take the appropriate actions in order to resolve this in our next upload. If you are interested, the code that is omitted is the following:
    this.radGridView1.Columns.Add(new GridViewTextBoxColumn("A"));
    this.radGridView1.Columns.Add(new GridViewTextBoxColumn("B"));
    GridViewRowInfo rowInfo = this.radGridView1.Rows.AddNew();
    rowInfo.Cells[0].Value = "A1";
    rowInfo.Cells[1].Value = "B1";
    rowInfo = this.radGridView1.Rows.AddNew();
    rowInfo.Cells["A"].Value = "A2";
    rowInfo.Cells["B"].Value = "B2";

    I have updated your Telerik Points for this report.

    If you have any other questions or suggestions, do not hesitate to contact us.
     
    Greetings,
    Stefan
    the Telerik team

    Q2’11 SP1 of RadControls for WinForms is available for download (see what's new); also available is the Q3'11 Roadmap for Telerik Windows Forms controls.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Documentation > GridView Code Example Error
Related resources for "GridView Code Example Error"

Features  |  Demos  |  Documentation  |  Telerik TV  |  Knowledge Base  |  Code Library  |  Step-by-step Tutorial  |  Blogs  |  Self-Paced Trainer  ]