index > Team Foundation Server - Work Item Tracking > Contents of Dropdowns not read only?

Contents of Dropdowns not read only?


I have several dropdowns in my customized work item layout which get allowed values from global lists.

I note that I can type a load of garbage into the dropdowns at runtime - although the system won't let a user save a value that's not in the global list, it would be nicer to stop the user being able to type in at all. Of course, ReadOnly just means that no dropdown is displayed.

Any way I can stop users typing into dropdowns?

Acanthus

I don't think you can stop typing into dropdowns. But as you said, users can't save or publish the invalid value, also users will get an error message if they try to do that.

Sometimes the dropdown list can be very long and hard to find the one you need, so I think typing is useful in this situation.




Junyan
Jun Yan Lin

There is no simple way to do this I think.

The possible solution which comes to my mind is creating your own custom control for this, you will need TFS SP1, and here you have a really good instructions step-by-step on developing custom controls:

http://blogs.msdn.com/narend/archive/2006/10/02/How-to-use-Custom-Controls-in-Work-Item-Form.aspx




Luis Fraile - MCSD.NET - http://luisfraile.spaces.live.com/
Luis Fraile
Luis, thanks for your answer - I'm looking into Custom Controls for another issue I have with Work Items, but think I will be happy with the previous answer for this one - I wanted to make sure there wasn't something that I was missing.
Acanthus
reply 4

You can use google to search for other answers

 

More Articles

Work Item Access control based on Work Item Type?
Upload Bugs Database
System.Description Storage
Related items
WorkItemTracking error : The INSERT statement conflicted with the...
The Work Items node has a Red x
Problem with displaying "Work Items" for a <PROJECT&...
VS 2005 Team automatically includes local files into the solution...
Project->Tasks: bogus start dates?
Customizing Team Explorer
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

How to get the attachment file name usin…
Creating a Visual Studio Add-in for &quo…
WITIMPORT: Cannot complete the operation…
Project Name in queries?
Documentation for WIT types
Removing a work item
Custom Control Feature
How to rename Work Item Type?
Work Item automated email
Can't browse work items
No way to update AreaPath dropdown throu…
How to create query with filter "Re…
Work Items created in VS 2005 do not ape…
TFS and Project Server 2003
Assigning same task to multiple resources

Hot Articles

Creating a Visual Studio Add-in for &quo…
Work item Action list
WorkItem Class is not marked as serializ…
Exception using TFS client in Web App
Changing transition rules, only reason t…
Using Work Items for enhancement requests
Unassociate Project Server project from …
Synchronizing workitems with 3rd-party d…
Using Microsoft Project with TFS Work It…
Old Work Items missing from query
TF54000: Error TFS Clock time advanced
Work Item Tracking Transistions: Automat…
VSTO and VSTS integration
Can I edit scenarios on Project Portal?
Customize the history tab to give more i…

Recommend Articles

link work-items with other work-items , …
I would like to make a fount end browser…
Unassociate Project Server project from …
Unable to publish new project tasks
Scheduling with VSTS and MS Project
Issues with customizing Work Item "…
Problem mapping OutlineNumber
Actions and fields of work items
Http error when adding attachments to wo…
How do I change a WI type, from Scenario…
Automate "Add solution to Source co…
Work Item - LISTITEM Value to return the…
Customizing Team Explorer
Another MS Project Integration Question
Microsoft CRM