Do you have a web version of the Infragistics.Win.UltraWinGrid?
Or something similar? I need to replicate a windows forms function on the web.
Specifically I need to iterate through a datagrids rows collection and assign types to cells.
Simliar to
For Each r As Infragistics.Win.UltraWinGrid.UltraGridRow In ParameterGrid.Rows r.Cells("PromptText").Value = r.Cells("ParameterFieldName").Text 'Initialize the ValueList Dim idx As Integer = CInt(r.Cells("CurrentValues").Value) r.Cells("CurrentValues").Value = String.Empty i = CType(valuelistdata(idx), Object()) Dim pType As FieldValueType = CType([Enum].Parse(GetType(FieldValueType), r.Cells("ParameterType").Text), FieldValueType) Select Case pType Case FieldValueType.DateField r.Cells("CurrentValues").Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownCalendar r.Cells("CurrentValues").Value = DateTime.Now Case FieldValueType.DateTimeField r.Cells("CurrentValues").Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DateTime r.Cells("CurrentValues").Value = DateTime.Now Case FieldValueType.BooleanField r.Cells("CurrentValues").ValueList = m_vBoolean
HI Daryl,
I think we've discussed the similar requirement in another forum thread
http://forums.infragistics.com/forums/p/41328/230602.aspx#
Let me know if I can help you further.
yes, yes we have. In several threads actually.
I have given up on this approach, dynamic controls in webgrid.
I am now working on having the controls already in the template column and displaying the proper control based on a different field value.
Yes this is tricky way, I didn't think about it.
have a luck
Regards