search envelope-o feed check
Home Unanswered Active Tags New Question

Questions Tagged sql-server

Gantt chart

gantt chart attech in asp.net c#?

Use with ASP.Net Core 6

Answered: Yes, no problem. DayPilot is a purely client-side solution so you can use it with any backend. This example includes a .NET 7 project but you can use the same source code with .NET 6 as well. You jus...

Can your products allow us to re-create this Scheduler/Timeline view?

Answered: Yes, this should be no problem. I’m including a couple of screenshots and links to features that will help you implement what you need: 1. The timeline can be customized as needed. If the built-in un...

Insert another textarea

Answered: You can use a custom modal dialog and add as many field as needed. Here is an example: async function modalText() { const form = [ {name: "Name", id: "name", type: "text"}, {name: "D...

Example does not work

Answered: I recommend checking the HTTP call to the API (backend_events.php) in the browser developer console (Network tab). Most likely, you will see a DB-related error instead of the expected JSON array with...

how i can change the slots to be 15 min replace of 60 min ?

Answered: You'll need to change the "SlotDurationMinutes" value in the Timeline class. using Project.Models; namespace Project.Service { public class Timeline { public static int Slo...

How do you make more than one employee run the same shift

Answered: Yes, there are many different scenarios that are not covered by this sample. To add more people to the same time and location, you can choose a solution depending on the workflow: 1. To allow more as...

Scheduler date problem

Answered: Try removing the following section from Page_Load: DayPilotScheduler1.Scale = TimeScale.Manual; DateTime start = new DateTime(DateTime.Today.Year, 1, 1, 12, 0, 0); DateTime end = start.AddYears(1...

Issue when rendering the scheduler

Answered: I recommend checking the data - it may contain invalid items which break the view. You can also check the JavaScript console to see if there are any errors.

Database Connection

Answered: I recommend exploring the downloadable project, it's a complete implementation of the sample application, including database connection.

Error ao inicialzar

Answered: This is the URL of the backend controller (Calendar/backend) that handles the internal calls made by the client-side library. If you open it directly in the browser, you will receive an error because...

Allocating a color to each event

Answered: Please see the documentation: https://doc.daypilot.org/month/event-customization/

Is this source code working with C# winform?

Answered: Unfortunately DayPilot Pro is only available for ASP.NET WebForms. It's possible to run the WebForms version in a WinForms application using an embedded browser (WebControl), but it's just a workarou...

No result, no data passing to stored procedure?

I am currently trying to implement the ASP.NET and Javascript DayPilot solutions with no luck. At the moment I am using a RecordSet to call from a SQL Database view, and this works. However, my onEve...

Link between assignment and recurrence

Answered: Please see the SQL schema at the bottom of the article. The recurrence information (serialized rule) is stored in AssignmentRecurrence field (Assignment table). DayPilot uses this rule to expand this...

calculation

If I want to add a calculation can you show me how? I downloaded the full booking system but for my school project, the system should have some sort of a calculation!

Database

Answered: The SQL Server database schema looks like this: CREATE TABLE [dbo].[Assignment] ( [AssignmentId] BIGINT IDENTITY (1, 1) NOT NULL, [AssignmentNote] VARCHAR (2000) NULL, [A...

Timetable Tutorial (ASP.NET, C#, VB.NET)

sir i have request to show how we will add in event to show time and in new event as it is note we are giving in the event

startDate

how to assign the Date on Start Date in Daypilot Scheduler Asp.net webforms

ERROR SHOW IN MY PROJECT

Answered: This tutorial required DayPilot Pro (the commercial version). It looks like you are using DayPilot Lite (the open-source version) which doesn't support all the features (e.g. SetScrollX() method).

VB.NET

Answered: Only by displaying the control using a WebBrowser component. Take a look at the following tutorial: https://code.daypilot.org/70282/daypilot-in-a-desktop-application-winforms

OnBeforeCellRender optimization

Answered: This event is called once for every cell. Therefore the implementation should be as fast as possible. You should avoid making database calls from there. Instead, load the required data in advance and...

Export to PNG

I am implementing the print functionality in a page that inherits master page in asp.net.so wen I clock on print the PNG generated has all the tabs n stuff which are in master page...How can I get on...

cancel booking

i want to coding of cancel room booking after booked that room asp.net

Demo failed in Visual Studio 2017

Hi The demo opened OK and built OK, however, when I ran it in Internet Explorer I got Server Error in '/' Application Exception Details: System.IO.FileLoadException: Could not load file or assembly '...

Updated sample for timesheet MVC 5 with pro

Hi can you share an updated sample on ASP timecard MVC 5, that also captures information like projects, bill rates etc

Grid Lines

Answered: If you mean the grid cells starting and ending at 12:00 (noon) instead of 00:00 (midnight) then this is implemented using a custom timeline feature: https://doc.daypilot.org/scheduler/timeline/ It's ...

Monthly Event Calendar - Steps after AJAX Calendar Event Moving not clear

Answered: To get it working you need these elements: 1. A MVC view with the calendar (Views/Home/Index.cshtml) 2. A controller action for this view (Controllers/HomeController.cs: Index() method) 3. A controll...

Remove "DEMO" tag on table

Answered: The DEMO label indicates that you are using a trial version of DayPilot Pro (which is bundled with the tutorial). In order to remove it you need to purchase a full license at http://www.daypilot.org/...

Any solution to this error?

Answered: You'll need to switch to the latest DayPilot Pro version - it doesn't use the AllowPartiallyTrustedCallers attribute anymore. http://mvc.daypilot.org/try/
Questions 1-30 of 47 Next