Local Live Samples WebCombo Integration Into WebGrid Causes Error

16 replies. Last post: September 27, 2011 1:31 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback
A YousifMember

I'm able to use the live sample successfully online, however, using the same one locally fails when I try to edit the field that has the WebCombo.  When I double-click the SupplierID entry, I get the following error in a standard alert box with an OK button:

Can't find WebCombo.NET instance with ID 'ctl00_content_wcSuppliers'

A similar error occurs if I try to edit a CategoryID column field.  Any ideas why this is happening?  I also have issues with the WebGrid sample, locally, that integrates the WebInput.NET control.  That one does NOT bring up an alert, but it does have the following error on the page:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Win64; x64; Trident/4.0; GTB7.1; .NET CLR 2.0.50727; SLCC2; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Tue, 9 Aug 2011 17:18:09 UTC


Message: Object required
Line: 7
Char: 24063
Code: 0
URI: http://localhost:33402/ISNet.WebUI.Samples/ISRes.axd?G/WebGrid_Edit.js/707200431


Message: Object required
Line: 7
Char: 24063
Code: 0
URI: http://localhost:33402/ISNet.WebUI.Samples/ISRes.axd?G/WebGrid_Edit.js/707200431


Message: Object required
Line: 7
Char: 24063
Code: 0
URI: http://localhost:33402/ISNet.WebUI.Samples/ISRes.axd?G/WebGrid_Edit.js/707200431


Message: Object required
Line: 7
Char: 24063
Code: 0
URI: http://localhost:33402/ISNet.WebUI.Samples/ISRes.axd?G/WebGrid_Edit.js/707200431

Note that if I bring up the IE debugger (F12), this resource is loaded and available on the Script tab as I was able to load it just fine.  It looks like it's trying to act on a null object in the JavaScript code.

All times are GMT -5. The time now is 10:16 PM.
Previous Next