Hi Syncfusion Team
Hi Syncfusion Team
We have migrated our project to .Net 4.0 and Syncfusion 10.1.0.44.
After migration we have been facing issue while filtering the GridDataBoundGrid record set.In our code we use GridFilterBar.
COde doing this:
private void m_checkFilter_Click(object sender, EventArgs e)
{
bool m_isFilterWired = m_gridReportList.IsFilterBarWired;
MessageBox.Show(m_isFilterWired.ToString());
if (m_checkFilter.Checked && !m_filterBar.Wired)
m_filterBar.WireGrid(m_gridReportList);
if (!m_checkFilter.Checked && m_filterBar.Wired)
m_filterBar.UnwireGrid();
}
Issue:
If you run a report the data is displayed on the grid and click on Check Box (m_checkFilter). Then select a ClientId (for example ClientId = 100), the grid will display all the record with ClientId = 100 and if you then try to select another ClientId ,you have to select "none" before you can access the other ClientIds.
Please help me on this issue , as we are in UAT and need to move to production.
Regards
Arnab Ghosh
Hi Ragamatullah
Thanks for looking into this.
Yes , I am still facing the same issue.
This is the dummy code smaple I have used to replicate the issue :
using
System;using
System.Collections.Generic;using
System.ComponentModel;using
System.Data;using
System.Drawing;using
System.Linq;using
System.Text;using
System.Windows.Forms;using
System.Data.SqlClient;namespace
WindowsFormsApplication2{
public partial class Grid : Form{
public Grid(){
InitializeComponent();
}
private void m_showData_Click(object sender, EventArgs e){
DataSet ds = new DataSet(); SqlConnection conn = new SqlConnection("server=LDNEQTSDPS605dv,2431;database=CPS_Core;Trusted_Connection=Yes"); SqlDataAdapter da = new SqlDataAdapter("exec StoredProcedureName", conn);conn.Open();
da.Fill(ds);
// gridGroupingControl1.DataSource = dtSet.Tables[0];
this.m_gridReportList.DataSource = ds.Tables[0]; //return ds;}
private void m_checkFilter_Click(object sender, EventArgs e){
bool m_isFilterWired = m_gridReportList.IsFilterBarWired; MessageBox.Show(m_isFilterWired.ToString()); if (m_checkFilter.Checked && !m_filterBar.Wired)m_filterBar.WireGrid(m_gridReportList);
if (!m_checkFilter.Checked && m_filterBar.Wired)m_filterBar.UnwireGrid();
}
}
}
Also attached the code sample.
Please Let me know if anymore information required from my end.
Regards
Arnab
Hi Ragamatullah
Did you get a chance to look into this..I need this urgently..
Kindly look into this..
Regards
Arnab Ghosh