Hi
I am using Infragistics version 8.2 , My Problem is when page is loading i am not able to Bind data in to ultraweb grid i had given two events like
Ultrawebgrid_init anf Ultrawedgrid_initializedatasource
protected void UltraWebGrid1_Init(object sender, EventArgs e) { UltraWebGrid1.InitializeDataSource += new Infragistics.WebUI.UltraWebGrid.InitializeDataSourceEventHandler(UltraWebGrid1_InitializeDataSource); } protected void UltraWebGrid1_InitializeDataSource(object sender, Infragistics.WebUI.UltraWebGrid.UltraGridEventArgs e) { BindDataNew();// This is my binding function }
I am calling above BindDataNew(); Under button click also so the problem is i am not able to binding the grid when page is loading but when i am clicking the button the grid is loading with data
Based on the grid data i am doing other calculation these values are coming properly when page load also and i had seen my dataset in debugging mode the dataset is showing values but grid is coming with meassage like "No Data Display" but when i am clicking the button the grid is loading properly
Please help me....
Thanks
Sivaprasad
Are you sure that your InitializeDataSource event handler is being hit? Setting a breakpoint could confirm that.
Knowing what you have in the BindDataNew() method might also be helpful. What you do there may have an impact on the results.
hi
Currently my problem is when i click Generate button to load data i am calling Getdata (). in this method we are constructing new logical datatables and combining these based on relations
In My dataset i had three tables
dsVal.Relations.Add("lead", dsVal.Tables["BrokerCommission"].Columns["brokeragentid"], dsVal.Tables["Leads"].Columns["agentid"]);
{
UltraWebGrid1.DataBind();
}
else
My grid containing three bands when i clicking the button firstname Grid is not loading , but rows count i am showing in one label (this value is coming properly but in grid it is showing No Data To Display. but when i am clicking second time the grid is loading and the rows count is same, only the first time binding is not showing,
Bsed on user selection i am querying to database and getting data and constructiong tables, so when the user selected different one and clicking the button the grid is showing with data, Only First time it is not showing.
Please Help me...