Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Yannick Smits 321 posts 718 karma points
    Oct 03, 2013 @ 11:39
    Yannick Smits
    0

    locator datatype vs google maps datatype

    How is the included "locator" datatype different from Darren's Google Maps datatype? They seem to have similar functionality but different ID's.

    I ask because I'm getting an error while using it together with uComponents Datagrid Datatype. According to their compatibility sheet they should work together. But when I'm using Datagrid datatype with the Locator included in this package I'm gettint this error:

    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

    Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

    Source Error: 

    Line 26:             if (!this.Page.IsPostBack)
    Line 27:             {
    Line 28:                 if (this._parent.Data.Value.ToString().Contains(","))
    Line 29:                 {
    Line 30:                     string[] coordinates = this._parent.Data.Value.ToString().Split(",".ToCharArray());


    Source File: d:\Websites\demos\Nibble.Umb.Locator\Nibble.Umb.Locator\Datatypes\GoogleMapsGeocoder\GoogleMapsGeocoder.cs    Line: 28 

  • Tim Geyssens 6419 posts 15046 karma points MVP 2x c-trib
    Oct 03, 2013 @ 11:43
    Tim Geyssens
    100

    Yeah use Darren's instead it's better

  • Yannick Smits 321 posts 718 karma points
    Oct 03, 2013 @ 12:02
    Yannick Smits
    0

    Cool didn't know they were interchangable

Please Sign in or register to post replies

Write your reply to:

Draft