Hi, thanks for the answer, but what I need is not about the common datalist control, I am creating my own datalist control via web server controls. So I am overwriting some of the common datalist controls' events. I need my datalist control to come with an itemtemplate by default. This itemtemplate will require some fields that will be provided by properties. There are two events while creating your own control 1. rendercontents 2. createchildcontrols I was unable to addd itemtemplate by these 2 events.. How could I manage this, I do not know at the moment. I hope I made myself clear now.