ThinkGeo.com    |     Documentation    |     Premium Support

"Error creating control-UpdatePanel1" in Design mode of VS2008

Am using latest versin released on 11/19/2008. I followed the Quickstart guide, put a map in Updatepanel, when run, the map can be displayed. But everytime i switch to Design mode of VS2008, the map area, instead of displaying a ThinkGeo logo, it becomes a small box that says:


"Error Creating Control-UpdatePanel1, Unknown server tag 'cc1:Map'.


 


Although the map displays without problem when run (Ctrl+F5), but cannot view the whole page in Design mode is annoying. i dont know where i did wrong. Here is my code:


 



<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %> 
 
<%@ Register Assembly="WebEdition" Namespace="ThinkGeo.MapSuite.WebEdition" TagPrefix="cc1" %> 
 
<!DOCTYPE html PUBLIC  "-//W3C//DTD XHTML 1.0 Transitional//EN "  "w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd "> 
 
<html xmlns= "w3.org/1999/xhtml "> 
<head runat= "server "> 
    <title>Untitled Page</title> 
</head> 
<body> 
    <form id= "form1 " runat= "server "> 
         
        <asp:ScriptManager ID= "ScriptManager1 " runat= "server "> 
        </asp:ScriptManager> 
     
        <asp:UpdatePanel ID= "UpdatePanel1 " runat= "server "> 
           <ContentTemplate> 
                <cc1:Map ID= "Map1 " runat= "server " Height= "600px " Width= "800px "> 
                </cc1:Map> 
  
                <asp:Button ID= "Button1 " runat= "server " Text= "Button " OnClick= "Button1_Click " /> 
            
        </asp:UpdatePanel> 
         
    </form> 
</body> 
</html>


 






Ric,


We couldn’t recreate the problem. We used to have this issue but it should be solved in the current version (3.0.117). Can you make sure you are using the latest version?
 
Get the Version using code:
string version = Map.Version
Result should be “MapSuiteCore:3.0.117;WebEdition:3.0.117”
 
The images you post seem not be shown correctly, if problem still exists, can you post them again following the instructions here?
 
Ben