The GridView throws a general GDI+ exception when a string of length 2^16 or greater is bound to the row.
Here is an example:
~DuckLeg
|
|
/|\
Here is an example:
| using System.Text; | |
| using System.Windows.Forms; | |
| namespace TelerikGrid | |
| { | |
| public partial class Form1 : Form | |
| { | |
| public Form1() | |
| { | |
| InitializeComponent(); | |
| StringBuilder text = new StringBuilder(65536); | |
| for (int i = 0; i < 65536; ++i) text.Append('B'); | |
| GridText gridText = new GridText(); | |
| gridText.Text = text.ToString(); | |
| radGridView1.DataSource = new GridText[] {gridText}; | |
| } | |
| } | |
| public class GridText | |
| { | |
| private string _text = string.Empty; | |
| public string Text | |
| { | |
| get { return _text; } | |
| set { _text = value; } | |
| } | |
| } | |
| } |
~DuckLeg
|
|
/|\