open popup using jquery dialog error

Posted by Praveen7k under jQuery on 3/13/2011 | Points: 10 | Views : 4167 | Status : [Member] | Replies : 0
hi here is my function
 <script type="text/javascript" language="javascript">
function Open() {
modal: true,
height: 'auto',
Width: 500,
title: 'comments'


<form id="form1" runat="server">
<div id="div1" runat="server" style="display:none">
<uc1:PopUp ID="PopUp1" runat="Server"></uc1:PopUp>
<asp:Button ID="button1" runat="server" Text="Submit" onclick="Open" />

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>


(No response found.)

Login to post response