Hi,
I have added jQuery code in one user control file for displaying effect of slid down and slid up on click of link button. But it gives me error as like : Property or method does not support.
My code is shown below;
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="JqueryControl.ascx.cs"
Inherits="DotNetNuke.iExcel.modules.JqueryControl" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>
<script type="text/javascript" src="js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.7.2.custom.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.1.custom.min.js"></script>
<script type="text/javascript" src="js/JQuery1.4.1.js"></script>
<link href="js/jquery-ui-1.7.2.custom.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" language="javascript">
$(document).ready
(
function () {
debugger;
$("#dnn_linkDropDown1_nu").click
(
function () {
if ($("#divNewAcc").is(":hidden")) {
$("#divNewAcc").slideDown("slow");
}
else {
$("#divNewAcc").slideUp("slow");
}
}
)
}
);
</script>
<div>
<asp:LinkButton ID="nu" runat="server" OnClientClick="return false;">click</asp:LinkButton>
</div>
<div style="WIDTH: 32%; HEIGHT: 20%; BACKGROUND-COLOR: #c0d7ff; display:none" id="divNewAcc" >
<asp:DropDownList id="drpPrefix" runat="server" Width="42px">
<asp:ListItem Value="1">Mr.</asp:ListItem>
<asp:ListItem Value="2">Mrs.</asp:ListItem>
<asp:ListItem Value="3">Ms.</asp:ListItem>
</asp:DropDownList>
</div>