I had finally gotten around to following the tutorials for an introduction to Entity Framework 4 and when got to the stage that required me to insert an EntityDataSource I hit a stumbling block: The EntityDataSource was being inserted as a long text snippet instead. Read on for a simple fix to this issue.