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

    accessing formview controls

    Horace Nunley, Aug 28, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    1,114
  2. Nathan Sokalski
    Replies:
    0
    Views:
    407
    Nathan Sokalski
    Jan 11, 2007
  3. 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:
    735
    Nathan Sokalski
    Jan 11, 2007
  4. Arturo Buonanni

    Accessing FormView template controls

    Arturo Buonanni, Apr 4, 2006, in forum: ASP .Net Web Controls
    Replies:
    4
    Views:
    215
    Dabbler
    Apr 14, 2006
  5. 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:
    279
    Nathan Sokalski
    Jan 11, 2007
Loading...

Share This Page