Hi there!
Kalani's book for 70-315, chapter 7, answer to exam
question number 10:
"The design-time representation of a control is composed of
HTML code representing the control. This HTML code can come
from the control's Render() method or from the
GetDesignTimeHtml() method of a control designer class. "
There's a good explanation of control designer classes
earlier in the chapter and I thought that was the only way
to generate the HTML for the control's design-time
represention.
How can you use the control's Render method for this? Does
the control render on the designer canvas just as it does
on the web form at runtime? If you can use the render
method, what's the point of having a control designer class?
Big mess in my head ...
Thanks!
L.
|