Skip to Content
0
Former Member
Aug 12, 2016 at 09:55 AM

Control extending properties not available in init()

28 Views

Hi all,

i am trying to develop custom control while i am creating an object to a control i am passing the properties, but those properties not available in init() function,

when this properties will be available ?

i am thinking to pass an model name and use that model data to prepare the control , it will solved by giving an public method and again need to call that public method after every instantiation ,

how can i achieve these properties inside the control without any public method.

i am thinking to create an simple form while creating object with the model data and i need to use that form in rendering.

Thanks & regards,

Kotesh Adabala.