Hi,
I'm trying to make an XML questions editor in flash.
Basically I load in the XML into a Tree component - XML like so:
<questions>
<question id="1" type="radio" text="This is question 1" isBranch="true">
<option id="1.1" correct="false" text="This is option 1" />
<option id="1.2" correct="false" text="This is option 2" />
<opti...
So, I want to use jquery to set the text of a button, depending on the value of a property in the current row of a repeater.
I need to call a function in the code-behind to map the value to the text the button should have. So, I need to pass to my foo function, the string value of the UserStatus property for the current item in the repe...
I need to display something such as below.
Type A
Type A Item 1
Type A Item 2
Type A Item 3
Type B
Type B Item 1
Type B Item 2
Type B Item 3
Type C
Type C Item 1
Type C Item 2
Type C Item 3
All of the data comes from a dataset with columns 'Type' and 'ItemName'. Now an easy solution would be to create a repeater for each 'Ty...
Right now I am using this to export a repeater (with multiple nested repeaters) to excel:
protected void ExportToExcel(object sender, EventArgs e)
{
Response.Clear();
Response.Buffer = true;
Response.AddHeader("content-disposition", "attachment;filename=finance.xls");
Response.Charset = "";
Response.ContentType = "application/vnd...
Hi Guys,
I know that the asp.net repeater doesnt have a Client side object model, and we are stuck with improving the performance of many pages which have repeater/gridview with the functionality of adding rows to them by server-side code.
We have used updatepanels to ajaxify the functionality adding the rows to the repeater/gridview, ...
Hi Guys,
I need a JavaScript function which will take the Asp.net Repeater as input. The function must then parse through the object and return the data in the the rows of the object as JSON.
I can them send the JSON back to the server to be interpreted/parsed and saved to the db.
...
I have a repeater control where the <%#DataBinder.Eval(Container.DataItem, "Display")%> part doesn't show up. The code that the "Display" stores is set as follows:
item.Display = "<script type='text/javascript'>AudioPlayer.embed('ffcedea7-
4822-465f-85b6-89924f7b81fa', {soundFile: 'http://s3.amazonaws.com/blah/af8g7fd3-1793
-4b5e-92b7-9...
I have a .NET repeater control that is data-bound to a List. As part of the Repeater's ItemCollection, I have a "Remove Button" that effectively removes this current List element.
This works, in code-behind I can successfully remove an item from the datasource of the Repeater.
My problem is this : when I reset the updated datasource ...
Need to add styles (class="bBot") to the first ItemTemplate item, how do I know it's the first?
<asp:Repeater id="ArticlesRepeater" runat="server">
<HeaderTemplate>
<div class="FR boxW380">
<div class="cnt mag">
<div class="FR">
<a href="#">Subscribe</a>
 ...
I have a custom control that inherits from Repeater.
I need to inject some markup around the items within the repeater.
Currently im looping around Repeater.Items (OnPreRender) and adding LiteralControls containing the markup. This works great except for when performing a postback, as it throws the 'Failed to load viewstate' exception.
...
Hi, is it possible to use Eval or similar syntax in the SeparatorTemplate of a Repeater?
Id' like to display some info of the last item in the separator template like this:
<table>
<asp:Repeater>
<ItemTemplate>
<tr>
<td><%# Eval("DepartureDateTime") %></td>
<td><%# Eval("ArrivalDa...
i have a repeater than creates a table:
<itemtemplate>
<tr id="theTableRow" runat="server">
<td>
<asp:LinkButton runat="server"
OnClientClick="todo"
Text="Do Something" />
</td>
</tr>
</itemtemplate>
Note: the OnClientClick="todo" line.
In the final rendered code, i want the todo to...
This may be a silly question but I was writing a quick test page and realised that I didn't know how to bind an array or ArrayList of strings, for example, to an ASP.NET Repeater.
I experimented a bit.
<asp:Repeater ID="rptImages" runat="server">
<HeaderTemplate>
<h3>Items</h3>
</HeaderTemplate>
...
I have a main page that I want to be a sort of dispatch center for the user in my web application. So I want the main page the stay open, but when the user selects certain tasks I can set it up so that a new tab or page is created with the task that they selected.
I know how to transfer control to another page, but how can I do somethin...
say we have simple asp.net repeater,
in a row we have one checkbox, one label (database-id of the record) and not visible (used for postback) and one text (in a tabelcell)
now i want to make it like in windows, if you click on the text, the checkbox should be selected or deselected.
has somebody a link or solution for this, maybe alre...
I am using nested repeaters to build a table for reasons I won't discuss here, but what I'm looking to do is have two datasources, one for the top level repeater that will correspond to the rows, and one for the second level repeater that will return cells within a row.
What I'm wondering, however, is if I can somehow specify a paramete...
I need to get a value from a textbox inside a FooterTemplate in the OnClick event of a button. My first thought was to loop through the items-property on my repeater, but as you can see in this sample, it only includes the actual databound items, not the footer-item.
ASPX:
<asp:Repeater ID="Repeater1" runat="server">
<ItemTemplate>
...
The situation is as follows:
I have a database with many RSS Categories, that in turn have many RSS Feeds. I want to display them in the following fashion:
RSS Category 1
[ ] Rss Feed 1
[ ] Rss Feed 2
[ ] Rss Feed 3
RSS Category 2
[ ] Rss Feed 1
[ ] Rss Feed 2
[ ] Rss Feed 3
Where [ ] represents a checkbox.
So each RSS Feed ...
Hi, is there any way to bring up a subheader row at changes in a field in an databound asp:repeater control e.g.
Instead of
country | colour | number
uk | red | 3
uk | green | 3
france | red 3
Do this:
==UK==
colour | number
red | 3
green 3
==FRANCE==
colour | number
red | 3
Many thanks for any help.
...
I am rendering data using Repeater control.
Let's say there are 2 fields in the data source: productName and ProductID
In the following code:
<asp:Repeater ID="Repeater1" runat="server" DataSourceID="SqlDataSource1">
<HeaderTemplate>
<ul>
</HeaderTemplate>
<ItemTemplate>
<li>
<%#Eval("productName")%> <br/>
<asp:HyperLink ID="lnkDetails...