I am upgrading a application to use Ultrawebgrids instead of microsoft webgrid. I have a column being displayed, the text of column really isn't realevent but in the microsoft web grid I made the column a hyperlink field. The field used the values in three different colums of the row of the grid to build the url and parameters. How do I accomplish this in Ultraweb grid?
In the old grid I would edit colmns.
Select the Hyperlink Field. Set the Navigate Url Property to the page I want to navigate to when Clicked. testing.aspxSet DataNavigateUrlFields to the field names I want to use to build the URL. ReportCardDate,VendNbr,ReportCardType,CategorySet DataNavigateURLFormatString to testing.aspx?ReportCardDate={0:MM/dd/yyyy}&VendNbr={1}&ReportCardType={2}&Category={3}Set DataTextField to ReportCardDateSet DataTextFormatString to {0:MM/dd/yyyy}
I have the ultragrid filing with data. I just need to build the url on the first column which is currently just displaying the date.
Any help is appreciated. Oh- I'm using VB if that matters.
Thanks
Ryan
Hey Ryan,
Check out this API documentation. This shows you how you can use the Cell object's TargetURL property to accomplish what you are looking for:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.3/CLR3.5/html/Infragistics35.WebUI.UltraWebGrid.v8.3~Infragistics.WebUI.UltraWebGrid.UltraGridCell~TargetURL.html