accessing controls in FormView

Discussion in 'ASP .Net' started by justin, Jul 31, 2007.

  1. justin

    justin Guest

    Hello, I have a FormView with only an EditItemTemplate. I want to put
    a Calendar in the EditItemTemplate that shows/hides based on the click
    event of a button placed next to the Calendar.

    The code I currently have works in a regular page, but not in a
    FormView. The problem is I can't access the Calendar by it's ID
    through my C# backend class. Does anyone know how you can use code to
    access a control that's in a FormView?
     
    justin, Jul 31, 2007
    #1
    1. Advertisements

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. Horace Nunley

    accessing formview controls

    Horace Nunley, Aug 28, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    1,171
  2. Nathan Sokalski
    Replies:
    0
    Views:
    529
    Nathan Sokalski
    Jan 11, 2007
  3. Chris

    Formview within Formview

    Chris, May 19, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    821
    Chris
    May 19, 2007
  4. Nathan Sokalski

    Accessing the controls in the PagerTemplate when using FormView

    Nathan Sokalski, Jan 11, 2007, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    853
    Nathan Sokalski
    Jan 11, 2007
  5. Arturo Buonanni

    Accessing FormView template controls

    Arturo Buonanni, Apr 4, 2006, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    375
    Dabbler
    Apr 14, 2006
  6. David Thielen

    FormView/Repeater/ Eval(FormView data)

    David Thielen, Jun 16, 2006, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    937
    David Thielen
    Jun 16, 2006
  7. Nathan Sokalski

    Accessing the controls in the PagerTemplate when using FormView

    Nathan Sokalski, Jan 11, 2007, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    424
    Nathan Sokalski
    Jan 11, 2007
  8. RGF

    Accessing Controls nested in a formview

    RGF, Aug 21, 2007, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    511
Loading...