This is my first attempt at using ASP.Net 2.0, and Atlas.
I’ve got the basic page and Code Behind set up and working.
I need to dynamically create an Atlas HoverMenu, to drive a Placeholder in an aspx Page.
The difficulty that I foresee is with the HoverMenuExtender and embedded HoverMenu Properties.
Is it possible to do this? Any tips on how to go about it?
A skeleton of the expected markup/code is included for context:
.aspx Page:
<asp:GridView…>
<asp:TemplateField…>
<itemtemplate>
<asp:PlaceHolder…>
</asp:PlaceHolder>
</itemtemplate>
</asp:TemplateField…>
</asp:GridView…>
Code Behind:
// Code to create HoverMenu Control Panel and Embedded LinkButton; “Add” to Placeholder
No issues here
// Code to Create HoverMenu Target; “Add” to Placeholder
No issues here
//Code to Create HoverMenu Extender and embedded HoverMenuProperties
Can do? How to do?
//Desired content would emulate:
<cc1:HoverMenuExtender
ID="someVariable"
runat="server">
<cc1:HoverMenuProperties
TargetControlID=" someLabelVariable"
PopupControlID="someHovMenuControlPanelVariable"
PopupPosition="Right"
OffsetX="-40"
OffsetY="4"
PopDelay="50"
HoverCssClass="someCSSVariable">
</cc1:HoverMenuProperties>
</cc1:HoverMenuExtender>