Is it possible to declaratively specify the extenders? I'm trying with the collapsiblepanel. Have tried the following:
<control id="Panel1">
<behaviors>
<collapsiblePanel ScrollContents="false" ExpandControlID="LinkButton1" CollapseControlID="LinkButton1" Collapsed="false" TextLabelID="Label1" CollapsedText="images/window-iconify.png" ExpandedText="images/window-maximize.png" SuppressPostBack="true" />
</behaviors>
</control>
Panel1 is the target panel id.
Yes it's possible but you need to do a few things first:
1) Get the JS loaded. You can do this by copying the JS file to your project and adding a reference to it or having an extender on the form somewhere that does it for you.
2) Get the naming and namespace right. Drop an extender on a form and hook it up, and run the browser. Right click and look at the generated XML script.
it will be something like:
<atlasToolkit:collapsiblePanel ... />
No comments:
Post a Comment