Build Error in VJ# - Expected class, interface or delegate

Build Error in VJ# - Expected class, interface or delegate

Post by Lars-Inge » Sun, 09 May 2004 03:51:25



Please see HERE. You "end" the class too early.
Please move "} //ParentControl" to the end of the class.


public class ParentControl extends Control
{

// HERE_________________
} //ParentControl
// ______________________

// HERE____ This method does not have any classes......
void RenderChildren(MarkupTextWriter output)
{
if (HasControls()) {
for(int i=get_Controls().get_Count() - 1;i >= 0;--i) {
Controls .get_Item( i).RenderControl(output);
}
}
} //RenderChildren



Regards,
Lars-Inge Tnessen
www.larsinge.com
 
 
 

Build Error in VJ# - Expected class, interface or delegate

Post by UHJhc2FkIE » Sat, 15 May 2004 13:51:05

H
Lars-Inge Tnnessen

Thanks for your repl

Regards
Prasad Godd