Re: Iterating through a Repeater Control - Driving me nuts!!!

Tech-Archive recommends: Fix windows errors by optimizing your registry



This looks like VB.NET/VB 2005 code. Assuming I'm right, you'll need to ask
this question in a group with "dotnet" in the name. The "vb" groups are
strictly for VB6 and below. (Don't blame us, Microsoft decided to create
confusing names for markedly different languages.)


Rob

"Ryan Smith" <RyanSmith@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:84BA4C4B-8489-4467-B316-720E454D2E80@xxxxxxxxxxxxxxxx
Dim i As Integer

Dim Collected1 As TextBox

For i = 0 To (Grid.Items.Count - 1)

Collected1 = CType(Grid.Items(i).FindControl("COLLECTED"), TextBox)

Response.Write(Collected1.Text)

Next

This doesn't work and prints nothing even though data is in the textbox.
Any ideas - this is driving me mad...




.



Relevant Pages

  • Re: Textbox limitation
    ... > before potentially confusing him with unnecessary embellishment. ... How is saying excessive string concatentation is not a good idea ... Text property of a textbox is not a good practise, nor does it "work fine", ...
    (microsoft.public.vb.general.discussion)
  • Re: Date Range in Table
    ... I went ahead with your solution because they may need to go in and track data ... Sorry again if I was confusing, I don't really know the technical terms to ... with a Validation Rule of: ... This would only allow users to enter a date for a Sunday into your textbox; ...
    (microsoft.public.access.forms)
  • Re: INPUT MASK FOR TEXTBOX IN WINDOWS FORM
    ... You should post into specific newsgroup, otherwise it is confusing if it is ... related to VS6 or VS.NET development. ... > How can I set input mask for TextBox in Windows Form? ...
    (microsoft.public.vb.general.discussion)
  • Re: INPUT MASK FOR TEXTBOX IN WINDOWS FORM
    ... You should post into specific newsgroup, otherwise it is confusing if it is ... related to VS6 or VS.NET development. ... > How can I set input mask for TextBox in Windows Form? ...
    (microsoft.public.vb.controls)
  • Re: INPUT MASK FOR TEXTBOX IN WINDOWS FORM
    ... You should post into specific newsgroup, otherwise it is confusing if it is ... related to VS6 or VS.NET development. ... > How can I set input mask for TextBox in Windows Form? ...
    (microsoft.public.vb.database)