I have a Webgrid and 2 ASP.NET text boxes on a web page. Please note that the text boxes are located outside the webgrid.The webgrid is to display and edit employee information. One of the column in the webgrid is Salary.
When user tabs out of any of the textbox I have to calculate the total of grid's Salary column and add the contents of the 2 text boxes using client side Java script.
In short, I have to access the webgrid when an event happens outside the webgrid.
Can you please help to acheive this?Please let me know if my problem is not clear, I will try to explain more clearly.
Done using http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=1118 with a correction.
Changed the line rowElem=igtbl_getFirstSibRow(gridName,igtbl_getElementById("UltraWebGrid1r_0")); given in the KB article to
var rowElem = igtbl_getFirstSibRow(gridName,igtbl_getElementById("UltraWebGrid1_r_0"));