Hello,
I have one issue in ultrawebgrid describe below.
In ultrawebgrid i have two Columns in ultrawebgrid.
Column 1 Type = Dropdownlist
Column 2 Type = Dropdownlist
I need to compare Column 1 value and Column 2 Value in ultrawebgrid.
is there possible to use asp:Compare field validator in ultrawebgird?
if Yes then pls tell me how it is possible?
if Not then please provide any other solution through Javascript.
Thanks in Advance,
Sonu.
I love it when your old posts and links no longer work..
Hey Infragistics... try to leave the links working will ya?
There is no easy way to do it with built-in functionality of the UltraWebGrid control per se. Most probably you will need to implement a custom validator (documented in MSDN here)
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.customvalidator.aspx
and then use the client-side object model of the grid (CSOM) to get the values of both cells and compare them using the cell .getValue method documented here:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/WebGrid_cell_Object_CSOM.html