Click here to Skip to main content
15,445,997 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionModal show information Pin
Member 1490896420-Oct-20 0:59
MemberMember 1490896420-Oct-20 0:59 
QuestionRe: Modal show information Pin
ZurdoDev20-Oct-20 1:44
professionalZurdoDev20-Oct-20 1:44 
AnswerRe: Modal show information Pin
Member 1490896420-Oct-20 2:47
MemberMember 1490896420-Oct-20 2:47 
GeneralRe: Modal show information Pin
ZurdoDev20-Oct-20 2:48
professionalZurdoDev20-Oct-20 2:48 
AnswerRe: Modal show information Pin
ZurdoDev20-Oct-20 5:01
professionalZurdoDev20-Oct-20 5:01 
QuestionDisplay Tabs and details in ASP.Net MVC Pin
sagarpallavi18-Oct-20 17:21
Membersagarpallavi18-Oct-20 17:21 
AnswerRe: Display Tabs and details in ASP.Net MVC Pin
Richard MacCutchan18-Oct-20 21:55
mveRichard MacCutchan18-Oct-20 21:55 
QuestionFullCalendar button or click in day to add new event Pin
Member 1490896413-Oct-20 6:48
MemberMember 1490896413-Oct-20 6:48 
Hi,

I need help for add a new event in full calendar.
I need button ou click in day for open popup where add itens .

C++
<pre><script>


    //Jquery
    $(function () {
        CriarEventosCalendario();
    });

    //function CriarEventosCalendario() {
    function CriarEventosCalendario() {
    var events = @Json.Serialize(ViewBag.ListaEventos);
        //var events = [];


        @{
            foreach(var item in (List<AgendaModel>)ViewBag.ListaEventos)
                   {<text>events.push({
                     'id': @item.Id,
                     'title': '@item.Title',
                     'start': '@item.Start',
                     'end': '@item.End',
                     'allDay': false,
                     'color': '@item.Color',
                     'textColor': '@item.TextColor'
                   });</text>

            }

        }






        var calendarEl = document.getElementById('calendar');

        var calendar = new FullCalendar.Calendar(calendarEl, {
            plugins: ['interaction', 'dayGrid'],
            header: {
                left: 'prevYear,prev,next,nextYear today',
                center: 'title',
                right: 'dayGridMonth, dayGridWeek, dayGridDay'
            },
            eventClick: function () {

            },
            navlinks: true,
            editable: true,
            eventLimit: true,
            selectable: false,

           eventClick: function (evenObj, jsEvent, view) {

                   alert('Event: ' );


            },
          events: events,

        });

        calendar.render();
    }
</script>


Thanks for your help
QuestionRe: FullCalendar button or click in day to add new event Pin
ZurdoDev13-Oct-20 9:09
professionalZurdoDev13-Oct-20 9:09 
QuestionPDF to Images for encryption Pin
Member 105489775-Oct-20 4:30
MemberMember 105489775-Oct-20 4:30 
AnswerRe: PDF to Images for encryption Pin
F-ES Sitecore6-Oct-20 0:07
professionalF-ES Sitecore6-Oct-20 0:07 
GeneralRe: PDF to Images for encryption Pin
Member 105489776-Oct-20 3:21
MemberMember 105489776-Oct-20 3:21 
GeneralRe: PDF to Images for encryption Pin
F-ES Sitecore6-Oct-20 5:26
professionalF-ES Sitecore6-Oct-20 5:26 
GeneralRe: PDF to Images for encryption Pin
Member 105489776-Oct-20 5:57
MemberMember 105489776-Oct-20 5:57 
GeneralRe: PDF to Images for encryption Pin
Member 105489776-Oct-20 6:00
MemberMember 105489776-Oct-20 6:00 
GeneralRe: PDF to Images for encryption Pin
F-ES Sitecore6-Oct-20 6:08
professionalF-ES Sitecore6-Oct-20 6:08 
GeneralRe: PDF to Images for encryption Pin
Member 105489776-Oct-20 6:52
MemberMember 105489776-Oct-20 6:52 
GeneralRe: PDF to Images for encryption Pin
F-ES Sitecore6-Oct-20 10:45
professionalF-ES Sitecore6-Oct-20 10:45 
GeneralRe: PDF to Images for encryption Pin
Member 105489777-Oct-20 7:00
MemberMember 105489777-Oct-20 7:00 
GeneralRe: PDF to Images for encryption Pin
Member 105489776-Oct-20 3:22
MemberMember 105489776-Oct-20 3:22 
QuestionDynamically added controls effecting other controls Pin
Member 149556174-Oct-20 11:22
MemberMember 149556174-Oct-20 11:22 
AnswerRe: Dynamically added controls effecting other controls Pin
Richard Deeming5-Oct-20 2:55
mveRichard Deeming5-Oct-20 2:55 
GeneralRe: Dynamically added controls effecting other controls Pin
Member 149416716-Oct-20 1:16
MemberMember 149416716-Oct-20 1:16 
Questiontrying to get some measurement data to ASP from Microsoft SQL? Pin
auting824-Oct-20 11:07
Memberauting824-Oct-20 11:07 
AnswerRe: trying to get some measurement data to ASP from Microsoft SQL? Pin
Richard Deeming5-Oct-20 2:53
mveRichard Deeming5-Oct-20 2:53 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.