I want to show only two weeks in my scheduler
Just use Days property:
<DayPilot:DayPilotScheduler runat="server" id="DayPilotScheduler1" Days="14" ... />