CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Accessing control values in Editable Grids

Print topic Send  topic

Author Message
kieuale

Posts: 8
Posted: 04/08/2008, 9:31 AM

I see this script below from "Nicole's - Tip & Solution". This work with ASP/PHP but when try to use it in VB.NET it gives me errror: The error is in <form_name>Elements.length-<form_name>EmptyRows stating that object is null or not declare. Please help, what is the script for VB.NET.
Thanks.

<script language="JavaScript">
function select_all(){
init<form_name>Elements();
for(var j = 0; j < <form_name>Elements.length-<form_name>EmptyRows; j++){
if (<form_name>Elements[j][ <form_name>DeleteControl].checked)
<form_name>Elements[j][<form_name>DeleteControl].checked = false;
else
<form_name>Elements[j][<form_name>DeleteControl].checked = true;
}
}
</script>
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.