How to call a page in silverlight:

How to call a page in silverlight:

     In silverlight you can use the following code to call a page with in silverlight project.

        void buttion_Click(object sender, RoutedEventArgs e)
        {
            this.Content = new MainPage();     //here MainPage is page name
        }

Comments

Popular posts from this blog

Upload Single/Multiple file by using the REST API and jQuery SharePoint 2013

A type named 'SP.Data. could not be resolved by the model error

Add content type to SharePoint List/Library using REST API