No Access to TemplateField in Gridview
I am trying to add a new TemplateField in Gridview. I can add the field using the GridView Smart Tag, but when I select the Edit Template option from the Smart Tag, the ItemTemplate panel is displayed, but I am disabled from clicking in the panel because the cursor becomes a "No Entry" symbol.
If I select the AlternatingItemTemplate i get the same problem.
However, if i come out of the smart tag and right click the new column and select "Edit Template", i can choose column4 (my new column) and VS displays all the templates available for the column. I still cannot select the ItemTemplate becasue the cursor is displayed a s a "No Entry" symbol. But, I can select the AlternatingItemTemplate and use the "back arrow" key which places an editing cursor in the ItemTemplate view. I can then type text into the template, but cannot insert any controls.
BTW The GridView control is in a ContentPlaceHolder Control (I am using a master page). The ""No Entry" symbol is the same as that you see when the cursor is anywhere outside the ContentPlaceHolder.
Have I got a setting wrong somewhere?
I'm sure I have done this before successfully, but cant see what I have set differently.
I've checked and dont see others reporting a similar problem.
I am using:
VS2008 Professional 9.0.30729.1 SP
ASP 3.5 SP1