Search

You searched for the word(s): userid:833011

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)