PDA

View Full Version : Lookup issues with IE7



Steven Lemarr
2-Apr-2007, 03:17 PM
I have the following code in an asp page. When I run the asp page using
FireFox everything works fine, but when I run the same page in IE7 I get an
(line 407 Error: 'this.oVdfDialogForm' is null or not an object). After I
click on the select list button after last name the select list displays,
but when I select a record from the list and click on the "Select" button is
when the error displays. I am ugrading web site on my localhost to the new
Beta1 release. I have used this same code in another asp page with out a
problem can anyone see

<form action="none" name="<%=vdfMainTable%>_form"
vdfControlName="<%=vdfMainTable%>_form"
vdfWebServiceUrl="<%=vdfWebServiceUrl%>" vdfControlType="form"
vdfMainTable="<%=vdfMainTable%>" vdfWebObject="oUserAdmin" >
<input type="hidden" name="User__rowid"
value="<%=oWbo.DDValue("User.RowId")%>" />

<table width="100%">
<tr>
<td>
<% if (bEditRights) then %>
<h3>User - Administration and Maintenance</h3>
<% else %>
<h3>User Query</h3>
<% end if %>
</td>
</tr>
<tr>
<td>
</td>
</tr>
<tr>
<td>
<!-- Include the toolbar for the Find buttons, etc -->
<!-- #Include FILE="VdfAjaxLib/1.0/Toolbar.inc.asp" -->

</td>
</tr>
<tr>
<td>

<!-- Put your controls here... -->
<blockquote class="EntryBlock">
<table class="EntryTable">
<tr>
<td
class="Label"><%=oWbo.DDValue("User.LastName",DDLONGLABEL,1)%></td>
<td class="Data">
<%=oWbo.DDValue("User.LastName",DDFORM)%>
//This lookup buuton is the problem.
<input class="LookupButton" type="button"
title="List of all records" tabindex="-1" vdfControlType="lookupdialog"
vdfLookupTable="User" vdfLookupFields="User__LastName, User__FirstName,
User__LoginName" />
</td>
<td class="Error" id="User__LastName__Error">
</td>
<td
class="Label"><%=oWbo.DDValue("User.FirstName",DDLONGLABEL,1)%></td>
<td class="Data">
<%=oWbo.DDValue("User.FirstName",DDFORM)%>
</td>
<td class="Error" id="User__FirstName__Error">
</td>
</tr>
<tr>
<td
class="Label"><%=oWbo.DDValue("User.LoginName",DDLONGLABEL,1)%></td>
<td class="Data">
<%=oWbo.DDValue("User.LoginName",DDFORM)%>
</td>
<td id="User__LoginName__Error" Class="Error" />
</tr>
<tr>
<td
class="Label"><%=oWbo.DDValue("User.Password",DDLONGLABEL,1)%></td>
<td>
<%=oWbo.DDValue("User.Password",DDFORM)%>
</td>
<td id="User__Password__Error" Class="Error" />
</tr>
<tr>
<td
class="Label"><%=oWbo.DDValue("User.State",DDLONGLABEL,1)%></td>
<td>
<%=oWbo.DDValue("User.State",DDFORM)%>
</td>
<td id="User__State__Error" Class="Error" />
</tr>
<tr>
<td
class="Label"><%=oWbo.DDValue("User.EditRights",DDLONGLABEL,1)%></td>
<td>
<%=oWbo.DDValue("User.EditRights",DDFORM)%>
</td>
<td id="User__EditRights__Error" Class="Error" />
</tr>
</table>
</blockquote>
</td>
</tr>

</table>
</form>