sorry your problem description is not very precise, let me know or share your code.
Hope this may help out you.Nidhi..