Setting Controls in a Formview

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stuart Ferguson

    Setting Controls in a Formview

    I currently have a formview on my WebFOrm with 3 templates, however on
    the InsertItemTempl ate i want to preset the value of one of my controls
    depening on a value is the session object.

    I have tried the following with no success.

    // Changes to the insert template
    fvTicketEntry.C hangeMode(FormV iewMode.Insert) ;

    ((TextBox)fvTic ketEntry.Row.Fi ndControl("txtT itle")).Text = "Test Text";

    From the quickwatch the Text value is populated however on the form it
    is still empty.

    Any help would be appreciated

    Stuart

    *** Sent via Developersdex http://www.developersdex.com ***
Working...