Skip to Content
This web log provides source code for creating custom develop DateNavigator control highlighting days with different colors.
image
I have used the MVC architecture to create the same
Created a controller named ZDateNavigator.do with class named ZCL_DateNavigator, In the class the following attributes are declared
image
In the DO_REQUEST method of the class ZCL_DateNavigator the following code is written
1) to call the view
2) to highlight the (required) days with different colors based on our requirement

Created the View named DateNavigator.htm and following code is written

Decalred the following attributes in the view as shown below
image
Two button images are uploaded into the system to navigate and a css file was used named fordate.css in which it contains the contents as below

For the navigation on button click following code is written in the do handle event of the class ZCL_DateNavigator

To report this post you need to login first.

1 Comment

You must be Logged on to comment or reply to a post.

Leave a Reply