Welcome Guest Search | Active Topics | Sign In | Register

DatePicker control Options
Venkat
Posted: Monday, January 7, 2008 4:47:24 PM
Rank: Member
Groups: Member

Joined: 9/28/2007
Posts: 20
Hi,
I am trying to implement a datepicker control as show in the sample of "Title template and Footer template".
I liked the feature of allowing users to select the Month and Year from a drop down.
I also saw the sample code provided for the same. However, I want to add a small feature to this menu in my application
which is "the month or year of the date should be Selected in menu when the user clicks the Month or Year drop down arrow."
for eg if user picked June 21 2007 as the date, then the Month menu drop down should have June as the selected month.
Could you provide some sample code for this request.

Thanks
eo_support
Posted: Monday, January 7, 2008 5:01:43 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi Venkat,

In order to select an item, you would need to call this function on the client side or set the menu item's Selected on the server side:

http://www.essentialobjects.com/ViewDoc.aspx?t=JSDoc.Public.NavigationItem.setSelected.html

This page explained how to use our client side JavaScript interface:

http://www.essentialobjects.com/ViewDoc.aspx?t=clientapi_howto.html

You would also need to provide a "Selected Style" to be used for menu items that are selected. You can find more information here:

http://www.essentialobjects.com/ViewDoc.aspx?t=MenuCommon%2fStyleAndAppearance%2fitem_state.html

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.