Delete and Backspace Keys Behave Differently in a Drop Down List Control
-
martedì 27 dicembre 2011 22:15We have an drop down list control that captures a string (say Dev Resource) which is not required on a work item. If we want to clear out that value by selecting the value and pressing the Backspace key, it clears out the list control and you can save with no value in that field. But if you do the same thing with the Delete key, it selects the first value in the list, therefore not allowing you to clear out that value. Is that the intended behavior?
Tutte le risposte
-
mercoledì 28 dicembre 2011 04:03Moderatore
Hi EdithRusson,
Thanks for your post.
In order to resolve this issue, I want to confirm some information with you:
1 What’s the version of your TFS and VS?
2 That drop list control is a custom control in your work item type?
3 Try to reproduce that scenario on the default control(string and not required) in your work item, the Delete key still can’t clear the value correctly?
4 Try to reproduce that scenario on other clients, will occur the same result with you?
5 I tried the scenario on a default work item control in my work item, the Backspace key and Delete key both clear value correctly.
If you have any further research of this issue, please share your experience here. If you can reproduce this scenario, please provide the detailed reproduce steps here.
John Qiao [MSFT]
MSDN Community Support | Feedback to us
-
mercoledì 28 dicembre 2011 15:05
1 What’s the version of your TFS and VS? both 2010, but we don't use the VS version, just the web version.
2 That drop list control is a custom control in your work item type? not it's not a custom control in my work item.
3 Try to reproduce that scenario on the default control(string and not required) in your work item, the Delete key still can’t clear the value correctly? correct if you mean default control as FieldControl, the rules for the field are are "ALLOWEXISTINGVALUE" and "ALLOWEDVALUES" of [project]\Contributors.
4 Try to reproduce that scenario on other clients, will occur the same result with you? Using Visual Studio, it does not do it.
5 I tried the scenario on a default work item control in my work item, the Backspace key and Delete key both clear value correctly. In the web version?
-
giovedì 29 dicembre 2011 02:37Moderatore
Hi EdithRusson,
Thanks for your reply.
Yes, I tested that scenario both in my TFS Web Access and Team Project portal, the Delete key works same with Backspace key in there.
Have you tried to open your TFS Web Access or Team Project portal on other clients, then open work item and delete value using Delete key, still occur the same issue?
John Qiao [MSFT]
MSDN Community Support | Feedback to us
-
giovedì 29 dicembre 2011 17:49
Hi John,
I just tried on 2 other machines and it's the same behavior, backspace works, delete doesn't.
Edith
-
venerdì 30 dicembre 2011 03:40Moderatore
Hi EdithRusson,
Thanks for your reply.
I want to confirm other information with you:
1 That behavior occurred in all the string work item field which in all your work item types? Or only happened in specific work item field which in specific work item type?
2 If this issue only happened in specific work item field, please share the field’s definition xml file here, I will follow your xml file to create the same Field in my work item type, then test it.
3 Does your Delete key work fine in other tools, for example Notepad?
4 Do you mean that reproduce that scenario in your VS 2010, the Backspace and Delete key both work fine, this issue only occurred in TFS Web Access?
John Qiao [MSFT]
MSDN Community Support | Feedback to us
-
venerdì 30 dicembre 2011 20:56
Hi John,
1 That behavior occurred in all the string work item field which in all your work item types? We only have one work item type, but it happens in all string work item fields in that work item. Or only happened in specific work item field which in specific work item type?
2 If this issue only happened in specific work item field, please share the field’s definition xml file here, I will follow your xml file to create the same Field in my work item type, then test it.
<FIELD name="QA Resource" refname="CostcoTravel.ResourceQA" type="String">
<ALLOWEXISTINGVALUE />
<ALLOWEDVALUES expanditems="true" filteritems="excludegroups">
<LISTITEM value="[project]\Contributors" />
</ALLOWEDVALUES>
</FIELD>
<Control FieldName="CostcoTravel.ResourceQA" Type="FieldControl" Label="QA Resource:" LabelPosition="Left" />
3 Does your Delete key work fine in other tools, for example Notepad? Yes, they both work normally in other apps like Notepad.
4 Do you mean that reproduce that scenario in your VS 2010, the Backspace and Delete key both work fine, this issue only occurred in TFS Web Access? Exactly!
Edith
-
lunedì 2 gennaio 2012 03:11Moderatore
Hi Edith,
Thanks for your reply.
I followed your xml file and imported that same field in my default Bud work item type(CMMI v5.0), then test Delete key in TFS Web Access, the Delete key still works fine in Web Access, I can’t reproduce your scenario.
This issue requires more troubleshooting and I can’t reproduce this scenario on my machine. If it is urgent issue, I suggest you to contact a Professional Support Service at http://support.microsoft.com/ to gain more support on this case.
John Qiao [MSFT]
MSDN Community Support | Feedback to us
-
martedì 3 gennaio 2012 15:47Moderatore
Which browser and browser version are you using?
http://blogs.msdn.com/edhintz -
martedì 3 gennaio 2012 15:56
Hi Ed,
We're using IE 8.0.6001.18702 128-bit cipher strength.
I'm on a Windows Server 2003 x64 sp2 r2.
Edith
-
mercoledì 4 gennaio 2012 02:54Moderatore
Hi Ed,
Thanks for your reply.
Can you reproduce this scenario?
John Qiao [MSFT]
MSDN Community Support | Feedback to us
-
martedì 24 gennaio 2012 17:51
This is a known issue and fixed in SP1.
Thanks
Serkan

