spencerturbine
asked on
User Control Template Not Working
I am trying to create a user control that allows the use of a template to show the data.
But I get no data displayed when I use
<ItemTemplate>Test:<%# Container.ItemId %></ItemTemplate>
If I do not create the template.... I do see the "template not defined" error as expected.
I have attached the files that I am using to demonstrate my problem.
Default2.aspx.cs.txt
Default2.aspx.txt
WebUserControl.ascx.cs.txt
WebUserControl.ascx.txt
But I get no data displayed when I use
<ItemTemplate>Test:<%# Container.ItemId %></ItemTemplate>
If I do not create the template.... I do see the "template not defined" error as expected.
I have attached the files that I am using to demonstrate my problem.
Default2.aspx.cs.txt
Default2.aspx.txt
WebUserControl.ascx.cs.txt
WebUserControl.ascx.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks