ajax - Collapsible Panel in ASP.NET -


I am using ASP.NET AJAX control kit and I have a problem in my code using a brief panel Has been there. I have the following code:

  & lt; Table & gt; & Lt; Tr & gt; & Lt; Td square = "bg" & gt; & Lt; One square = "bg" href = "javascript: zero (0);" & Gt; & Lt; ASP: check box runat = "server" id = "chkSMSGrossRevenue" text = "gross revenue (daily, monthly, yearly)" /> & Lt; / A & gt; & Lt; ASP: panel runat = "server" id = "pnlSMSGrossRevenue" height = "0" & ​​gt; Trial & lt; / Asp: Panel & gt; & Lt; / TD & gt; & Lt; / TR & gt; & Lt; / Table & gt; & Lt; CC1: CollapsiblePanelExtender runat = "server" id = "cpeSMSGrossRevenue" TargetControlID = "pnlSMSGrossRevenue" ExpandControlID = "chkSMSGrossRevenue" CollapseControlID = "chkSMSGrossRevenue" & gt; & Lt; / CC1: CollapsiblePanelExtender & gt;  

What I'm trying to do is elaborate on my pane whenever my checkbox is correct and it collapses when there is a proper mark. The problem is, I always see the "test" work, which is in my panel ... so I do not consider it ever falling. When I click on the checkbox, it falls, but then immediately spreads again, does anyone tell me what I am doing?

Because you are opening the box from the unchecked box, to start collapsing

  collapsed = "true"  
the merge panel extender's property set

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -