Hi all,
Hope doing well,
sir i am using one collapsible panel the code is like this:
<asp:Panel ID="showhidefilter1" runat="server" style="cursor:pointer">
<img src="../images/ico-filter.gif" />
<asp:Label ID="Label3" runat="server" Text="Show Filter" CssClass="urllink"></asp:Label></asp:Panel>
<ajt:CollapsiblePanelExtender ID="CollapsiblePanelExtender2" CollapseControlID="showhidefilter1" ExpandControlID="showhidefilter1" Collapsed="true" ExpandDirection="Vertical" CollapsedText="Show Filter" ExpandedText="Hide Filter" TargetControlID="Panel3"
runat="server" TextLabelID="Label3">
</ajt:CollapsiblePanelExtender>
so this panel name i am using as target control id.
now in linkbutton click event i called this panel id
some visible = false;
when i click on this link button getting this error message:
Microsoft JScript runtime error: Sys.ArgumentException: Failed to find element "ctl00_cphMain_showhidefilter1"
Parameter name: CollapseControlID
thanks