Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

143
Views
showing listdata from database on calendar

I Have a holiday list in

HolidayMasterBusiness holidaymasterBusiness = new HolidayMasterBusiness();
        List<HolidayMasterModel> holidayList = holidaymasterBusiness.GetHolidayMasterList(Model.CompanyId);
    

Now in my form I want to show this holidayList data (which contains holidayName,Date) in my Calendear on form for which I use Java Script

document.addEventListener('DOMContentLoaded', function () { var calendarEl = document.getElementById('cal'); var calendar = new FullCalendar.Calendar(calendarEl, { plugins: ['dayGrid'], eventSources: [{ color: '#2BDE51', textColor: '#ffffff', events: [ { "title": "H", "start": "2022-06-01", "end": "2022-06-01" }, { "title": "H", "start": "2022-06-02", "end": "2019-06-02" }] }] }); calendar.render(); });
    Here 
       { "title": "H", "start": "2022-06-01", "end": "2022-06-01" },
                        { "title": "H", "start": "2022-06-02", "end": "2019-06-02" }] is dummy data.How Can I show data of holidaylist above from database.
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!