This is a migrated thread and some comments may be shown as answers.

Require better performance while creating control dynamically

0 Answers 49 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
ankool
Top achievements
Rank 1
ankool asked on 14 Sep 2010, 12:20 PM
Hey,

I am creating a search criteria screen based on dataset from DB. This screen generally contains 10 labels, 15 combobox and 5 textbox / checbox or may be more.

Now based on datatype of each datarow, I dynamically create either a combo or textbox or required control. The probelm is that I don't like the time taken to load this screen via this method.

Can you suggest a better method to build similar screens ? So that I don't have to create new instance of combobox for every datarow. 

Another Idea
Build a combo with common properties ( height, width, etc) and for each datarow just keep cloning the same combo and load values to it. I have not tried above idea and don't know that will it improve performance or not.

Are there other methods to get better performance while creating radcontrols dynamically ?

Please let me know if you need any other information.

Thanks

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
ankool
Top achievements
Rank 1
Share this question
or