Using Address Locator in ASP.NET Web Form

Discussion created by chuckf74 on Jun 1, 2012
Is it possible to get an address locator to work inside of an web form?  I took this sample and put it into an aspx page.  It doesn't show anything, but when I take out the form tags it works fine.  What do I need to do to get it to work inside the form tags?

Here is the body with the form tags uncommented:

<body class="claro">
    <%--<form id="form1" runat="server">--%>
    <div id="mainWindow" dojotype="dijit.layout.BorderContainer" design="sidebar" gutters="false"
        style="width: 100%; height: 100%;">
        <div id="leftPane" class="roundedCorners" dojotype="dijit.layout.ContentPane" region="left">
            Enter an input address and the application will use the sample address locator to
            return the location for street addresses in the United States.
            <br />
            <textarea type="text" id="address" />380 New York St, Redlands</textArea>
            <br />
            <button dojotype="dijit.form.Button" onclick="locate()">
        <div id="map" class="roundedCorners shadow" dojotype="dijit.layout.ContentPane" region="center">