I have an object that I have created on an aspx page with a number of properties. Actually, it is an ADODC for use with a component that requires it.
The issue is that with the following javascript:
<script LANGUAGE="JavaScript" FOR="ApplyQuery" EVENT="Click()">
<!--
ok = C1Query1.BuildSQL();
if (ok)
{
DataSrc.CommandType = 8; // Table
DataSrc.RecordSource = C1Query1.SQL;
DataSrc.Refresh();
DataGrid.DataSource = DataSrc;
}
//-->
I keep getting the following error:
"Microsoft JScript runtime error: Object doesn't support this property or method"
If I run the EXACT same page outside of the application it works fine. I have tried taking it out of the application and just including a link to it but as soon as it is involved at all with the .net app it gives me this error. Any ideas out there at all?
Thank you!!!!
The issue is that with the following javascript:
<script LANGUAGE="JavaScript" FOR="ApplyQuery" EVENT="Click()">
<!--
ok = C1Query1.BuildSQL();
if (ok)
{
DataSrc.CommandType = 8; // Table
DataSrc.RecordSource = C1Query1.SQL;
DataSrc.Refresh();
DataGrid.DataSource = DataSrc;
}
//-->
I keep getting the following error:
"Microsoft JScript runtime error: Object doesn't support this property or method"
If I run the EXACT same page outside of the application it works fine. I have tried taking it out of the application and just including a link to it but as soon as it is involved at all with the .net app it gives me this error. Any ideas out there at all?
Thank you!!!!