Now i know people either love or hate these things but i need to use them in a phonebook application i am writing.
I have created a basic ASP.NET webpage, inserted the tags and markup and it works a treat.......but when i copy the code over to my ATLAS enabled phonebook application it throws up an error "Unknown Error".
I have tried moving the markup about but it either doesnt produce a tag or throws the error and its driving me mad. If i strip all the ATLAS markup out of the page it works a treat.
Heres the general code
<
html xmlns="http://www.w3.org/1999/xhtml" xmlns:st1="urn:schemas:contacts"
xmlns:st2="urn:schemas-microsoft-com:office:smarttags" xmlns:o="urn:schemas-microsoft-com:office:office">
....
<
head runat="server">
<title>Untitled Page</title>
<link href="css/phone.css" rel="stylesheet" type="text/css" />
<link href="css/grid.css" rel="stylesheet" type="text/css" />
...
These next lines are the ones i believe are causing the problem.
<o:SmartTagType namespaceuri="urn:schemas:contacts" name="Sn"/>
<o:SmartTagType namespaceuri="urn:schemas:contacts" name="GivenName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<object
classid="clsid:38481807-CA0E-42D2-BF39-B33AF135CC4D" id="ieooui">
</object>
<style type="text/css">
st1\:*{behavior:url(#ieooui) }st2\:*{behavior:url(#ieooui) }
</style>
</head>
<body >
<form id="form1" runat="server" defaultbutton="btnSearch" defaultfocus="txtSearch">
<atlas:ScriptManager ID="ScriptManager" runat="server" EnablePartialRendering="true"/>
.....
<atlas:UpdatePanel ID="updateResults" runat="server">
<ContentTemplate>
<asp:DataList ID="dlResults" runat="server" Width="100%">
....
<st2:PersonName w:st="on">
<st1:GivenName w:st="on">Lee</st1:GivenName>
<st1:Sn w:st="on">Brennan</st1:Sn>
</st2:PersonName>
....
</asp:DataList>
</ContentTemplate>
<Triggers>
<atlas:ControlEventTrigger ControlID="btnSearch" EventName="Click" />
<atlas:ControlEventTrigger ControlID="ddlDepartments" EventName="SelectedIndexChanged" />
<atlas:ControlEventTrigger ControlID="ddlDivision" EventName="SelectedIndexChanged" />
</Triggers>
</atlas:UpdatePanel>
Any help on this would be greatly appreciated.
Thanks
Lee Brennan