Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:833011
More Search Options
RSS Available
Matching Posts
Re: Repeater problem with duplicate control values
I think you got it. I'm an idiot. I didn't realize I didn't have to call the onclick event within the asp:button. I removed that and now when I click it, it only calls once and appears to be correct. I knew it had to be something I screwed up. Thanks for your help. Sometimes it just takes someone else pointing out the obvious to me
Posted to
Data Presentation Controls
(Forum)
by
mmriITPGM
on 10/20/2008
Re: Repeater problem with duplicate control values
Thanks, that takes care of the DDL problem. But the duplicate controls problem still exists. When I click the button, the duplicate names still appear. I did a quick x += 1 Response.Write(String.Concat(x.ToString, " - ", hdnRosternum, ": ", cbActive, ": ", ddlyear)) Response.Write("<hr>") to the btnActiveRoster_OnClick sub (just before the NEXT statement), and the output still duplicates (names removed to protect the innocent) 1 - 3047: True: 2013 2
Posted to
Data Presentation Controls
(Forum)
by
mmriITPGM
on 10/20/2008
Re: Repeater problem with duplicate control values
I'm no expert, so bear with me Some of this code may not be (is not) the best way, I'm sure, but it's been some trial and error as I try to learn some of this. The "gradyear" in the database is the numeric year, while the DDL is supposed to display the text level (senior, etc.) The last piece puts the values of each item into variables that I then output (eventually to UPDATE or INSERT for a database). <asp:Repeater id="rptActiveRoster" runat="server"
Posted to
Data Presentation Controls
(Forum)
by
mmriITPGM
on 10/20/2008
Repeater problem with duplicate control values
I've searched and I can't find an answer to my problem. I'm new to ASP .Net Repeaters, and I'm finding this confusing. I created a repeater and it is bound to a datasource that selects certains rows from a database. The repeater contains several controls including a drop down list. This list is populated at databinding as I need it to contain specific values, but also start with the correct selected index based on the value currently stored in the database. Basically, I pull in a
Posted to
Data Presentation Controls
(Forum)
by
mmriITPGM
on 10/20/2008
Filed under: duplicate, asp.net 2.0, Repeater
Page 1 of 1 (4 items)
Channel 9:
ADFS 2.0 RC is Here!
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Channel 9:
Channel 9 Live at PDC09: Martin Cron
Channel 9:
Channel 9 Live at PDC09: Erik Meijer and Thomas Lewis
WindowsClient:
Download Data Services Update for .NET 3.5 SP1
Silverlight:
Extending the SMF for the HVP
Silverlight:
Extending the SMF for the HVP
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 12 of 13
Channel 10:
Bing Maps Update: Map Embeds and Draggable Routes
WindowsClient:
New WPF Showcase: WEB Touch
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online