Repeater control - how to access contained control values?

Discussion in 'ASP .Net' started by dotnw@hotmail.com, May 27, 2005.

  1. Guest

    Say I have the following simple situation:

    A user control, that contains a textbox, is put inside a repeater.
    A link button is put on the main form page, but *outside* the repeater.
    When the link button is clicked, how do I loop through the repeated
    textboxes to get their text values?

    Thank you, regards, dnw.
     
    , May 27, 2005
    #1
    1. Advertising

  2. JavaScript or server side ?

    <> a écrit dans le message de news:
    ...
    > Say I have the following simple situation:
    >
    > A user control, that contains a textbox, is put inside a repeater.
    > A link button is put on the main form page, but *outside* the repeater.
    > When the link button is clicked, how do I loop through the repeated
    > textboxes to get their text values?
    >
    > Thank you, regards, dnw.
    >
     
    Michel de Becdelièvre, May 27, 2005
    #2
    1. Advertising

  3. Guest

    Server side, thank you.
     
    , May 27, 2005
    #3
  4. try this link

    http://msdn.microsoft.com/library/d...l/vbtskreferencingcontrolsinwebformspages.asp

    --
    http://pathidotnet.blogspot.com
    =====
    vInAypAtHi
    o__
    ---_,>/'_------
    (_) \(_)
    ---------------


    "" wrote:

    > Say I have the following simple situation:
    >
    > A user control, that contains a textbox, is put inside a repeater.
    > A link button is put on the main form page, but *outside* the repeater.
    > When the link button is clicked, how do I loop through the repeated
    > textboxes to get their text values?
    >
    > Thank you, regards, dnw.
    >
    >
     
    =?Utf-8?B?dmluYXk=?=, May 27, 2005
    #4
  5. Guest

    Thanks for the link.
     
    , May 28, 2005
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Darren Smith
    Replies:
    5
    Views:
    5,522
    dsmith
    May 10, 2004
  2. Luhar Powell via .NET 247
    Replies:
    0
    Views:
    2,452
    Luhar Powell via .NET 247
    Apr 1, 2005
  3. DC
    Replies:
    0
    Views:
    751
  4. Luhar Powell via .NET 247

    Newbie:Access custom Itemplate(not datagrid/repeater/datalist) control values on postback

    Luhar Powell via .NET 247, Apr 1, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    219
    Luhar Powell via .NET 247
    Apr 1, 2005
  5. Luhar Powell via .NET 247
    Replies:
    0
    Views:
    168
    Luhar Powell via .NET 247
    Apr 1, 2005
Loading...

Share This Page