Tag Archives: C#

Validation Of Viewstate MAC Failed

How to solve Validation Of Viewstate MAC Failed error in ASP.NET

If you are looking solution for one of the weird error “Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.” I

No Thumbnail

How to allow only number input in your code using C#

Being coder, we often have different challenges to write code to accomplish a task based on some exact requirement. Here we are going to learn how to allow the user only to write number not other characters like “a/A to z/Z” and other special characters

No Thumbnail

How to Save Image in Local Photos album of Windows Phone ?

Sometimes you may want to develop a windows phone app which containing many images to view like WallPaper app for Windows Phone LockScreen, Celebrity album, etc. It is quite easy to display images by using Image Control and passing source path to respective Image Control,

No Thumbnail

How to format texts of TextBlock using xaml in Windows Phone

Sometime you may want to write formatted text in your app to give more pleasant for an eye of users or to get more attention from the user, sometime you may also want to display text where first few parts should be bold, colorful with

No Thumbnail

How to pass values between pages in Windows Phone 8 using PhoneApplicationService

It is obvious that if your application redirects (navigate) from one page to another page, you will frequently want to pass values between these pages. Let’s consider an example where a user need to pass a value of a textbox from one page to another