This is a migrated thread and some comments may be shown as answers.

Loaded Control Object Expected

1 Answer 61 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
jonnyO
Top achievements
Rank 1
jonnyO asked on 08 Aug 2008, 01:51 PM
I've got  an ajaxified master page that loads web user controls in the "body" panel when click events occur.  One web user control has a checkbox list that displays and filters a repeater item template.  In the item template I have hyperlinks that I want to open  windows that display editable data according to an ID value:

<href="#" onclick="openRadWindow('<%# Eval("EntryId") %>'); return false;">Details</a> 

The javascript used is:

<script type="text/javascript">  
 function OpenPositionedWindow(oButton, url, windowName)  
 {  
   var oWnd = window.radopen(url,windowName);    
 }  
 function openRadWindow(EntryId)  
 {  
    var oWnd = radopen("Questions.aspx?ID=" + EntryId, "RadWindow1" );  
    oWnd.Center();  
 }  
            
</script> 

There is a RadWindowsManager instance with no windows listed.  This example is from Telerik RadGrid archive and I was hoping it would wok for my repeater.  Object Expected error occurs when the "Details" link is clicked.
Any ideas are appreciated.

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 11 Aug 2008, 12:16 PM
Hello jonnyO,

I tried to reproduce the problem, but to no avail. Please find attached my sample test project and let me know what should I change to reproduce the issue.

Thanks

Best wishes,
Veskoni
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
General Discussions
Asked by
jonnyO
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or