CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> .NET

 OnClick Event for Button on Row of Editable Grid

Print topic Send  topic

Author Message
dpeterson

Posts: 13
Posted: 01/07/2009, 6:25 AM

I need to place a Button on the row of an Editable Grid. I created an OnClick Event for this button, but the generated Javascript fails, giving the following message:

'CriteriaTablePossibleValuesID' is undefined

My form name is CriteriaTable and the button name is PossibleValues. Here is the JavaSciprt that fails:

//Refresh MainCriteriaUpdateCriteria @104-3C5D025B
function MainCriteriaUpdateCriteria_bind(sender) {
if(typeof(CriteriaTableStaticElementsID) == "object" && typeof(CriteriaTableStaticElementsID[CriteriaTablePossibleValuesID]) == "object" && CriteriaTableStaticElementsID[CriteriaTablePossibleValuesID]!=null)
addEventHandler(CriteriaTableStaticElementsID[CriteriaTablePossibleValuesID].id, "click", page_CriteriaTable_PossibleValues_OnClick);
}
//End Refresh MainCriteriaUpdateCriteria

I am using ASP.NET 1.1.

When I do this in Classic ASP, it works fine. Any help will be greatly appreciated!
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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