Hi,
Could please provide any support to create the dynamic grid and binding the dynamic gauge control (half circle) in asp.net
Regards
Anurag Sharma
Hello Anurag,
I am just following up to see if you need any further assistance with this matter.
Feel free to update me if you have any further questions with this matter.
Review the links below that will give you more details on creating WebGuage control at run time:
<http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=WebGauge_Web_Creating_a_Radial_WebGauge_Using_Code.html>
<http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_WebGauge.html>
The below code dynamically adds grid with data. I have added the below code in Page_Init event:
WebDataGrid wd = new WebDataGrid();wd.Width = Unit.Pixel(250);wd.Height = Unit.Pixel(300);wd.StyleSetName = "Default";//DataDataTable dt=new DataTable("DummyData");dt.Columns.Add("Id", typeof(String));dt.Columns.Add("NumCol", typeof(float));for (int i = 1; i <= 10; i++){dt.Rows.Add(new object[]{"ID"+i.ToString(),i*0.1});}wd.DataSource = dt;//BehaviorSelection gridSelection = wd.Behaviors.CreateBehavior<Selection>();gridSelection.CellClickAction = CellClickAction.Row;gridSelection.RowSelectType = SelectType.Multiple;this.form1.Controls.Add(wd);
Additionally, review the links below that will give more details on WebDataGrid:
<http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_WebDataGrid_WebDataGrid.html>
I hope this helps.