hi here is my function
<script type="text/javascript" language="javascript">
function Open() {
$("#div1").dialog({
modal: true,
height: 'auto',
Width: 500,
title: 'comments'
});
$("#div1").dialog('open');
}
</script>
<form id="form1" runat="server">
<div id="div1" runat="server" style="display:none">
<uc1:PopUp ID="PopUp1" runat="Server"></uc1:PopUp>
</div>
<asp:Button ID="button1" runat="server" Text="Submit" onclick="Open" />
</form>
When i run the application error is
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1061: 'ASP.default_aspx' does not contain a definition for 'Open' and no extension method 'Open' accepting a first argument of type 'ASP.default_aspx' could be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 32: <uc1:PopUp ID="PopUp1" runat="Server"></uc1:PopUp>
Line 33: </div>
Line 34: <asp:Button ID="button1" runat="server" Text="Submit" onclick="Open" />
Line 35: </form>
Line 36: </body>