A
aotemp
Hi!
Im trying to so a little something with a control, but clearly I don't
know how to do it.
What I would like to do is have something like... (the variable names
are large here to describe what they do...
<Mine:MyLibrary iNumberOfItemsContainedInDivTagsBelowPerPage="3">
<div> Im #1 </div>
<div> Im #2 </div>
<div> Im #3 </div>
<div> Im #4 </div>
<div> Im #5 </div>
</Mine:MyLibrary>
And in my control I would like to grab this data, each div tagged
surrounded item counts as 1 item, and I would like to display these
items in a page, with the number of items per page being designated by
the variable.
Im new at this... I don't want to use a datagrid or other control in
this process... Please help! My code so far is below... and it does
very little, I just dont know how to approach this div thing
THank you so much in advance!
me
------------------
..ascx
<script language="VB" runat="server">
Public intNumPerPage As Integer = "5"
</script>
<span id="DivedOutput"> <%=intNumPerPage%> </span>
----------------------------
..aspx
<%@ Page Language="VB" %>
<%@ Register TagPrefix="Test" TagName="DivedOutput" Src="x.ascx" %>
<html>
<head>
<title></title>
</head>
<body style="font: 10pt verdana">
<TestivedOutput id="MyMessage" intNumPerPage="7" runat="server"/>
</body>
</html>
Im trying to so a little something with a control, but clearly I don't
know how to do it.
What I would like to do is have something like... (the variable names
are large here to describe what they do...
<Mine:MyLibrary iNumberOfItemsContainedInDivTagsBelowPerPage="3">
<div> Im #1 </div>
<div> Im #2 </div>
<div> Im #3 </div>
<div> Im #4 </div>
<div> Im #5 </div>
</Mine:MyLibrary>
And in my control I would like to grab this data, each div tagged
surrounded item counts as 1 item, and I would like to display these
items in a page, with the number of items per page being designated by
the variable.
Im new at this... I don't want to use a datagrid or other control in
this process... Please help! My code so far is below... and it does
very little, I just dont know how to approach this div thing
THank you so much in advance!
me
------------------
..ascx
<script language="VB" runat="server">
Public intNumPerPage As Integer = "5"
</script>
<span id="DivedOutput"> <%=intNumPerPage%> </span>
----------------------------
..aspx
<%@ Page Language="VB" %>
<%@ Register TagPrefix="Test" TagName="DivedOutput" Src="x.ascx" %>
<html>
<head>
<title></title>
</head>
<body style="font: 10pt verdana">
<TestivedOutput id="MyMessage" intNumPerPage="7" runat="server"/>
</body>
</html>