Questions tagged [asprepeater]

Use it for displaying a repeated list of items that creates a connection between data source and user interface.

A Repeater has five templates to format it from data source:

  • HeaderTemplate --> Displays header text and applies different styles.
  • AlternatingTemplates --> Changes the style if items are changing on data binding.
  • ItemTemplate --> Displays items when it's not in header of footer mode.
  • SeparatorTemplate --> It separates items using <br> tags.
  • FooterTemplate --> Displays footer text and applies different formatting.
212 questions
0
votes
1 answer

Find FooterTemplate in asp.repeater

I want to give a value to a control in asp.net repeater footer template. Dim FooterTemplate As Control = TicketRepeater.Controls(TicketRepeater.Controls.Count - 1).Controls(0) Dim lblFooter As Literal =…
Iladarsda
  • 10,640
  • 39
  • 106
  • 170
0
votes
1 answer

Show dropdown selected value in the grid on the same page

I have a drop down which has the list of delegates. When the user selects a delegate then I populate the available meet-timings in the second dropdown using the selectedindexchange event of the 1st dropdown Aspx page
Justin Russo
  • 339
  • 1
  • 8
  • 22
0
votes
3 answers

Getting control from Repeater ItemTemplate server-side

I'm trying to use a repeater to make a table. however, there's some logic that I need to implement to some specific controls, says a div, in the items in the repeater. I've tried this but it didn't work,,, I alwas get: Exception Details:…
himura
  • 1,555
  • 3
  • 19
  • 30
0
votes
1 answer

Need Help regarding binding Issue

I have a repeater control inside a page and a gridview inside a repeater control. i want to bind the gridview. But i cant. My page is empty when i run it. and viewsource is also empty. here is my code:
Abid Ali
  • 1,731
  • 8
  • 26
  • 62
0
votes
1 answer

binded value for a control outside a repeater

Just for curiosity can i give a control that is outside a repeater a binneded value for example :
Sora
  • 2,465
  • 18
  • 73
  • 146
0
votes
1 answer

c# asp Repeater data not showing when using ItemDataBound to create a button based on field

basically i am trying to populate a departments table and based on, say the change date, create a button for whatever departments fall within a certain date range. Problem is, the button creates but there is no data, heres what i have so far -…
JazziJeff
  • 721
  • 4
  • 17
  • 35
0
votes
2 answers

How to maintain scroll position of a div when the page loads

is there a way to scroll-down to a particular div when the page loads? i have 100+ rows so when the page loads i am highlighting the div background based on certain conditions so same way is that possible to position to the particular div? i am…
Nick Kahn
  • 19,652
  • 91
  • 275
  • 406
0
votes
1 answer

Can repeaters automatically use a different clientIDMode then what's set in web.config? (clientIDMode="Static")

I want to use clientIDMode="Static" in the web.config as it's awesome for front end development, obivously. But, I'd like my repeaters, datagrids, and datalists to default to clientIDMode="Predictable" so there's not duplicate ID's on the page. I'd…
Stephen
  • 642
  • 1
  • 4
  • 22
-1
votes
1 answer

ASP repeater not filling all items

I have a repeater that works wonders.Now I need to verify if a record exists in a DB and if it does, do not show the dropdowns but other textboxes. If there is only 1 record, it works, but if it sees more than 1, it does not. Here is the code: Main…
Henry B
  • 29
  • 8
-1
votes
1 answer

how find which product is selected in asp:repeater because i want to add this selected product in shopping cart

I want to make shopping cart for my online store.I use asp:repeater for that.My problem is that i can't know which product is selected because i can't know which product id is selected.I use javascript function to do that.when user click add to cart…
-1
votes
2 answers

how do i view the asp:textbox inside rgroups repeater need solution in vb.net

Why can't i access this textbox inside the repeater I have used the following on the rgroups itemdatabind no matter what i do it says the object cannot be referenced. Please supply any answer in vb.net
c-sharp-and-swiftui-devni
  • 3,743
  • 4
  • 39
  • 100
-1
votes
2 answers

How can I display my data in horizontal format in asp.net C# through DataList/RepeaterConrol or Gridview from database?

I want bind data from database in Horizontal format data is in datatbase e.g EMPLOYEES FROM CLIENT SIDE Record ACompany BCompany CComapany DCompany Count 10 20 30 40
-1
votes
2 answers

asp.net Repeater - display rows of data in seperate divs

I am using a Repeater to display rows of data from my SQL Server database. I wish to display each row of my data in separate HTML divs. At the moment it displays all my data (all rows) in the div I have placed the repeater. How do I separate it its…
user1371055
  • 25
  • 3
  • 7
-1
votes
1 answer

Asp.net Repeaters Life Cycle

This is my Scenario. I have 4 repeaters. 3 - nested and 1 completely outside. lstSelectedValues i am doing various Calcuations in Repeater 2…
Night Monger
  • 770
  • 1
  • 10
  • 33
1 2 3
14
15