I would like to reproduce several orderlines to represent the items that are currently in a basket
I had imagined that I would have a structure like this
<ul>
<li data-icon="delete">
<a href="#"><img src="images/1.jpg" /></a>
<strong>Product Name</strong>
<br />
<div style="float:left" >
<input value="2">
<span style="padding-left:10px;position:relative;top:7px; font-weight:bold; font-size:15px;">Price</span><br />
</div><br /><div class="clear:both;">
</div>
</li>
At first I used a literal and put all the information above in a dynamic way.
The problem arises when I need to check the input text. I have to check to see if there is a number in it, and then I need to retrieve that value to update the basket.
It appears that literals cannot have children controls.
So I managed to add dynamic literals and dynamic textboxes and managed to have them one near the other. This solutions however isn't satisfactory because i am quite limited in placing the object in the right.
For example, I have to put the input text immediately on the left of the price (but this is inside the literal). It is difficult to place objects also because all my measures are in % , and also impossible to use absolute positioning because all these boxes and literals are in the same big container. I would like to have a different container for every literal and his textbox.
In the end the question is: is there an asp object that allows asp children? I would create one div, place an asp image inside, some asp labels and the asp textbox. is it impossible?
Thanks in advance

New Topic/Question
Reply



MultiQuote







|