Skip to content

Replies

0
Kristy
Kristy answered on Mar 26, 2010 5:34 PM

Thanks for your reply. I have received help from one of their developers. The answer is pretty simple, set  webdatagrid property "EnableDataViewState" to true since I only bind my datasource once.

Thanks you very much for your reply!

0
Kristy
Kristy answered on Mar 26, 2010 3:54 PM

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)