Calculate Client Side totals for Datagrid columns-ASP.NET
I have ASP.Net webform that has a datagrid that has column with a textbox that is used to enter a product description. There is a Hyperlink in the same column when clicked opens a pop-up window , that contains a datagrid with a list of available product descriptions. When the user selects a product description it is supposed to be returned to the textbox in the datagrid of the calling window.
I have the following code in the Datagrid_SelectedIndexChanged of the pop-up window
SelectedProd = dgSuppliers.SelectedItem.Cells(1).Text
SelectedCost = dgSuppliers.SelectedItem.Cells(3).Text
window.opener.document.forms["<%= FormName %>"].elements["<%= ControlName %>"].value = "<%= SelectedProd %>";
window.opener.document.forms["<%= FormName %>"].elements["<%= ControlName2 %>"].value = "<%= SelectedCost %>";
Where FormName and ControlName are predefined.
This works fine when I select single line product descriptions from the datagrid.
How can I return the multiline prod description to the calling form.
By Itai Raz in forum ASP.NET
Last Post: 12-31-2002, 07:21 PM
By rahul in forum ASP.NET
Last Post: 10-11-2001, 06:15 PM
By pradeep in forum ASP.NET
Last Post: 06-07-2001, 10:54 AM
By Ian Hossie in forum Web
Last Post: 08-14-2000, 12:18 PM
Last Post: 04-20-2000, 09:12 AM
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL