When i run my application it works fine but the design page giving error "Invalid Markup" and
The name "DatePicker" does not exist in the namespace "clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit".
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Suresh MRank #171 · 14K reputationPosted Sep 24, 2014, 9:24 PM EDT
You have to Add the below XAML namespace in your design page
xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
See this link
http://windowsapptutorials.wordpress.com/2014/06/05/list-picker-in-windows-phone-8/
http://www.c-sharpcorner.com/Blogs/15636/list-picker-in-windows-phone-8.aspx
ARABINDA SATAPATHY6 reputationPosted Sep 24, 2014, 10:14 PM EDT
When i run my application on emulator it shows the listpicker and datepicker but when i stop the debugging and move to design page then its giving error "Invalid Markup" . The namespace i have already added. Please see the attached error file.
Thanks
Arabinda
Suresh MRank #171 · 14K reputationPosted Sep 25, 2014, 1:29 AM EDT
Also see my sample its working fine .
Suresh MRank #171 · 14K reputationPosted Sep 25, 2014, 10:44 PM EDT
Check this .[Download this image and see the full image]