Skip to content

Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI

    • About
    • DEV Tools
  • Windows Phone

    Get nearby locations using Bing maps – WP 8

    Published by

    Rajeev Pentyala

    on

    March 20, 2014

    Using ‘Bing Maps Task’ we can get the nearby locations (i.e., Hospitals,Coffee shops or Shopping malls) on the Map. Add a button to your XAML page and on ‘Click’ event handler place below code. using Windows.Devices.Geolocation; private async void btnMapTask_Click(object sender, RoutedEventArgs e)        { // Get the Current location Coordinates Geolocator geolocator…

    Continue reading →: Get nearby locations using Bing maps – WP 8
  • Windows Phone

    A first chance exception of type ‘System.Windows.Markup.XamlParseException’ – WP8

    Published by

    Rajeev Pentyala

    on

    March 19, 2014

    Other day I got below error while executing my application. A first chance exception of type ‘System.Windows.Markup.XamlParseException’ occurred in System.Windows.ni.dll The exception was in ‘App.xaml.cs’ file’s InitializeComponent() method Reason – There could be many reasons for the exception Even if there is an invalid space in your xaml file it…

    Continue reading →: A first chance exception of type ‘System.Windows.Markup.XamlParseException’ – WP8
  • Windows Phone

    Text to Speech – WP8

    Published by

    Rajeev Pentyala

    on

    March 17, 2014

    Windows Phone 8 has included the Text to Speech feature out of the box in the platform.Text to speech is very easy to use in your App (only takes 2 lines of code) using ‘SpeechSynthesizer’ class. Below is the code             var synthesizer = new SpeechSynthesizer(); await synthesizer.SpeakTextAsync(“Your text here”);…

    Continue reading →: Text to Speech – WP8
  • Windows Phone

    Playing a song from library – WP8

    Published by

    Rajeev Pentyala

    on

    March 13, 2014

    Here is the logic to play a particular song from library. Logic is to loop through all the songs in Media Library and if the song name matches to our song play the song. string favoriteSong = “mySong.mp3”; using (Microsoft.Xna.Framework.Media.MediaLibrary library = new Microsoft.Xna.Framework.Media.MediaLibrary())            { foreach (var song in library.Songs)               …

    Continue reading →: Playing a song from library – WP8
  • Windows Phone

    Setting the Start Page – Windows Phone 8

    Published by

    Rajeev Pentyala

    on

    March 12, 2014

    In my windows phone 8 application I have 2 xaml files. By default when you run the application, it opens ‘MainPage.xaml’. To set my second file (i.e., ‘MediaPlayer.xaml’) as start page. • Open ‘WMAppManifest.xml’ • In ‘Application UI’ tab, set Navigation Page = MediaPlayer.xaml We can also change it in App.xaml…

    Continue reading →: Setting the Start Page – Windows Phone 8
  • Windows Phone

    System.UnauthorizedAccessException – Windows Phone 8 application

    Published by

    Rajeev Pentyala

    on

    March 8, 2014

    These days I started practicing windows phone 8 applications. In my first application, I tried to call a number using Windows Phone Stack using below code. PhoneCallTask phoneCallTask = new PhoneCallTask(); phoneCallTask.PhoneNumber = “1234567890”; phoneCallTask.DisplayName = “Rajeev”; phoneCallTask.Show(); While executing the code block I got below exception An unhandled exception…

    Continue reading →: System.UnauthorizedAccessException – Windows Phone 8 application
  • CRM 2013

    CRM 2013 new form lay out and Notes control

    Published by

    Rajeev Pentyala

    on

    February 23, 2014

    In CRM 2013 when you create a new entity and open ‘Main’ Customization form, it looks as below It’s not how CRM 2011 form looks. In CRM 2011, you get separate ‘General’ and ‘Notes’ tabs How to get back CRM 2013 form like CRM 2011 with separate General and Notes tabs…

    Continue reading →: CRM 2013 new form lay out and Notes control
  • CRM 2013

    Command bar – CRM 2013

    Published by

    Rajeev Pentyala

    on

    February 18, 2014

    In CRM 2013, there is a major face-lift to the UI like no Navigation Bar, No conventional ribbons and introduction of ‘Command Bar’. Below are few points about CRM 2013 Command Bar The Ribbon Bar is still exists in CRM 2013, on non ‘refreshed’ entity Forms such as Connection Form and Price List Form,…

    Continue reading →: Command bar – CRM 2013
  • CRM

    Related entity not coming up in view filter

    Published by

    Rajeev Pentyala

    on

    February 9, 2014

    We got a below requirement Contacts and Users will have N:N relationship Create a view in Contact entity, to get ‘Contacts associated to User ‘ It’s a straight forward ask as all I need to create is a view in Contact, with filter criteria ‘Users contains data’. Isn’t it? So I,…

    Continue reading →: Related entity not coming up in view filter
  • CRM, JScript

    Get the view name of main grid using JScript

    Published by

    Rajeev Pentyala

    on

    January 29, 2014

    We got a requirement to Enable\disable ribbon button based on selected view. We used JScript to disable the button by getting the selected view name. Below is the script to get the selected view name of  Main Grid var viewName = “”; if (crmGrid && crmGrid.control) { viewName = crmGrid.control.get_viewTitle(); } 🙂

    Continue reading →: Get the view name of main grid using JScript
Previous Page Next Page
Visitors

2,152,375 hits

Top Posts
Getting Started: Build Your First Power Apps Code AppGetting Started: Build Your First Power Apps Code AppAugust 27, 2025Rajeev Pentyala
Claude Code 'VS Code' Extension: Enable 'Bypass Permissions' ModeClaude Code 'VS Code' Extension: Enable 'Bypass Permissions' ModeFebruary 5, 2026Rajeev Pentyala
Power Pages | Build a Site Using 'Claude Code' and the 'Power Pages Plugin'Power Pages | Build a Site Using 'Claude Code' and the 'Power Pages Plugin'March 15, 2026Rajeev Pentyala

Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI

  • Pinterest
  • Instagram
  • Facebook
  • Mail
    • About
    • DEV Tools

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Subscribe Subscribed
    • Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI
    • Join 480 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Rajeev Pentyala – Technical Blog on Power Platform, Azure and AI
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar

Notifications