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

Set Client Template Programmatically

2 Answers 23 Views
SearchBox
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 25 Sep 2014, 10:10 PM
Hello,

I am trying to create a wrapper control for the radsearchbox. As a part of that, I'd like to make it so that somebody can set a client template in the wrapper control and have that pass through to the RadSearchBox. Is that possible?

I know I can't use a server control in the client template... but is there any way to set the whole template - like all the text in it - programmatically?

Thanks,

Mike

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar Terziev
Telerik team
answered on 30 Sep 2014, 08:03 AM
Hello Mike,

As replied in the support ticket regarding this enquiry, attached is a sample which could be used for reference.

Regards,
Dimitar Terziev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Mike
Top achievements
Rank 1
answered on 30 Sep 2014, 07:31 PM
Thanks Dimitar!

That was dumb of me - I didn't see it was in the DropDownSettings!

Hope all's well,

Mike
Tags
SearchBox
Asked by
Mike
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Mike
Top achievements
Rank 1
Share this question
or