已锁定 Possible bug in TWA Custom Controls

  • 06 Maret 2012 13:57
     
     

    I'm currently developing a custom web control for twa 2010 and encountered the following:

    use a custom control with a field that provides values via ALLOWEDVALUES in the template.

    edit the field in twa, setting it to an invalid value, then hit 'save'.

    you will be notified, that the field has an invalid value.

    edit the field, setting it to a valid value again, then hit 'save'.

    you will still get the notification that the field has an invalid value.

    this can be reproduced using the custom control sample provided at http://www.ewaldhofman.nl/post/2010/08/10/Create-custom-work-item-control-for-TFS-Web-Access-2010-(TWA).aspx

    It seems that the workitem edit page is not performing a post back after the first 'save', thus the value on the datasource is never changed back to a valid value.

    Is there something missing in the sample the FieldControl type is doing but the BaseWorkitemWebControl is not?


    • Diedit oleh rguder 07 Maret 2012 9:57
    •  

Semua Balasan

  • 08 Maret 2012 6:10
    Moderator
     
     

    Hi rguder,

    Thank you for your question.

    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.

    Thank you for your understanding and support.

    Best Regards,


    Lily Wu [MSFT]
    MSDN Community Support | Feedback to us

  • 20 Maret 2012 19:52
    Pemilik
     
     Jawab

    Hi rguder,

    What build of Team System Web Access are you using? (Open TSWA and choose Help> About.)

    If you have TFS 2010, make sure you have installed SP1 for TFS 2010, and test the control again.

    Thanks!


    Trevor Hancock (Microsoft)
    Please remember to "Mark As Answer" the replies that help.