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

[Solved] Template buttons disabled

1 Answer 119 Views
TreeView
This is a migrated thread and some comments may be shown as answers.
NEX
Top achievements
Rank 1
NEX asked on 22 Mar 2008, 11:32 PM
Not sure what I am doing wrong but all of the buttons in the template are rendered as disable...

class

PagerTemplate : ITemplate

{

public void InstantiateIn(Control container)

{

Button First = new Button();

First.ID =

"btnFirst";

First.Text =

"|<<";

container.Controls.Add(First);

}

}

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 24 Mar 2008, 03:33 PM
Hello Alfred Pena,

This behaviour is quite strange and unexpected, but it is hard to find the reason for it just by looking at the definition of the template class.

Could you send us a sample project where the issue is shown? We would further investigate it and give you feedback.

Thank you in advance for your understanding and cooperation.

Best wishes,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
TreeView
Asked by
NEX
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or