My company just brought Infragistics product a few months ago. I encounted the same issue as other people have. I have a webdatagrid and enabled rowselect ='multiple'. However, when I check which rows are selected, the null value is returned from selectedRow. I use dataset as my webdatagrid datasource. What can I do to get the value? I am able to get correct rowselection count.
protected void WebImageButtonAdd_Click(object sender, Infragistics.WebUI.WebDataInput.ButtonEventArgs e) {
string temp = string
.Empty;
if
(CheckBoxCustomer.Checked)
{
InsertNews(Server.HtmlEncode(TextEditorTitle.Text), Server.HtmlEncode(TextEditorDescription.Text),
true, true, WindowsIdentity.GetCurrent().Name, DateTime.Now, WindowsIdentity.GetCurrent().Name, DateTime
.Now);
}
else
{
if
(WebDataGridCustomers.Behaviors.Selection.SelectedRows.Count>0)
{
foreach (GridRecord selectedRow in
WebDataGridCustomers.Behaviors.Selection.SelectedRows)