I don't know exactly how to express this problem because it may seem childish but this team member is a very difficult person.
For example when he's being given a task that is either important or difficult, he always asks the other members of the other teams about how to handle it. He doesn't come to ask the team leader or discuss about it with the team leader first.
So by doing this, the team member disturbs the activity of the other teams as well. Currently, he asked about 3 persons(and rising) to come to his computer and help him with the task he's having. And when they find an answer, he just stays feeling good that he's got the solution in less time than he had by researching himself.
This team member is also very proud and even if he doesn't have much programming knowledge, he thinks of himself that he's better than the other members and even better than the team leader.
Also, he really has an offensive and bad attitude against the team leader which is a woman and he never comes to talk with her about the given task.
Even if the others may provide a solution, talking and discussing about the task with your own team could improve the knowledge about that task inside your own team that knows the actual context of the issue and a lot more details than the others from the other teams could know. But still, he goes and asks the others, explains the whole context to them, etc. - he looses a lot of time.
How do you think the team leader should manage this difficult team member?