i have page file ultrawebgrid has image on cell. source of image located on folder still part of solution. however, when have set location , execute program, displays error image (x). have checked , validated image still on specific folder. have tried adding '~/' on start of source thinking fix issue. , when tried accessing other files, same error occurs. happens on specific web page. other pages seems working fine. here how attach image cell in grid:
e.row.cells.fromkey("datacollectionname").value = "tester summary " + "<img alt='' id='btnview' runat='server' src='scripts/css/images/view-icone-6308-32.png' style='cursor: hand' onclick='openwindow(\"" + searchfilter.lottosearch + "\",\"" + e.row.cells.fromkey("fromspecid").value + "\",\"" + e.row.cells.fromkey("fromspecname").value + "\",\"" + e.row.cells.fromkey("wiptrackinggroupkeyid").value + "\");'></button>";
thanks helping again guys.
Comments
Post a Comment