WebControl with non-WebControl property

  • Thread starter Peter Morris [Air Software Ltd]
  • Start date
P

Peter Morris [Air Software Ltd]

Hi all

I wrote a WebControl and placed it onto an asp.net page. This webcontrol
has a reference to a System.Component also on the same form. When I set a
reference to the component and run the app I get an exception....



I see that if I place a datagrid on the page and set the datasource I see
this in my aspx
datasource="<%# rhRoot %>"

Whereas with my WebControl I see this in my aspx
roothandle="rhRoot"

Could someone please explain this to me, and perhaps suggest a solution to
the problem?

Thanks


--
Pete
====
Read or write articles on just about anything
http://www.HowToDoThings.com

My blog
http://blogs.slcdug.org/petermorris/
 
P

Peter Morris [Air Software Ltd]

Sorry, the exception is


Unable to generate code for a value of type
'Borland.Eco.Handles.ElementHandle'. This error occurred while trying to
generate the property value for RootHandle.

Pete
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top