Templated Web custom control and templates

R

Robert Koritnik

If I inherit my templated data-bound control the design time doesn't
recognize my templates. They are all null. But if I inherit from WebControl
things work ok, but I don't need all those properties that WebControl give
me.

I have my custom control designer because of the datasource property.

Any clues how to bind Templates so they would be recognized?

Robert.
 
R

Robert Koritnik

One more thing. I actually copied the code from the MSDN how to make a
templated web custom control. Including the designer. I just inherited from
Control instead of WebControl.

PLEASE Help me... I'm getting deseprate after two days....
 
R

Robert Koritnik

Thanks anyways. Found the problem. To put it correctly. the explanation in
MSDN seems somehow unanderstandible so I instantiated with wrong parameters.

Robert
 

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

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top