hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server">
<itemtemplate>
<td>text</td>
</itemtemplate>
</asp:repeater>
<asp:repeater id="repeater2" runat="server">
<itemtemplate>
<td>other text</td>
</itemtemplate>
</asp:repeater>
all i want is for my page to print out all the items of repeater1, then
print out all the values of repeater2. but at the moment, my page is print
out all the values of repeater1, then all the items of repeater2, then it's
doing the entire thing again. :(
thanks in advance 6 1131
You need to specify a table from the data source in each repeater
"suzy" <me@nospam.com> escribió en el mensaje
news:u9**************@TK2MSFTNGP09.phx.gbl... hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server"> <itemtemplate> <td>text</td> </itemtemplate> </asp:repeater>
<asp:repeater id="repeater2" runat="server"> <itemtemplate> <td>other text</td> </itemtemplate> </asp:repeater>
all i want is for my page to print out all the items of repeater1, then print out all the values of repeater2. but at the moment, my page is print out all the values of repeater1, then all the items of repeater2, then
it's doing the entire thing again. :(
thanks in advance
But I have a different dataset for each repeater. And each dataset contains
only 1 table. It's printing the values fine, just the entire thing 2 times
in a row.
"Franco Figun" <fr********@fibertel.com.ar> wrote in message
news:On**************@TK2MSFTNGP09.phx.gbl... You need to specify a table from the data source in each repeater
"suzy" <me@nospam.com> escribió en el mensaje news:u9**************@TK2MSFTNGP09.phx.gbl... hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server"> <itemtemplate> <td>text</td> </itemtemplate> </asp:repeater>
<asp:repeater id="repeater2" runat="server"> <itemtemplate> <td>other text</td> </itemtemplate> </asp:repeater>
all i want is for my page to print out all the items of repeater1, then print out all the values of repeater2. but at the moment, my page is
print out all the values of repeater1, then all the items of repeater2, then it's doing the entire thing again. :(
thanks in advance
Hi suzy,
post the code behind and the aspx snip where you declare the repeaters
Cheers,
--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation
"suzy" <me@nospam.com> wrote in message
news:u9**************@TK2MSFTNGP09.phx.gbl... hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server"> <itemtemplate> <td>text</td> </itemtemplate> </asp:repeater>
<asp:repeater id="repeater2" runat="server"> <itemtemplate> <td>other text</td> </itemtemplate> </asp:repeater>
all i want is for my page to print out all the items of repeater1, then print out all the values of repeater2. but at the moment, my page is print out all the values of repeater1, then all the items of repeater2, then
it's doing the entire thing again. :(
thanks in advance
I dont have the code on me, and it's nothing fancy, but it's something like
this:
protected Repeater repRepeater1;
protected Repeater repRepeater2;
....
....
Page_Load()
{
repRepeater1.DataSource = dt; //this is a single table (data dable)
containing the data i want to display 1st
repRepeater1.DataBind();
repRepeater2.DataSource = dt2; //this is a single table (data dable)
containing the data i want to display 2nd
repRepeater1.DataBind();
}
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:OY**************@tk2msftngp13.phx.gbl... Hi suzy,
post the code behind and the aspx snip where you declare the repeaters
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"suzy" <me@nospam.com> wrote in message news:u9**************@TK2MSFTNGP09.phx.gbl... hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server"> <itemtemplate> <td>text</td> </itemtemplate> </asp:repeater>
<asp:repeater id="repeater2" runat="server"> <itemtemplate> <td>other text</td> </itemtemplate> </asp:repeater>
all i want is for my page to print out all the items of repeater1, then print out all the values of repeater2. but at the moment, my page is
print out all the values of repeater1, then all the items of repeater2, then it's doing the entire thing again. :(
thanks in advance
The 2nd repeater should be:
repRepeater2.DataBind();
"suzy" <me@nospam.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl... I dont have the code on me, and it's nothing fancy, but it's something
like this:
protected Repeater repRepeater1; protected Repeater repRepeater2; ... ...
Page_Load() { repRepeater1.DataSource = dt; //this is a single table (data dable) containing the data i want to display 1st repRepeater1.DataBind();
repRepeater2.DataSource = dt2; //this is a single table (data dable) containing the data i want to display 2nd repRepeater1.DataBind(); }
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
wrote in message news:OY**************@tk2msftngp13.phx.gbl... Hi suzy,
post the code behind and the aspx snip where you declare the repeaters
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"suzy" <me@nospam.com> wrote in message news:u9**************@TK2MSFTNGP09.phx.gbl... hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server"> <itemtemplate> <td>text</td> </itemtemplate> </asp:repeater>
<asp:repeater id="repeater2" runat="server"> <itemtemplate> <td>other text</td> </itemtemplate> </asp:repeater>
all i want is for my page to print out all the items of repeater1,
then print out all the values of repeater2. but at the moment, my page is print out all the values of repeater1, then all the items of repeater2, then it's doing the entire thing again. :(
thanks in advance
The 2nd repeater should be:
repRepeater2.DataBind();
Just a typo.
"suzy" <me@nospam.com> wrote in message
news:%2***************@tk2msftngp13.phx.gbl... I dont have the code on me, and it's nothing fancy, but it's something
like this:
protected Repeater repRepeater1; protected Repeater repRepeater2; ... ...
Page_Load() { repRepeater1.DataSource = dt; //this is a single table (data dable) containing the data i want to display 1st repRepeater1.DataBind();
repRepeater2.DataSource = dt2; //this is a single table (data dable) containing the data i want to display 2nd repRepeater1.DataBind(); }
"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us>
wrote in message news:OY**************@tk2msftngp13.phx.gbl... Hi suzy,
post the code behind and the aspx snip where you declare the repeaters
Cheers,
-- Ignacio Machin, ignacio.machin AT dot.state.fl.us Florida Department Of Transportation
"suzy" <me@nospam.com> wrote in message news:u9**************@TK2MSFTNGP09.phx.gbl... hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server"> <itemtemplate> <td>text</td> </itemtemplate> </asp:repeater>
<asp:repeater id="repeater2" runat="server"> <itemtemplate> <td>other text</td> </itemtemplate> </asp:repeater>
all i want is for my page to print out all the items of repeater1,
then print out all the values of repeater2. but at the moment, my page is print out all the values of repeater1, then all the items of repeater2, then it's doing the entire thing again. :(
thanks in advance
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: suzy |
last post by:
hello,
how can i have multiple datarepeaters on the same aspx page?
i have tried something similar to this:
<asp:repeater id="repeater1" runat="server">
<itemtemplate>
<td>text</td>...
|
by: |
last post by:
Hi, NG!
Is there any updated version (.Net) of the Datarepeater control or do I have
to use the old (VS6.0) version?
Thanks.
pax
|
by: Jan Vetterli |
last post by:
hi,
I'm wondering how I can achieve a button with a CommandArgument thats
dynamicly created from two or more DataBinder values, seperated with a ";"
so I can split the information up afterwards....
|
by: DotNetDev |
last post by:
I have a datarepeater.
<asp:Repeater id="_quiestionsDataRepeater" runat="server"> <ItemTemplate>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<asp:Label id="Label2"...
|
by: =?Utf-8?B?QW1qYWQ=?= |
last post by:
Hi i have datarepeater in which i have textboxes, how to create
txtCustID_TextChanged event in datarepeater like simple textbox its easy
double click it and it create automatically the event but in...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |