ATLAS and Office Smart Tags

Last post 08-17-2006 6:58 AM by yoadster2000. 2 replies.

Sort Posts:

  • ATLAS and Office Smart Tags

    08-16-2006, 7:15 AM
    • Member
      10 point Member
    • yoadster2000
    • Member since 08-16-2006, 7:04 AM
    • Posts 2

    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

  • Re: ATLAS and Office Smart Tags

    08-16-2006, 7:18 PM
    • All-Star
      25,662 point All-Star
    • Luis Abreu
    • Member since 02-12-2005, 6:22 AM
    • Madeira [Portugal]
    • Posts 5,368

    hello.

    start by using fiddler to get the response of the partial postback and then see if you have a valid xml response...

    --
    Regards,
    Luis Abreu
    email: labreu_at_gmail.com
    EN blog:http://msmvps.com/blogs/luisabreu
  • Re: ATLAS and Office Smart Tags

    08-17-2006, 6:58 AM
    • Member
      10 point Member
    • yoadster2000
    • Member since 08-16-2006, 7:04 AM
    • Posts 2
    thanks for that....i will give it a go.
Page 1 of 1 (3 items)