Welcome Guest Search | Active Topics | Sign In | Register

Error When Launching Basic Slide Options
Ed
Posted: Sunday, July 25, 2010 11:31:24 AM
Rank: Newbie
Groups: Member

Joined: 7/25/2010
Posts: 2
Hi:

I am trying to create my first Slide. I set all properties to match the demo application and copied VB source code as well, only changing the image location and names.

I keep getting the error "Either BigItemTemplate or SmallItemTemplate must be set".

Don't know where to access template selection. I could not find this within properties, code or from the object itself.

Any help, thanks in advance.

Ed
eo_support
Posted: Sunday, July 25, 2010 11:38:15 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

If you look at the sample .aspx source, you will see something like this:

Code: HTML/ASPX
<eo:Slide ....>
     .....
    <BigItemTemplate>
       content template goes here....
    </BigItemTemplate>
    ....
</eo:Slide>


You may find the following topic helpful:

http://doc.essentialobjects.com/library/1/slide/templated_slide.aspx

The slide control slides a list of "items" and each item is based on the template you specified. The template is a standard ASP.NET ITemplate property. If you are not clear about how to use a template, you can try a standard asp:Repeater to get a basic idea of how it works.

Thanks
Commander B
Posted: Monday, July 26, 2010 1:51:32 PM
Rank: Newbie
Groups: Member

Joined: 7/26/2010
Posts: 1
HI
i am using visual studio 2008 express.
I also copied the code and managed to create the big template.
The first debug attempt suggested the vb code i copied does was the problem.
I then adjusted the vb code through the property panel selecting my image file.
The second debug attempt suggeted that either big or small template should be defined.

The vb code that we copied has dataitem.etc.
I also get warning error messages when debugging stating that dataitem is not supported. etc.

eo controls are visial studio based and web form so i do not why i am getting not supported error messages.

Other applications ask for d base directory to identify the source however i am sticking to eo rules with alot of difficuty.

I also need help however will keep trying to see if ave missed anything.



Angel Anxious
eo_support
Posted: Monday, July 26, 2010 2:10:40 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You might want to review our previous answers about this question. It does not appear you understand how to use a standard ASP.NET template. Because our slide is a template based control, you will not be able to use it unless you know how template (and data binding) works. What you are asking is a very simple coding error related to data binding. It is standard ASP.NET programming and not anything particular about our controls. While we will not be able to help you on such generic programming topics, you should be able to find a lot of information online about those. If you do not know where to start, I would suggest you to start with standard ASP.NET Repeater control.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.