I've got a grid with two columns. ColumnA is regular text, ColumnB is a dropdownlist. I want to bind the values in ColumnB's valuelist based on the value in ColumnA, on a row-by-row basis. I got it working by callingback and rebinding the valuelist on a ActiveRowChange, but that screws up focus, and isn't very "smooth" either. Is there another way, preferably one that doesn't require a postback/callback?
I think it might be easier to filter the valuelist, but the total (non-filtered) list is big (3000+ rows), and my grid would balloon if I put that many rows into the dropdown for every row.
Can anyone point me in the right direction?
Thanks!
My dropdown does have the AllowUpdate set to yes and CellClickAction set to edit, but when I enter the cell/drop-down, the existing value disappears. That's not desired behavior. Perhaps I'm missing another setting???? What could it be?
dam1015 said: Has anyone come across a solution to this problem? -------------------------- I finally found the solution http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/WebGrid_Place_a_Cell_into_Edit_Mode_on_Cell_Click.html You need to place cell into edit mode as described above. In simple terms, add the following: In Visual Basic:Imports Infragistics.WebUI.UltraWebGrid ...IN THE ON_LOAD section Me.UltraWebGrid1.DisplayLayout.AllowUpdateDefault = AllowUpdate.Yes Me.UltraWebGrid1.DisplayLayout.CellClickActionDefault = CellClickAction.Edit In C#:using Infragistics.WebUI.UltraWebGrid; ... this.UltraWebGrid1.DisplayLayout.AllowUpdateDefault = AllowUpdate.Yes; this.UltraWebGrid1.DisplayLayout.CellClickActionDefault = CellClickAction.Edit; geek, i am also using dropdown in my grid first column and i am able to bind the columns. but dropdown is displaying only after double clicking on the first column cells... is there any way to display the dropdown bydefault without double click so that user can know that there is dropdown? [/quote]
--------------------------
I finally found the solution
http://help.infragistics.com/Help/NetAdvantage/NET/2007.3/CLR2.0/html/WebGrid_Place_a_Cell_into_Edit_Mode_on_Cell_Click.html
You need to place cell into edit mode as described above. In simple terms, add the following:
In Visual Basic:
Imports Infragistics.WebUI.UltraWebGrid ...
Imports
IN THE ON_LOAD section
Me.UltraWebGrid1.DisplayLayout.AllowUpdateDefault = AllowUpdate.Yes Me.UltraWebGrid1.DisplayLayout.CellClickActionDefault = CellClickAction.Edit
Me
In C#:
using Infragistics.WebUI.UltraWebGrid; ... this.UltraWebGrid1.DisplayLayout.AllowUpdateDefault = AllowUpdate.Yes; this.UltraWebGrid1.DisplayLayout.CellClickActionDefault = CellClickAction.Edit;
using
this
geek, i am also using dropdown in my grid first column and i am able to bind the columns. but dropdown is displaying only after double clicking on the first column cells... is there any way to display the dropdown bydefault without double click so that user can know that there is dropdown?
geek,
i am also using dropdown in my grid first column and i am able to bind the columns. but dropdown is displaying only after double clicking on the first column cells... is there any way to display the dropdown bydefault without double click so that user can know that there is dropdown?
I have this exact same problem. I have to double-click OR hit <enter> on the column in order for the dropdown to display.
dam1015 said: geek, i am also using dropdown in my grid first column and i am able to bind the columns. but dropdown is displaying only after double clicking on the first column cells... is there any way to display the dropdown bydefault without double click so that user can know that there is dropdown? I have this exact same problem. I have to double-click OR hit <enter> on the column in order for the dropdown to display.[/quote]
Can you please give the source code of the above example? we are exactly in the same scenario and I am strugging hard to figure it out since last few days.
Thanks
surendranest said: geek, i am also using dropdown in my grid first column and i am able to bind the columns. but dropdown is displaying only after double clicking on the first column cells... is there any way to display the dropdown bydefault without double click so that user can know that there is dropdown?