use session in ResourceStyleMapping

2 posts, 0 answers
  1. Mohamad Javad
    Mohamad Javad avatar
    39 posts
    Member since:
    Jul 2014

    Posted 05 Apr 2015 Link to this post


    I need use session in ResourceStyleMapping Scheduler

    I use below code but don't work correctly :

                    <telerik:ResourceStyleMapping Type="User" Key= '<%= Session["user_Id"] %>' BackColor="Aqua"></telerik:ResourceStyleMapping>
                    <telerik:ResourceStyleMapping Type="User" Key="1" BackColor="Aqua"></telerik:ResourceStyleMapping>


    please help me.

  2. Plamen
    Plamen avatar
    2723 posts

    Posted 07 Apr 2015 Link to this post

    Hi Mohamad,

    If you want to use session we recommend setting the styles in the code behind in the AppointmentDataBound event as it is explained in this help topic.

    Hope this will help you solve the issue.


    See What's Next in App Development. Register for TelerikNEXT.

  3. DevCraft R3 2016 release webinar banner
Back to Top