예제 #1
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenElement(4, "div");
                __builder2.AddAttribute(5, "class", "row");
                __builder2.AddMarkupContent(6, "\n      ");
                __builder2.OpenElement(7, "div");
                __builder2.AddAttribute(8, "class", "col-md-12");
                __builder2.AddMarkupContent(9, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenTemplateForm <TblGnAddressBookType> >(10);
                __builder2.AddAttribute(11, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <TblGnAddressBookType>(
#line 12 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                                            tblgnaddressbooktype

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(12, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 12 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                                            tblgnaddressbooktype != null

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(13, "Submit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <TblGnAddressBookType> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <TblGnAddressBookType>(this,
#line 12 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                                                                                                                                                                                                                                                                                            Form0Submit

#line default
#line hidden
                                                                                                                                                                                                                                                                                            )));
                __builder2.AddAttribute(14, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(15, "\n            ");
                    __builder3.OpenElement(16, "div");
                    __builder3.AddAttribute(17, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(18, "class", "row");
                    __builder3.AddMarkupContent(19, "\n              ");
                    __builder3.OpenElement(20, "div");
                    __builder3.AddAttribute(21, "class", "col-md-3");
                    __builder3.AddMarkupContent(22, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(23);
                    __builder3.AddAttribute(24, "Component", "AddressBookType_ID");
                    __builder3.AddAttribute(25, "style", "width: 100%");
                    __builder3.AddAttribute(26, "Text", "ID");
                    __builder3.AddComponentReferenceCapture(27, (__value) => {
#line 16 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                        label1 = (Radzen.Blazor.RadzenLabel)__value;

#line default
#line hidden
                    }
                                                            );
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(28, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(29, "\n              ");
                    __builder3.OpenElement(30, "div");
                    __builder3.AddAttribute(31, "class", "col-md-9");
                    __builder3.AddMarkupContent(32, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(33);
                    __builder3.AddAttribute(34, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 20 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                                                10

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(35, "style", "width: 100%");
                    __builder3.AddAttribute(36, "Name", "AddressBookType_ID");
                    __builder3.AddComponentReferenceCapture(37, (__value) => {
#line 20 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                        addressBookTypeId = (Radzen.Blazor.RadzenTextBox)__value;

#line default
#line hidden
                    }
                                                            );
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(38, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(39, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(40, "\n            ");
                    __builder3.OpenElement(41, "div");
                    __builder3.AddAttribute(42, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(43, "class", "row");
                    __builder3.AddMarkupContent(44, "\n              ");
                    __builder3.OpenElement(45, "div");
                    __builder3.AddAttribute(46, "class", "col-md-3");
                    __builder3.AddMarkupContent(47, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(48);
                    __builder3.AddAttribute(49, "Component", "AddressBookTypeText");
                    __builder3.AddAttribute(50, "style", "width: 100%");
                    __builder3.AddAttribute(51, "Text", "Text");
                    __builder3.AddComponentReferenceCapture(52, (__value) => {
#line 26 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                        label2 = (Radzen.Blazor.RadzenLabel)__value;

#line default
#line hidden
                    }
                                                            );
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(53, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(54, "\n              ");
                    __builder3.OpenElement(55, "div");
                    __builder3.AddAttribute(56, "class", "col-md-9");
                    __builder3.AddMarkupContent(57, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(58);
                    __builder3.AddAttribute(59, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 30 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                                                150

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(60, "style", "width: 100%");
                    __builder3.AddAttribute(61, "Name", "AddressBookTypeText");
                    __builder3.AddComponentReferenceCapture(62, (__value) => {
#line 30 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                        addressBookTypeText = (Radzen.Blazor.RadzenTextBox)__value;

#line default
#line hidden
                    }
                                                            );
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(63, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(64, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(65, "\n            ");
                    __builder3.OpenElement(66, "div");
                    __builder3.AddAttribute(67, "class", "row");
                    __builder3.AddMarkupContent(68, "\n              ");
                    __builder3.OpenElement(69, "div");
                    __builder3.AddAttribute(70, "class", "col offset-sm-3");
                    __builder3.AddMarkupContent(71, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(72);
                    __builder3.AddAttribute(73, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 36 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                                                ButtonStyle.Primary

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(74, "ButtonType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonType>(
#line 36 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                                                ButtonType.Submit

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(75, "Icon", "save");
                    __builder3.AddAttribute(76, "Text", "Save");
                    __builder3.AddComponentReferenceCapture(77, (__value) => {
#line 36 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                        button1 = (Radzen.Blazor.RadzenButton)__value;

#line default
#line hidden
                    }
                                                            );
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(78, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(79);
                    __builder3.AddAttribute(80, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 38 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                                                ButtonStyle.Light

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(81, "Text", "Cancel");
                    __builder3.AddAttribute(82, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 38 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                                                                                                                                                                                                                                                                                                                                                           Button2Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                           )));
                    __builder3.AddComponentReferenceCapture(83, (__value) => {
#line 38 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                        button2 = (Radzen.Blazor.RadzenButton)__value;

#line default
#line hidden
                    }
                                                            );
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(84, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(85, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(86, "\n          ");
                }
                                                                                                             ));
                __builder2.AddComponentReferenceCapture(87, (__value) => {
#line 12 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                    form0 = (Radzen.Blazor.RadzenTemplateForm <TblGnAddressBookType>)__value;

#line default
#line hidden
                }
                                                        );
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(88, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(89, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(90, "\n  ");
            }
                                                                                                       ));
            __builder.AddComponentReferenceCapture(91, (__value) => {
#line 8 "F:\GitHub02\RadZen-Projects\QuanLyBanHang\server\Pages\AddAddressbookType.razor"
                content1 = (Radzen.Blazor.RadzenContent)__value;

#line default
#line hidden
            }
                                                   );
            __builder.CloseComponent();
        }
예제 #2
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "top-row pl-4 navbar navbar-dark");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.AddMarkupContent(3, "<a class=\"navbar-brand\" href>BlazorIntro</a>\r\n    ");
            __builder.OpenElement(4, "button");
            __builder.AddAttribute(5, "class", "navbar-toggler");
            __builder.AddAttribute(6, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 3 "C:\Users\Lenovo\source\repos\BlazorIntro\BlazorIntro\Shared\NavMenu.razor"
                                                                                                                                                                   ToggleNavMenu

#line default
#line hidden
                                                                                                                                                                   ));
            __builder.AddMarkupContent(7, "\r\n        <span class=\"navbar-toggler-icon\"></span>\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(8, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(9, "\r\n\r\n");
            __builder.OpenElement(10, "div");
            __builder.AddAttribute(11, "class",
#line 8 "C:\Users\Lenovo\source\repos\BlazorIntro\BlazorIntro\Shared\NavMenu.razor"
                                   NavMenuCssClass

#line default
#line hidden
                                   );
            __builder.AddAttribute(12, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 8 "C:\Users\Lenovo\source\repos\BlazorIntro\BlazorIntro\Shared\NavMenu.razor"
                                                                                                                                                                    ToggleNavMenu

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(13, "\r\n    ");
            __builder.OpenElement(14, "ul");
            __builder.AddAttribute(15, "class", "nav flex-column");
            __builder.AddMarkupContent(16, "\r\n        ");
            __builder.OpenElement(17, "li");
            __builder.AddAttribute(18, "class", "nav-item px-3");
            __builder.AddMarkupContent(19, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(20);
            __builder.AddAttribute(21, "class", "nav-link");
            __builder.AddAttribute(22, "href", "");
            __builder.AddAttribute(23, "Match", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.Routing.NavLinkMatch>(
#line 11 "C:\Users\Lenovo\source\repos\BlazorIntro\BlazorIntro\Shared\NavMenu.razor"
                                       NavLinkMatch.All

#line default
#line hidden
                                       ));
            __builder.AddAttribute(24, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(25, "\r\n                <span class=\"oi oi-home\" aria-hidden=\"true\"></span> Home\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(26, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(27, "\r\n        ");
            __builder.OpenElement(28, "li");
            __builder.AddAttribute(29, "class", "nav-item px-3");
            __builder.AddMarkupContent(30, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(31);
            __builder.AddAttribute(32, "class", "nav-link");
            __builder.AddAttribute(33, "href", "counter");
            __builder.AddAttribute(34, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(35, "\r\n                <span class=\"oi oi-plus\" aria-hidden=\"true\"></span> Counter\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(36, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(37, "\r\n        ");
            __builder.OpenElement(38, "li");
            __builder.AddAttribute(39, "class", "nav-item px-3");
            __builder.AddMarkupContent(40, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(41);
            __builder.AddAttribute(42, "class", "nav-link");
            __builder.AddAttribute(43, "href", "fetchdata");
            __builder.AddAttribute(44, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(45, "\r\n                <span class=\"oi oi-list-rich\" aria-hidden=\"true\"></span> Fetch data\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(46, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(47, "\r\n\r\n        ");
            __builder.OpenElement(48, "li");
            __builder.AddAttribute(49, "class", "nav-item px-3");
            __builder.AddMarkupContent(50, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(51);
            __builder.AddAttribute(52, "class", "nav-link");
            __builder.AddAttribute(53, "href", "todo");
            __builder.AddAttribute(54, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(55, "\r\n                <span class=\"oi oi-list-rich\" aria-hidden=\"true\"></span> Todo List\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(56, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(57, "\r\n\r\n        ");
            __builder.OpenElement(58, "li");
            __builder.AddAttribute(59, "class", "nav-item px-3");
            __builder.AddMarkupContent(60, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(61);
            __builder.AddAttribute(62, "class", "nav-link");
            __builder.AddAttribute(63, "href", "student");
            __builder.AddAttribute(64, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(65, "\r\n                <span class=\"oi oi-list-rich\" aria-hidden=\"true\"></span> Student List\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(66, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(67, "\r\n\r\n        ");
            __builder.OpenElement(68, "li");
            __builder.AddAttribute(69, "class", "nav-item px-3");
            __builder.AddMarkupContent(70, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(71);
            __builder.AddAttribute(72, "class", "nav-link");
            __builder.AddAttribute(73, "href", "multipleparameter");
            __builder.AddAttribute(74, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(75, "\r\n                <span class=\"oi oi-list-rich\" aria-hidden=\"true\"></span> Multiple Parameter\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(76, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(77, "\r\n\r\n        ");
            __builder.OpenElement(78, "li");
            __builder.AddAttribute(79, "class", "nav-item px-3");
            __builder.AddMarkupContent(80, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(81);
            __builder.AddAttribute(82, "class", "nav-link");
            __builder.AddAttribute(83, "href", "binding");
            __builder.AddAttribute(84, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(85, "\r\n                <span class=\"oi oi-list-rich\" aria-hidden=\"true\"></span> Binding\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(86, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(87, "\r\n\r\n        ");
            __builder.OpenElement(88, "li");
            __builder.AddAttribute(89, "class", "nav-item px-3");
            __builder.AddMarkupContent(90, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(91);
            __builder.AddAttribute(92, "class", "nav-link");
            __builder.AddAttribute(93, "href", "validation");
            __builder.AddAttribute(94, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(95, "\r\n                <span class=\"oi oi-list-rich\" aria-hidden=\"true\"></span> Validation\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(96, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(97, "\r\n\r\n        ");
            __builder.OpenElement(98, "li");
            __builder.AddAttribute(99, "class", "nav-item px-3");
            __builder.AddMarkupContent(100, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(101);
            __builder.AddAttribute(102, "class", "nav-link");
            __builder.AddAttribute(103, "href", "productadd");
            __builder.AddAttribute(104, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(105, "\r\n                <span class=\"oi oi-list-rich\" aria-hidden=\"true\"></span> Add Product\r\n            ");
            }
                                                                                                         ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(106, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(107, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(108, "\r\n");
            __builder.CloseElement();
        }
예제 #3
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.AddMarkupContent(0, "<h1>Courses</h1>\n\n");
            __builder.AddMarkupContent(1, "<button>Table Format</button>\n");
            __builder.AddMarkupContent(2, "<button>Drop-down Format</button>\n\n");
#line 9 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
            if (courseReq.Courses == null)
            {
#line default
#line hidden
                __builder.AddContent(3, "    ");
                __builder.AddMarkupContent(4, "<p><em>Loading...</em></p>\n");
#line 12 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
            }
            else
            {
#line default
#line hidden
#line 15 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                foreach (var course in courseReq.Courses)
                {
#line default
#line hidden
                    __builder.OpenElement(5, "details");
                    __builder.AddMarkupContent(6, "\n    ");
                    __builder.OpenElement(7, "summary");
                    __builder.AddAttribute(8, "class", "lead");
                    __builder.AddAttribute(9, "open", "True");
                    __builder.AddContent(10,
#line 18 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                                         course.Name

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(11, "\n    ");
                    __builder.OpenElement(12, "ul");
                    __builder.AddAttribute(13, "class", "list-group");
                    __builder.AddMarkupContent(14, "\n");
#line 20 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                    foreach (var topic in course.Topics)
                    {
#line default
#line hidden
                        __builder.AddContent(15, "        ");
                        __builder.OpenElement(16, "li");
                        __builder.AddAttribute(17, "class", "list-group-item");
                        __builder.AddMarkupContent(18, "\n        ");
                        __builder.OpenElement(19, "details");
                        __builder.AddMarkupContent(20, "\n            ");
                        __builder.OpenElement(21, "summary");
                        __builder.AddContent(22,
#line 24 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                                             topic.Name

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(23, "\n            ");
                        __builder.OpenElement(24, "table");
                        __builder.AddAttribute(25, "class", "table table-hover");
                        __builder.AddMarkupContent(26, "\n            ");
                        __builder.AddMarkupContent(27, "<thead>\n                <tr>\n                    <th>Name</th>\n                    <th>Priority</th>\n                    <th>Master</th>\n                </tr>   \n            </thead>\n            ");
                        __builder.OpenElement(28, "tbody");
                        __builder.AddMarkupContent(29, "\n");
#line 34 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                        foreach (var concept in topic.Concepts)
                        {
#line default
#line hidden
                            __builder.AddContent(30, "            ");
                            __builder.OpenElement(31, "tr");
                            __builder.AddMarkupContent(32, "\n                ");
                            __builder.OpenComponent <CDClient.Pages.ConceptComponent>(33);
                            __builder.AddAttribute(34, "Concept", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <CDClient.Concept>(
#line 37 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                                                       concept

#line default
#line hidden
                                                       ));
                            __builder.CloseComponent();
                            __builder.AddMarkupContent(35, "\n            ");
                            __builder.CloseElement();
                            __builder.AddMarkupContent(36, "  \n");
#line 39 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                        }

#line default
#line hidden
                        __builder.AddContent(37, "            ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(38, "\n            ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(39, "\n\n        ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(40, "\n        ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(41, "\n");
#line 45 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                    }

#line default
#line hidden
                    __builder.AddContent(42, "    ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(43, "\n");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(44, "\n");
#line 48 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                }

#line default
#line hidden
                __builder.AddContent(45, "    ");
                __builder.OpenElement(46, "table");
                __builder.AddAttribute(47, "class", "table");
                __builder.AddMarkupContent(48, "\n\n        ");
                __builder.OpenElement(49, "tbody");
                __builder.AddMarkupContent(50, "            \n");
#line 54 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                foreach (var course in courseReq.Courses)
                {
#line default
#line hidden
                    __builder.AddContent(51, "                ");
                    __builder.OpenElement(52, "tr");
                    __builder.AddMarkupContent(53, "\n                    ");
                    __builder.OpenElement(54, "td");
                    __builder.AddContent(55,
#line 57 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                                         course.Name

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(56, "\n                    \n");
#line 59 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                    foreach (var topic in course.Topics)
                    {
#line default
#line hidden
                        __builder.AddContent(57, "                        ");
                        __builder.OpenElement(58, "tr");
                        __builder.AddMarkupContent(59, "\n                            ");
                        __builder.OpenElement(60, "td");
                        __builder.AddContent(61,
#line 62 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                                             topic.Name

#line default
#line hidden
                                             );
                        __builder.CloseElement();
                        __builder.AddMarkupContent(62, "\n                            \n");
#line 65 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                        foreach (var concept in topic.Concepts)
                        {
#line default
#line hidden
                            __builder.AddContent(63, "                            ");
                            __builder.OpenElement(64, "tr");
                            __builder.AddMarkupContent(65, "\n                                ");
                            __builder.OpenElement(66, "td");
                            __builder.AddContent(67,
#line 67 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                                                 concept.Name

#line default
#line hidden
                                                 );
                            __builder.CloseElement();
                            __builder.AddMarkupContent(68, "\n                                ");
                            __builder.OpenElement(69, "td");
                            __builder.AddContent(70,
#line 68 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                                                 concept.Priority

#line default
#line hidden
                                                 );
                            __builder.AddMarkupContent(71, "\n                                    ");
                            __builder.OpenElement(72, "button");
                            __builder.AddAttribute(73, "class", "btn btn-primary");
                            __builder.AddAttribute(74, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 69 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                                                                                                                                                                                    concept.decPriority

#line default
#line hidden
                                                                                                                                                                                    ));
                            __builder.AddContent(75, "-");
                            __builder.CloseElement();
                            __builder.AddMarkupContent(76, "\n                                    ");
                            __builder.OpenElement(77, "button");
                            __builder.AddAttribute(78, "class", "btn btn-primary");
                            __builder.AddAttribute(79, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 70 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                                                                                                                                                                                    concept.incPriority

#line default
#line hidden
                                                                                                                                                                                    ));
                            __builder.AddContent(80, "+");
                            __builder.CloseElement();
                            __builder.AddMarkupContent(81, "\n                                ");
                            __builder.CloseElement();
                            __builder.AddMarkupContent(82, "\n                                ");
                            __builder.OpenElement(83, "td");
                            __builder.AddContent(84,
#line 72 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                                                 concept.Mastery

#line default
#line hidden
                                                 );
                            __builder.AddMarkupContent(85, "\n                                    ");
                            __builder.OpenElement(86, "button");
                            __builder.AddAttribute(87, "class", "btn btn-primary");
                            __builder.AddAttribute(88, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 73 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                                                                                                                                                                                    concept.decMastery

#line default
#line hidden
                                                                                                                                                                                    ));
                            __builder.AddContent(89, "-");
                            __builder.CloseElement();
                            __builder.AddMarkupContent(90, "\n                                    ");
                            __builder.OpenElement(91, "button");
                            __builder.AddAttribute(92, "class", "btn btn-primary");
                            __builder.AddAttribute(93, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 74 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                                                                                                                                                                                    concept.incMastery

#line default
#line hidden
                                                                                                                                                                                    ));
                            __builder.AddContent(94, "+");
                            __builder.CloseElement();
                            __builder.AddMarkupContent(95, "\n                                ");
                            __builder.CloseElement();
                            __builder.AddMarkupContent(96, "\n\n                            ");
                            __builder.CloseElement();
                            __builder.AddMarkupContent(97, "  \n");
#line 78 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                        }

#line default
#line hidden
                        __builder.AddContent(98, "                        ");
                        __builder.CloseElement();
                        __builder.AddMarkupContent(99, "\n");
#line 80 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                    }

#line default
#line hidden
                    __builder.AddContent(100, "                ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(101, "\n");
#line 82 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
                }

#line default
#line hidden
                __builder.AddMarkupContent(102, "            \n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(103, "\n    ");
                __builder.CloseElement();
                __builder.AddMarkupContent(104, "\n");
#line 86 "/Users/brandontong/Documents/GitHub/ConceptDown/CDClient/Pages/Courses.razor"
            }

#line default
#line hidden
        }
예제 #4
0
 #pragma warning disable 1998
 protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
 {
     __builder.OpenComponent <Test.MyComponent>(0);
     __builder.CloseComponent();
 }
예제 #5
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenDialog>(0);
            __builder.CloseComponent();
            __builder.AddMarkupContent(1, "\n");
            __builder.OpenComponent <Radzen.Blazor.RadzenNotification>(2);
            __builder.CloseComponent();
            __builder.AddMarkupContent(3, "\n\n");
            __builder.OpenComponent <Radzen.Blazor.RadzenHeader>(4);
            __builder.AddAttribute(5, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(6, "\n    ");
                __builder2.OpenElement(7, "div");
                __builder2.AddAttribute(8, "class", "row justify-content-start align-items-center");
                __builder2.AddMarkupContent(9, "\n      ");
                __builder2.OpenElement(10, "div");
                __builder2.AddAttribute(11, "class", "col-md-6 d-flex align-items-center");
                __builder2.AddMarkupContent(12, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenSidebarToggle>(13);
                __builder2.AddAttribute(14, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.EventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.EventArgs>(this,
#line 13 "C:\SoccerLeagueTransfer\server\Shared\MainLayout.razor"
                                                                                                                                                                                                                                                                                   SidebarToggle0Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                   )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(15, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenLabel>(16);
                __builder2.AddAttribute(17, "Text", "SoccerLeagueTransferApp");
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(18, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(19, "\n      ");
                __builder2.AddMarkupContent(20, "<div class=\"col-md-6 text-lg-right\">\n      </div>\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(21, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(22, "\n");
            __builder.OpenComponent <Radzen.Blazor.RadzenBody>(23);
            __builder.AddAttribute(24, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(25, "\n    ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenContentContainer>(26);
                __builder2.AddAttribute(27, "Name", "main");
                __builder2.AddAttribute(28, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(29, "\n    ");
                    __builder3.AddContent(30,
#line 26 "C:\SoccerLeagueTransfer\server\Shared\MainLayout.razor"
                                          Body

#line default
#line hidden
                                          );
                    __builder3.AddMarkupContent(31, "\n    ");
                }
                                                                                                             ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(32, "\n  ");
            }
                                                                                                        ));
            __builder.AddComponentReferenceCapture(33, (__value) => {
#line 23 "C:\SoccerLeagueTransfer\server\Shared\MainLayout.razor"
                body0 = (Radzen.Blazor.RadzenBody)__value;

#line default
#line hidden
            }
                                                   );
            __builder.CloseComponent();
            __builder.AddMarkupContent(34, "\n");
            __builder.OpenComponent <Radzen.Blazor.RadzenSidebar>(35);
            __builder.AddAttribute(36, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(37, "\n    ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenPanelMenu>(38);
                __builder2.AddAttribute(39, "style", "height: 100%");
                __builder2.AddAttribute(40, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(41, "\n        ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPanelMenuItem>(42);
                    __builder3.AddAttribute(43, "Path", "change-your-password");
                    __builder3.AddAttribute(44, "Text", "Change Your Password");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(45, "\n        ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPanelMenuItem>(46);
                    __builder3.AddAttribute(47, "Path", "genders");
                    __builder3.AddAttribute(48, "Text", "Genders");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(49, "\n        ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPanelMenuItem>(50);
                    __builder3.AddAttribute(51, "Path", "players");
                    __builder3.AddAttribute(52, "Text", "Players");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(53, "\n        ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPanelMenuItem>(54);
                    __builder3.AddAttribute(55, "Path", "player-positions");
                    __builder3.AddAttribute(56, "Text", "Player Positions");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(57, "\n        ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPanelMenuItem>(58);
                    __builder3.AddAttribute(59, "Path", "player-transfers");
                    __builder3.AddAttribute(60, "Text", "Player Transfers");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(61, "\n        ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPanelMenuItem>(62);
                    __builder3.AddAttribute(63, "Path", "roles");
                    __builder3.AddAttribute(64, "Text", "Roles");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(65, "\n        ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPanelMenuItem>(66);
                    __builder3.AddAttribute(67, "Path", "transfer-types");
                    __builder3.AddAttribute(68, "Text", "Transfer Types");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(69, "\n        ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPanelMenuItem>(70);
                    __builder3.AddAttribute(71, "Path", "users-in-roles");
                    __builder3.AddAttribute(72, "Text", "Users In Roles");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(73, "\n        ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPanelMenuItem>(74);
                    __builder3.AddAttribute(75, "Path", "users");
                    __builder3.AddAttribute(76, "Text", "Users");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(77, "\n        ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPanelMenuItem>(78);
                    __builder3.AddAttribute(79, "Path", "club-detail");
                    __builder3.AddAttribute(80, "Text", "Club Detail");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(81, "\n      ");
                }
                                                                                                             ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(82, "\n  ");
            }
                                                                                                        ));
            __builder.AddComponentReferenceCapture(83, (__value) => {
#line 30 "C:\SoccerLeagueTransfer\server\Shared\MainLayout.razor"
                sidebar0 = (Radzen.Blazor.RadzenSidebar)__value;

#line default
#line hidden
            }
                                                   );
            __builder.CloseComponent();
            __builder.AddMarkupContent(84, "\n");
            __builder.OpenComponent <Radzen.Blazor.RadzenFooter>(85);
            __builder.AddAttribute(86, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(87, "\n    ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenLabel>(88);
                __builder2.AddAttribute(89, "Text", "SoccerLeagueTransferApp, Copyright Ⓒ 2020");
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(90, "\n  ");
            }
                                                                                                        ));
            __builder.CloseComponent();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenHeading>(4);
                __builder2.AddAttribute(5, "Size", "H1");
                __builder2.AddAttribute(6, "Text", "Roles");
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(7, "\n    ");
                __builder2.OpenElement(8, "div");
                __builder2.AddAttribute(9, "class", "row");
                __builder2.AddMarkupContent(10, "\n      ");
                __builder2.OpenElement(11, "div");
                __builder2.AddAttribute(12, "class", "col-md-12");
                __builder2.AddMarkupContent(13, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenButton>(14);
                __builder2.AddAttribute(15, "Icon", "add_circle_outline");
                __builder2.AddAttribute(16, "style", "margin-bottom: 10px");
                __builder2.AddAttribute(17, "Text", "Add");
                __builder2.AddAttribute(18, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 19 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\ApplicationRoles.razor"
                                                                                                                                                                                                                                                                                                                                                       Button0Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                       )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(19, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenGrid <IdentityRole> >(20);
                __builder2.AddAttribute(21, "AllowFiltering", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 21 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\ApplicationRoles.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(22, "AllowPaging", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 21 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\ApplicationRoles.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(23, "AllowSorting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 21 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\ApplicationRoles.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(24, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Collections.Generic.IEnumerable <IdentityRole> >(
#line 21 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\ApplicationRoles.razor"
                                            roles

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(25, "Columns", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(26, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <IdentityRole> >(27);
                    __builder3.AddAttribute(28, "Property", "Name");
                    __builder3.AddAttribute(29, "Title", "Name");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(30, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <IdentityRole> >(31);
                    __builder3.AddAttribute(32, "Filterable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 25 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\ApplicationRoles.razor"
                                                false

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(33, "Sortable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 25 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\ApplicationRoles.razor"
                                                false

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(34, "Width", "70px");
                    __builder3.AddAttribute(35, "Template", (Microsoft.AspNetCore.Components.RenderFragment <IdentityRole>)((identityRole) => (__builder4) => {
                        __builder4.AddMarkupContent(36, "\n                ");
                        __builder4.OpenComponent <Radzen.Blazor.RadzenButton>(37);
                        __builder4.AddAttribute(38, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 27 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\ApplicationRoles.razor"
                                                    ButtonStyle.Danger

#line default
#line hidden
                                                    ));
                        __builder4.AddAttribute(39, "Icon", "close");
                        __builder4.AddAttribute(40, "Size", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonSize>(
#line 27 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\ApplicationRoles.razor"
                                                    ButtonSize.Small

#line default
#line hidden
                                                    ));
                        __builder4.AddAttribute(41, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 27 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\ApplicationRoles.razor"
                                                                                                                                                                                                                                                                                                                                                               (args) => GridDeleteButtonClick(args, identityRole)

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                               )));
                        __builder4.AddEventStopPropagationAttribute(42, "onclick",
#line 27 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\ApplicationRoles.razor"
                                                                    true

#line default
#line hidden
                                                                    );
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(43, "\n              ");
                    }
                                                                                                                            ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(44, "\n          ");
                }
                                                                                                        ));
                __builder2.AddComponentReferenceCapture(45, (__value) => {
#line 21 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\ApplicationRoles.razor"
                    grid0 = (Radzen.Blazor.RadzenGrid <IdentityRole>)__value;

#line default
#line hidden
                }
                                                        );
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(46, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(47, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(48, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #7
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "contentContainer0");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenElement(4, "div");
                __builder2.AddAttribute(5, "style", true);
                __builder2.AddAttribute(6, "class", "row");
                __builder2.AddMarkupContent(7, "\n      ");
                __builder2.OpenElement(8, "div");
                __builder2.AddAttribute(9, "class", "col-md-9");
                __builder2.AddMarkupContent(10, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenLabel>(11);
                __builder2.AddAttribute(12, "style", "font-weight: bold");
                __builder2.AddAttribute(13, "Text", "Item no longer available.");
                __builder2.AddAttribute(14, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 12 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                            !canEdit

#line default
#line hidden
                                            ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(15, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(16, "\n      ");
                __builder2.OpenElement(17, "div");
                __builder2.AddAttribute(18, "class", "col-md-3");
                __builder2.AddMarkupContent(19, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenButton>(20);
                __builder2.AddAttribute(21, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 16 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                            ButtonStyle.Secondary

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(22, "style", "margin-bottom: 20px");
                __builder2.AddAttribute(23, "Text", "Close");
                __builder2.AddAttribute(24, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                            !canEdit

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(25, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 16 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                                                                                                                                                                                                                                                                                                                                       CloseButtonClick

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                       )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(26, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(27, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(28, "\n    ");
                __builder2.OpenElement(29, "div");
                __builder2.AddAttribute(30, "class", "row");
                __builder2.AddMarkupContent(31, "\n      ");
                __builder2.OpenElement(32, "div");
                __builder2.AddAttribute(33, "class", "col-md-12");
                __builder2.AddMarkupContent(34, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenTemplateForm <ErpCan.Models.CanErpDbAt132.TblGnGender> >(35);
                __builder2.AddAttribute(36, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <ErpCan.Models.CanErpDbAt132.TblGnGender>(
#line 22 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                            tblgngender

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(37, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 22 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                            tblgngender != null && canEdit

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(38, "Submit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <ErpCan.Models.CanErpDbAt132.TblGnGender> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <ErpCan.Models.CanErpDbAt132.TblGnGender>(this,
#line 22 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                                                                                                                                                                                                                                                                                                                  Form0Submit

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                  )));
                __builder2.AddAttribute(39, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(40, "\n            ");
                    __builder3.OpenElement(41, "div");
                    __builder3.AddAttribute(42, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(43, "class", "row");
                    __builder3.AddMarkupContent(44, "\n              ");
                    __builder3.OpenElement(45, "div");
                    __builder3.AddAttribute(46, "class", "col-md-3");
                    __builder3.AddMarkupContent(47, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(48);
                    __builder3.AddAttribute(49, "Text", "Gender Id");
                    __builder3.AddAttribute(50, "Component", "Gender_ID");
                    __builder3.AddAttribute(51, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(52, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(53, "\n              ");
                    __builder3.OpenElement(54, "div");
                    __builder3.AddAttribute(55, "class", "col-md-9");
                    __builder3.AddMarkupContent(56, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(57);
                    __builder3.AddAttribute(58, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 30 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                                6

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(59, "style", "width: 100%");
                    __builder3.AddAttribute(60, "Name", "Gender_ID");
                    __builder3.AddAttribute(61, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 30 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                                (tblgngender.Gender_ID)

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(62, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => (tblgngender.Gender_ID) = __value, (tblgngender.Gender_ID)))));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(63, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(64, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(65, "\n            ");
                    __builder3.OpenElement(66, "div");
                    __builder3.AddAttribute(67, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(68, "class", "row");
                    __builder3.AddMarkupContent(69, "\n              ");
                    __builder3.OpenElement(70, "div");
                    __builder3.AddAttribute(71, "class", "col-md-3");
                    __builder3.AddMarkupContent(72, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(73);
                    __builder3.AddAttribute(74, "Text", "Gender");
                    __builder3.AddAttribute(75, "Component", "Gender");
                    __builder3.AddAttribute(76, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(77, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(78, "\n              ");
                    __builder3.OpenElement(79, "div");
                    __builder3.AddAttribute(80, "class", "col-md-9");
                    __builder3.AddMarkupContent(81, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(82);
                    __builder3.AddAttribute(83, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 40 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                                10

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(84, "style", "width: 100%");
                    __builder3.AddAttribute(85, "Name", "Gender");
                    __builder3.AddAttribute(86, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 40 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                                (tblgngender.Gender)

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(87, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => (tblgngender.Gender) = __value, (tblgngender.Gender)))));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(88, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(89, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(90, "\n            ");
                    __builder3.OpenElement(91, "div");
                    __builder3.AddAttribute(92, "class", "row");
                    __builder3.AddMarkupContent(93, "\n              ");
                    __builder3.OpenElement(94, "div");
                    __builder3.AddAttribute(95, "class", "col offset-sm-3");
                    __builder3.AddMarkupContent(96, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(97);
                    __builder3.AddAttribute(98, "ButtonType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonType>(
#line 46 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                                ButtonType.Submit

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(99, "Icon", "save");
                    __builder3.AddAttribute(100, "Text", "Save");
                    __builder3.AddAttribute(101, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 46 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                                ButtonStyle.Primary

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(102, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(103);
                    __builder3.AddAttribute(104, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 48 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                                ButtonStyle.Light

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(105, "Text", "Cancel");
                    __builder3.AddAttribute(106, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 48 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\EditTblGnGender.razor"
                                                                                                                                                                                                                                                                                                                                                            Button3Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                            )));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(107, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(108, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(109, "\n          ");
                }
                                                                                                             ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(110, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(111, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(112, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #8
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenElement(4, "div");
                __builder2.AddAttribute(5, "class", "row");
                __builder2.AddMarkupContent(6, "\n      ");
                __builder2.OpenElement(7, "div");
                __builder2.AddAttribute(8, "class", "col-md-12");
                __builder2.AddMarkupContent(9, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenTemplateForm <SoccerLeagueTransferApp.Models.ConData.UsersInRole> >(10);
                __builder2.AddAttribute(11, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <SoccerLeagueTransferApp.Models.ConData.UsersInRole>(
#line 12 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                            usersinrole

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(12, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 12 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                            usersinrole != null

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(13, "Submit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <SoccerLeagueTransferApp.Models.ConData.UsersInRole> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <SoccerLeagueTransferApp.Models.ConData.UsersInRole>(this,
#line 12 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                                                                                                                                                                                                                                                                                                                                        Form0Submit

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                        )));
                __builder2.AddAttribute(14, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder3) => {
                    __builder3.AddMarkupContent(15, "\n            ");
                    __builder3.OpenElement(16, "div");
                    __builder3.AddAttribute(17, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(18, "class", "row");
                    __builder3.AddMarkupContent(19, "\n              ");
                    __builder3.OpenElement(20, "div");
                    __builder3.AddAttribute(21, "class", "col-md-3");
                    __builder3.AddMarkupContent(22, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(23);
                    __builder3.AddAttribute(24, "Text", "User");
                    __builder3.AddAttribute(25, "Component", "UserID");
                    __builder3.AddAttribute(26, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(27, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(28, "\n              ");
                    __builder3.OpenElement(29, "div");
                    __builder3.AddAttribute(30, "class", "col-md-9");
                    __builder3.AddMarkupContent(31, "\n                ");
                    __Blazor.SoccerLeagueTransferApp.Pages.EditUsersInRole.TypeInference.CreateRadzenDropDown_0(__builder3, 32, 33,
#line 20 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                                                                                                getUsersResult

#line default
#line hidden
                                                                                                                , 34, "Username", 35, "UserID", 36, "Choose User", 37, "display: block; width: 100%", 38, "UserID", 39,
#line 20 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                                                                                                usersinrole.UserID

#line default
#line hidden
                                                                                                                , 40, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => usersinrole.UserID = __value, usersinrole.UserID)), 41, () => usersinrole.UserID);
                    __builder3.AddMarkupContent(42, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(43);
                    __builder3.AddAttribute(44, "Component", "UserID");
                    __builder3.AddAttribute(45, "Text", "UserID is required");
                    __builder3.AddAttribute(46, "style", "position: absolute");
                    __builder3.AddAttribute(47, "DefaultValue", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Object>(
#line 22 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                                0

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(48, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(49, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(50, "\n            ");
                    __builder3.OpenElement(51, "div");
                    __builder3.AddAttribute(52, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(53, "class", "row");
                    __builder3.AddMarkupContent(54, "\n              ");
                    __builder3.OpenElement(55, "div");
                    __builder3.AddAttribute(56, "class", "col-md-3");
                    __builder3.AddMarkupContent(57, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(58);
                    __builder3.AddAttribute(59, "Text", "Role");
                    __builder3.AddAttribute(60, "Component", "RoleID");
                    __builder3.AddAttribute(61, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(62, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(63, "\n              ");
                    __builder3.OpenElement(64, "div");
                    __builder3.AddAttribute(65, "class", "col-md-9");
                    __builder3.AddMarkupContent(66, "\n                ");
                    __Blazor.SoccerLeagueTransferApp.Pages.EditUsersInRole.TypeInference.CreateRadzenDropDown_1(__builder3, 67, 68,
#line 32 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                                                                                                getRolesResult

#line default
#line hidden
                                                                                                                , 69, "RoleName", 70, "RoleID", 71, "Choose Role", 72, "display: block; width: 100%", 73, "RoleID", 74,
#line 32 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                                                                                                usersinrole.RoleID

#line default
#line hidden
                                                                                                                , 75, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => usersinrole.RoleID = __value, usersinrole.RoleID)), 76, () => usersinrole.RoleID);
                    __builder3.AddMarkupContent(77, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(78);
                    __builder3.AddAttribute(79, "Component", "RoleID");
                    __builder3.AddAttribute(80, "Text", "RoleID is required");
                    __builder3.AddAttribute(81, "style", "position: absolute");
                    __builder3.AddAttribute(82, "DefaultValue", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Object>(
#line 34 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                                0

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(83, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(84, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(85, "\n            ");
                    __builder3.OpenElement(86, "div");
                    __builder3.AddAttribute(87, "class", "row");
                    __builder3.AddMarkupContent(88, "\n              ");
                    __builder3.OpenElement(89, "div");
                    __builder3.AddAttribute(90, "class", "col offset-sm-3");
                    __builder3.AddMarkupContent(91, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(92);
                    __builder3.AddAttribute(93, "ButtonType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonType>(
#line 40 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                                ButtonType.Submit

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(94, "Icon", "save");
                    __builder3.AddAttribute(95, "Text", "Save");
                    __builder3.AddAttribute(96, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 40 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                                ButtonStyle.Primary

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(97, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(98);
                    __builder3.AddAttribute(99, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 42 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                                ButtonStyle.Light

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(100, "Text", "Cancel");
                    __builder3.AddAttribute(101, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 42 "C:\SoccerLeagueTransfer\server\Pages\EditUsersInRole.razor"
                                                                                                                                                                                                                                                                                                                                                            Button2Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                            )));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(102, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(103, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(104, "\n          ");
                }
                                                                                                                                                                 ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(105, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(106, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(107, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenElement(4, "div");
                __builder2.AddAttribute(5, "class", "row");
                __builder2.AddMarkupContent(6, "\n      ");
                __builder2.OpenElement(7, "div");
                __builder2.AddAttribute(8, "class", "col-md-12");
                __builder2.AddMarkupContent(9, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenTemplateForm <SoccerLeagueTransferApp.Models.ConData.PlayerTransfer> >(10);
                __builder2.AddAttribute(11, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <SoccerLeagueTransferApp.Models.ConData.PlayerTransfer>(
#line 12 "C:\SoccerLeagueTransfer\server\Pages\ConfirmDeletePlayerTransfer.razor"
                                            playertransfer

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(12, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 12 "C:\SoccerLeagueTransfer\server\Pages\ConfirmDeletePlayerTransfer.razor"
                                            playertransfer != null

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(13, "Submit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <SoccerLeagueTransferApp.Models.ConData.PlayerTransfer> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <SoccerLeagueTransferApp.Models.ConData.PlayerTransfer>(this,
#line 12 "C:\SoccerLeagueTransfer\server\Pages\ConfirmDeletePlayerTransfer.razor"
                                                                                                                                                                                                                                                                                                                                                              Form0Submit

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                              )));
                __builder2.AddAttribute(14, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder3) => {
                    __builder3.AddMarkupContent(15, "\n            ");
                    __builder3.OpenElement(16, "div");
                    __builder3.AddAttribute(17, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(18, "class", "row");
                    __builder3.AddMarkupContent(19, "\n              ");
                    __builder3.OpenElement(20, "div");
                    __builder3.AddAttribute(21, "class", "col-md-3");
                    __builder3.AddMarkupContent(22, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenHeading>(23);
                    __builder3.AddAttribute(24, "Size", "H1");
                    __builder3.AddAttribute(25, "style", "width: 254px");
                    __builder3.AddAttribute(26, "Text", "Player Transfer");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(27, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(28, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(29, "\n            ");
                    __builder3.OpenElement(30, "div");
                    __builder3.AddAttribute(31, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(32, "class", "row");
                    __builder3.AddMarkupContent(33, "\n              ");
                    __builder3.OpenElement(34, "div");
                    __builder3.AddAttribute(35, "class", "col-md-3");
                    __builder3.AddMarkupContent(36, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenHeading>(37);
                    __builder3.AddAttribute(38, "Size", "H3");
                    __builder3.AddAttribute(39, "style", "width: 489px");
                    __builder3.AddAttribute(40, "Text", "Confirm If You Want To Delete This Player Transfer Record");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(41, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(42, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(43, "\n            ");
                    __builder3.OpenElement(44, "div");
                    __builder3.AddAttribute(45, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(46, "class", "row");
                    __builder3.AddMarkupContent(47, "\n              ");
                    __builder3.OpenElement(48, "div");
                    __builder3.AddAttribute(49, "class", "col-md-3");
                    __builder3.AddMarkupContent(50, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(51);
                    __builder3.AddAttribute(52, "Component", "PlayerID");
                    __builder3.AddAttribute(53, "style", "width: 100%");
                    __builder3.AddAttribute(54, "Text", "Player");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(55, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(56, "\n              ");
                    __builder3.OpenElement(57, "div");
                    __builder3.AddAttribute(58, "class", "col-md-9");
                    __builder3.AddMarkupContent(59, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(60);
                    __builder3.AddAttribute(61, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 32 "C:\SoccerLeagueTransfer\server\Pages\ConfirmDeletePlayerTransfer.razor"
                                                $"{(playertransfer.Player.FullName)}"

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(62, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(63, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(64, "\n            ");
                    __builder3.OpenElement(65, "div");
                    __builder3.AddAttribute(66, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(67, "class", "row");
                    __builder3.AddMarkupContent(68, "\n              ");
                    __builder3.OpenElement(69, "div");
                    __builder3.AddAttribute(70, "class", "col-md-3");
                    __builder3.AddMarkupContent(71, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(72);
                    __builder3.AddAttribute(73, "Component", "OriginatingClubID");
                    __builder3.AddAttribute(74, "style", "width: 100%");
                    __builder3.AddAttribute(75, "Text", "Originating Club");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(76, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(77, "\n              ");
                    __builder3.OpenElement(78, "div");
                    __builder3.AddAttribute(79, "class", "col-md-9");
                    __builder3.AddMarkupContent(80, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(81);
                    __builder3.AddAttribute(82, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 42 "C:\SoccerLeagueTransfer\server\Pages\ConfirmDeletePlayerTransfer.razor"
                                                $"{(playertransfer.ClubDetail?.TeamName)}"

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(83, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(84, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(85, "\n            ");
                    __builder3.OpenElement(86, "div");
                    __builder3.AddAttribute(87, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(88, "class", "row");
                    __builder3.AddMarkupContent(89, "\n              ");
                    __builder3.OpenElement(90, "div");
                    __builder3.AddAttribute(91, "class", "col-md-3");
                    __builder3.AddMarkupContent(92, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(93);
                    __builder3.AddAttribute(94, "Component", "DestinationClubID");
                    __builder3.AddAttribute(95, "style", "width: 100%");
                    __builder3.AddAttribute(96, "Text", "Destination Club");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(97, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(98, "\n              ");
                    __builder3.OpenElement(99, "div");
                    __builder3.AddAttribute(100, "class", "col-md-9");
                    __builder3.AddMarkupContent(101, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(102);
                    __builder3.AddAttribute(103, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 52 "C:\SoccerLeagueTransfer\server\Pages\ConfirmDeletePlayerTransfer.razor"
                                                $"{(playertransfer.ClubDetail1?.TeamName)}"

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(104, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(105, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(106, "\n            ");
                    __builder3.OpenElement(107, "div");
                    __builder3.AddAttribute(108, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(109, "class", "row");
                    __builder3.AddMarkupContent(110, "\n              ");
                    __builder3.OpenElement(111, "div");
                    __builder3.AddAttribute(112, "class", "col-md-3");
                    __builder3.AddMarkupContent(113, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(114);
                    __builder3.AddAttribute(115, "Component", "TransferDate");
                    __builder3.AddAttribute(116, "style", "width: 100%");
                    __builder3.AddAttribute(117, "Text", "Transfer Date");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(118, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(119, "\n              ");
                    __builder3.OpenElement(120, "div");
                    __builder3.AddAttribute(121, "class", "col-md-9");
                    __builder3.AddMarkupContent(122, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(123);
                    __builder3.AddAttribute(124, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 62 "C:\SoccerLeagueTransfer\server\Pages\ConfirmDeletePlayerTransfer.razor"
                                                $"{(playertransfer.TransferDate.ToString("dd MMMM yyyy"))}"

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(125, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(126, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(127, "\n            ");
                    __builder3.OpenElement(128, "div");
                    __builder3.AddAttribute(129, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(130, "class", "row");
                    __builder3.AddMarkupContent(131, "\n              ");
                    __builder3.OpenElement(132, "div");
                    __builder3.AddAttribute(133, "class", "col-md-3");
                    __builder3.AddMarkupContent(134, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(135);
                    __builder3.AddAttribute(136, "Component", "TransferFee");
                    __builder3.AddAttribute(137, "style", "width: 100%");
                    __builder3.AddAttribute(138, "Text", "Transfer Fee");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(139, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(140, "\n              ");
                    __builder3.OpenElement(141, "div");
                    __builder3.AddAttribute(142, "class", "col-md-9");
                    __builder3.AddMarkupContent(143, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(144);
                    __builder3.AddAttribute(145, "Text", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 72 "C:\SoccerLeagueTransfer\server\Pages\ConfirmDeletePlayerTransfer.razor"
                                                $"{(playertransfer.TransferFee)}"

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(146, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(147, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(148, "\n            ");
                    __builder3.OpenElement(149, "div");
                    __builder3.AddAttribute(150, "class", "row");
                    __builder3.AddMarkupContent(151, "\n              ");
                    __builder3.OpenElement(152, "div");
                    __builder3.AddAttribute(153, "class", "col offset-sm-3");
                    __builder3.AddMarkupContent(154, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(155);
                    __builder3.AddAttribute(156, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 78 "C:\SoccerLeagueTransfer\server\Pages\ConfirmDeletePlayerTransfer.razor"
                                                ButtonStyle.Primary

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(157, "ButtonType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonType>(
#line 78 "C:\SoccerLeagueTransfer\server\Pages\ConfirmDeletePlayerTransfer.razor"
                                                ButtonType.Submit

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(158, "Icon", "close");
                    __builder3.AddAttribute(159, "Text", "Delete Player Transfer");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(160, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(161);
                    __builder3.AddAttribute(162, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 80 "C:\SoccerLeagueTransfer\server\Pages\ConfirmDeletePlayerTransfer.razor"
                                                ButtonStyle.Light

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(163, "Text", "Cancel");
                    __builder3.AddAttribute(164, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 80 "C:\SoccerLeagueTransfer\server\Pages\ConfirmDeletePlayerTransfer.razor"
                                                                                                                                                                                                                                                                                                                                                            Button2Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                            )));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(165, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(166, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(167, "\n          ");
                }
                                                                                                                                                                 ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(168, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(169, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(170, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #10
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "card m-3");
            __builder.AddAttribute(2, "style", "min-width: 18rem; max-width:30.5%;");
            __builder.AddMarkupContent(3, "\r\n        ");
            __builder.OpenElement(4, "div");
            __builder.AddAttribute(5, "class", "card-header");
            __builder.AddMarkupContent(6, "\r\n            ");
            __builder.OpenElement(7, "h3");
            __builder.AddContent(8,
#line 5 "C:\Users\manas\Documents\GitHub\BlazorExperiments\BlazorDemo\EmployeeManagement.Web\Pages\DisplayEmployee.razor"
                                 employee.FirstName

#line default
#line hidden
                                 );
            __builder.AddContent(9, " ");
            __builder.AddContent(10,
#line 5 "C:\Users\manas\Documents\GitHub\BlazorExperiments\BlazorDemo\EmployeeManagement.Web\Pages\DisplayEmployee.razor"
                                 employee.LastName

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(11, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(12, "\r\n        ");
            __builder.OpenElement(13, "img");
            __builder.AddAttribute(14, "class", "card-img-top imagethumbnail");
            __builder.AddAttribute(15, "src",
#line 7 "C:\Users\manas\Documents\GitHub\BlazorExperiments\BlazorDemo\EmployeeManagement.Web\Pages\DisplayEmployee.razor"
                                   employee.PhotoPath

#line default
#line hidden
                                   );
            __builder.CloseElement();
            __builder.AddMarkupContent(16, "\r\n");
#line 8 "C:\Users\manas\Documents\GitHub\BlazorExperiments\BlazorDemo\EmployeeManagement.Web\Pages\DisplayEmployee.razor"
            if (ShowFooter)
            {
#line default
#line hidden
                __builder.AddContent(17, "        ");
                __builder.OpenElement(18, "div");
                __builder.AddAttribute(19, "class", "card-footer text-center");
                __builder.AddMarkupContent(20, "\r\n            ");
                __builder.OpenElement(21, "a");
                __builder.AddAttribute(22, "href",
#line 11 "C:\Users\manas\Documents\GitHub\BlazorExperiments\BlazorDemo\EmployeeManagement.Web\Pages\DisplayEmployee.razor"
                                       $"employeedetails/{employee.EmployeeId}"

#line default
#line hidden
                                       );
                __builder.AddAttribute(23, "class", "btn btn-primary m-1");
                __builder.AddContent(24, "View");
                __builder.CloseElement();
                __builder.AddMarkupContent(25, "\r\n            ");
                __builder.OpenElement(26, "a");
                __builder.AddAttribute(27, "href",
#line 12 "C:\Users\manas\Documents\GitHub\BlazorExperiments\BlazorDemo\EmployeeManagement.Web\Pages\DisplayEmployee.razor"
                                       $"/editemployee/{employee.EmployeeId}"

#line default
#line hidden
                                       );
                __builder.AddAttribute(28, "class", "btn btn-primary m-1");
                __builder.AddContent(29, "Edit");
                __builder.CloseElement();
                __builder.AddMarkupContent(30, "\r\n            ");
                __builder.OpenElement(31, "button");
                __builder.AddAttribute(32, "type", "button");
                __builder.AddAttribute(33, "class", "btn btn-danger m-1");
                __builder.AddAttribute(34, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 13 "C:\Users\manas\Documents\GitHub\BlazorExperiments\BlazorDemo\EmployeeManagement.Web\Pages\DisplayEmployee.razor"
                                                                                                                                                                        Delete_Click

#line default
#line hidden
                                                                                                                                                                        ));
                __builder.AddContent(35, "Delete");
                __builder.CloseElement();
                __builder.AddMarkupContent(36, "\r\n        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(37, "\r\n");
#line 15 "C:\Users\manas\Documents\GitHub\BlazorExperiments\BlazorDemo\EmployeeManagement.Web\Pages\DisplayEmployee.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(38, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(39, "\r\n");
            __builder.OpenComponent <Global.Components.ConfirmComponent>(40);
            __builder.AddAttribute(41, "ConfirmationChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.Boolean> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.Boolean>(this,
#line 18 "C:\Users\manas\Documents\GitHub\BlazorExperiments\BlazorDemo\EmployeeManagement.Web\Pages\DisplayEmployee.razor"
                                                                                                                                                                                                                                                                                        ConfirmDelete_Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                        )));
            __builder.AddComponentReferenceCapture(42, (__value) => {
#line 19 "C:\Users\manas\Documents\GitHub\BlazorExperiments\BlazorDemo\EmployeeManagement.Web\Pages\DisplayEmployee.razor"
                DeleteConfirmation = (Global.Components.ConfirmComponent)__value;

#line default
#line hidden
            }
                                                   );
            __builder.CloseComponent();
        }
예제 #11
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenHeading>(4);
                __builder2.AddAttribute(5, "Size", "H1");
                __builder2.AddAttribute(6, "Text", "Profile");
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(7, "\n    ");
                __builder2.OpenElement(8, "div");
                __builder2.AddAttribute(9, "class", "row");
                __builder2.AddMarkupContent(10, "\n      ");
                __builder2.OpenElement(11, "div");
                __builder2.AddAttribute(12, "class", "col-md-12");
                __builder2.AddMarkupContent(13, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenTemplateForm <ApplicationUser> >(14);
                __builder2.AddAttribute(15, "Method", "post");
                __builder2.AddAttribute(16, "Action", "account/changepassword");
                __builder2.AddAttribute(17, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <ApplicationUser>(
#line 19 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\Profile.razor"
                                            user

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(18, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 19 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\Profile.razor"
                                            user != null

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(19, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder3) => {
                    __builder3.AddMarkupContent(20, "\n            ");
                    __builder3.OpenElement(21, "div");
                    __builder3.AddAttribute(22, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(23, "class", "row");
                    __builder3.AddMarkupContent(24, "\n              ");
                    __builder3.OpenElement(25, "div");
                    __builder3.AddAttribute(26, "class", "col-md-3");
                    __builder3.AddMarkupContent(27, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(28);
                    __builder3.AddAttribute(29, "Component", "OldPassword");
                    __builder3.AddAttribute(30, "style", "width: 100%");
                    __builder3.AddAttribute(31, "Text", "Old Password");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(32, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(33, "\n              ");
                    __builder3.OpenElement(34, "div");
                    __builder3.AddAttribute(35, "class", "col-md-9");
                    __builder3.AddMarkupContent(36, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPassword>(37);
                    __builder3.AddAttribute(38, "style", "display: block; width: 100%");
                    __builder3.AddAttribute(39, "Name", "OldPassword");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(40, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(41);
                    __builder3.AddAttribute(42, "Component", "OldPassword");
                    __builder3.AddAttribute(43, "style", "position: absolute");
                    __builder3.AddAttribute(44, "Text", "Password is required");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(45, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(46, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(47, "\n            ");
                    __builder3.OpenElement(48, "div");
                    __builder3.AddAttribute(49, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(50, "class", "row");
                    __builder3.AddMarkupContent(51, "\n              ");
                    __builder3.OpenElement(52, "div");
                    __builder3.AddAttribute(53, "class", "col-md-3");
                    __builder3.AddMarkupContent(54, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(55);
                    __builder3.AddAttribute(56, "Component", "NewPassword");
                    __builder3.AddAttribute(57, "style", "width: 100%");
                    __builder3.AddAttribute(58, "Text", "New Password");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(59, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(60, "\n              ");
                    __builder3.OpenElement(61, "div");
                    __builder3.AddAttribute(62, "class", "col-md-9");
                    __builder3.AddMarkupContent(63, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPassword>(64);
                    __builder3.AddAttribute(65, "style", "display: block; width: 100%");
                    __builder3.AddAttribute(66, "Name", "NewPassword");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(67, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(68);
                    __builder3.AddAttribute(69, "Component", "NewPassword");
                    __builder3.AddAttribute(70, "style", "position: absolute");
                    __builder3.AddAttribute(71, "Text", "Password is required");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(72, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(73, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(74, "\n            ");
                    __builder3.OpenElement(75, "div");
                    __builder3.AddAttribute(76, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(77, "class", "row");
                    __builder3.AddMarkupContent(78, "\n              ");
                    __builder3.OpenElement(79, "div");
                    __builder3.AddAttribute(80, "class", "col-md-3");
                    __builder3.AddMarkupContent(81, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(82);
                    __builder3.AddAttribute(83, "Component", "ConfirmPassword");
                    __builder3.AddAttribute(84, "style", "width: 100%");
                    __builder3.AddAttribute(85, "Text", "Confirm password");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(86, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(87, "\n              ");
                    __builder3.OpenElement(88, "div");
                    __builder3.AddAttribute(89, "class", "col-md-9");
                    __builder3.AddMarkupContent(90, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenPassword>(91);
                    __builder3.AddAttribute(92, "style", "display: block; width: 100%");
                    __builder3.AddAttribute(93, "Name", "ConfirmPassword");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(94, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(95);
                    __builder3.AddAttribute(96, "Component", "ConfirmPassword");
                    __builder3.AddAttribute(97, "style", "position: absolute");
                    __builder3.AddAttribute(98, "Text", "ConfirmPassword is required");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(99, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(100, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(101, "\n            ");
                    __builder3.OpenElement(102, "div");
                    __builder3.AddAttribute(103, "class", "row");
                    __builder3.AddMarkupContent(104, "\n              ");
                    __builder3.OpenElement(105, "div");
                    __builder3.AddAttribute(106, "class", "col offset-sm-3");
                    __builder3.AddMarkupContent(107, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(108);
                    __builder3.AddAttribute(109, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 59 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\Profile.razor"
                                                ButtonStyle.Primary

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(110, "ButtonType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonType>(
#line 59 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\Profile.razor"
                                                ButtonType.Submit

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(111, "Icon", "save");
                    __builder3.AddAttribute(112, "Text", "Change password");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(113, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(114);
                    __builder3.AddAttribute(115, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 61 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\Profile.razor"
                                                ButtonStyle.Light

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(116, "Text", "Cancel");
                    __builder3.AddAttribute(117, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 61 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\Profile.razor"
                                                                                                                                                                                                                                                                                                                                                            Button2Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                            )));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(118, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(119, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(120, "\n          ");
                }
                                                                                                                                                                 ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(121, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(122, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(123, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenElement(4, "div");
                __builder2.AddAttribute(5, "class", "row");
                __builder2.AddMarkupContent(6, "\n      ");
                __builder2.OpenElement(7, "div");
                __builder2.AddAttribute(8, "class", "col-md-12");
                __builder2.AddMarkupContent(9, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenTemplateForm <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao> >(10);
                __builder2.AddAttribute(11, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao>(
#line 12 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                            tblhptongiao

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(12, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 12 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                            tblhptongiao != null

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(13, "Submit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao>(this,
#line 12 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                                                                                                                                                                                                                                                                                                                  Form0Submit

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                  )));
                __builder2.AddAttribute(14, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder3) => {
                    __builder3.AddMarkupContent(15, "\n            ");
                    __builder3.OpenElement(16, "div");
                    __builder3.AddAttribute(17, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(18, "class", "row");
                    __builder3.AddMarkupContent(19, "\n              ");
                    __builder3.OpenElement(20, "div");
                    __builder3.AddAttribute(21, "class", "col-md-3");
                    __builder3.AddMarkupContent(22, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(23);
                    __builder3.AddAttribute(24, "Text", "Ton Giao Id");
                    __builder3.AddAttribute(25, "Component", "TonGiao_ID");
                    __builder3.AddAttribute(26, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(27, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(28, "\n              ");
                    __builder3.OpenElement(29, "div");
                    __builder3.AddAttribute(30, "class", "col-md-9");
                    __builder3.AddMarkupContent(31, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(32);
                    __builder3.AddAttribute(33, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 20 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                                2

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(34, "style", "display: block; width: 100%");
                    __builder3.AddAttribute(35, "Name", "TonGiao_ID");
                    __builder3.AddAttribute(36, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 20 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                                tblhptongiao.TonGiao_ID

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(37, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblhptongiao.TonGiao_ID = __value, tblhptongiao.TonGiao_ID))));
                    __builder3.AddAttribute(38, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblhptongiao.TonGiao_ID));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(39, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(40);
                    __builder3.AddAttribute(41, "Component", "TonGiao_ID");
                    __builder3.AddAttribute(42, "Text", "TonGiao_ID is required");
                    __builder3.AddAttribute(43, "style", "position: absolute");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(44, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(45, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(46, "\n            ");
                    __builder3.OpenElement(47, "div");
                    __builder3.AddAttribute(48, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(49, "class", "row");
                    __builder3.AddMarkupContent(50, "\n              ");
                    __builder3.OpenElement(51, "div");
                    __builder3.AddAttribute(52, "class", "col-md-3");
                    __builder3.AddMarkupContent(53, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(54);
                    __builder3.AddAttribute(55, "Text", "Ton Giao Name");
                    __builder3.AddAttribute(56, "Component", "TonGiao_Name");
                    __builder3.AddAttribute(57, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(58, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(59, "\n              ");
                    __builder3.OpenElement(60, "div");
                    __builder3.AddAttribute(61, "class", "col-md-9");
                    __builder3.AddMarkupContent(62, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(63);
                    __builder3.AddAttribute(64, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 32 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                                15

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(65, "style", "width: 100%");
                    __builder3.AddAttribute(66, "Name", "TonGiao_Name");
                    __builder3.AddAttribute(67, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 32 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                                tblhptongiao.TonGiao_Name

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(68, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblhptongiao.TonGiao_Name = __value, tblhptongiao.TonGiao_Name))));
                    __builder3.AddAttribute(69, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblhptongiao.TonGiao_Name));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(70, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(71, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(72, "\n            ");
                    __builder3.OpenElement(73, "div");
                    __builder3.AddAttribute(74, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(75, "class", "row");
                    __builder3.AddMarkupContent(76, "\n              ");
                    __builder3.OpenElement(77, "div");
                    __builder3.AddAttribute(78, "class", "col-md-3");
                    __builder3.AddMarkupContent(79, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(80);
                    __builder3.AddAttribute(81, "Text", "Description");
                    __builder3.AddAttribute(82, "Component", "Description");
                    __builder3.AddAttribute(83, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(84, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(85, "\n              ");
                    __builder3.OpenElement(86, "div");
                    __builder3.AddAttribute(87, "class", "col-md-9");
                    __builder3.AddMarkupContent(88, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(89);
                    __builder3.AddAttribute(90, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 42 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                                250

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(91, "style", "width: 100%");
                    __builder3.AddAttribute(92, "Name", "Description");
                    __builder3.AddAttribute(93, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 42 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                                tblhptongiao.Description

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(94, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblhptongiao.Description = __value, tblhptongiao.Description))));
                    __builder3.AddAttribute(95, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblhptongiao.Description));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(96, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(97, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(98, "\n            ");
                    __builder3.OpenElement(99, "div");
                    __builder3.AddAttribute(100, "class", "row");
                    __builder3.AddMarkupContent(101, "\n              ");
                    __builder3.OpenElement(102, "div");
                    __builder3.AddAttribute(103, "class", "col offset-sm-3");
                    __builder3.AddMarkupContent(104, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(105);
                    __builder3.AddAttribute(106, "ButtonType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonType>(
#line 48 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                                ButtonType.Submit

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(107, "Icon", "save");
                    __builder3.AddAttribute(108, "Text", "Save");
                    __builder3.AddAttribute(109, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 48 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                                ButtonStyle.Primary

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(110, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(111);
                    __builder3.AddAttribute(112, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 50 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                                ButtonStyle.Light

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(113, "Text", "Cancel");
                    __builder3.AddAttribute(114, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 50 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpTonGiao.razor"
                                                                                                                                                                                                                                                                                                                                                            Button2Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                            )));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(115, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(116, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(117, "\n          ");
                }
                                                                                                                                                                 ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(118, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(119, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(120, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #13
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenElement(4, "div");
                __builder2.AddAttribute(5, "class", "row");
                __builder2.AddMarkupContent(6, "\n      ");
                __builder2.OpenElement(7, "div");
                __builder2.AddAttribute(8, "class", "col-md-12");
                __builder2.AddMarkupContent(9, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenTemplateForm <CanErp2.Models.DbAtVdc2.TblPoAccountPayable> >(10);
                __builder2.AddAttribute(11, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <CanErp2.Models.DbAtVdc2.TblPoAccountPayable>(
#line 12 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                            tblpoaccountpayable

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(12, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 12 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                            tblpoaccountpayable != null

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(13, "Submit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <CanErp2.Models.DbAtVdc2.TblPoAccountPayable> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <CanErp2.Models.DbAtVdc2.TblPoAccountPayable>(this,
#line 12 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                                                                                                                                                                                                                                                                                                          Form0Submit

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                          )));
                __builder2.AddAttribute(14, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder3) => {
                    __builder3.AddMarkupContent(15, "\n            ");
                    __builder3.OpenElement(16, "div");
                    __builder3.AddAttribute(17, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(18, "class", "row");
                    __builder3.AddMarkupContent(19, "\n              ");
                    __builder3.OpenElement(20, "div");
                    __builder3.AddAttribute(21, "class", "col-md-3");
                    __builder3.AddMarkupContent(22, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(23);
                    __builder3.AddAttribute(24, "Text", "Ap No");
                    __builder3.AddAttribute(25, "Component", "AP_No");
                    __builder3.AddAttribute(26, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(27, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(28, "\n              ");
                    __builder3.OpenElement(29, "div");
                    __builder3.AddAttribute(30, "class", "col-md-9");
                    __builder3.AddMarkupContent(31, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(32);
                    __builder3.AddAttribute(33, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 20 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                10

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(34, "style", "display: block; width: 100%");
                    __builder3.AddAttribute(35, "Name", "AP_No");
                    __builder3.AddAttribute(36, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 20 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                tblpoaccountpayable.AP_No

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(37, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoaccountpayable.AP_No = __value, tblpoaccountpayable.AP_No))));
                    __builder3.AddAttribute(38, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblpoaccountpayable.AP_No));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(39, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(40);
                    __builder3.AddAttribute(41, "Component", "AP_No");
                    __builder3.AddAttribute(42, "Text", "AP_No is required");
                    __builder3.AddAttribute(43, "style", "position: absolute");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(44, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(45, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(46, "\n            ");
                    __builder3.OpenElement(47, "div");
                    __builder3.AddAttribute(48, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(49, "class", "row");
                    __builder3.AddMarkupContent(50, "\n              ");
                    __builder3.OpenElement(51, "div");
                    __builder3.AddAttribute(52, "class", "col-md-3");
                    __builder3.AddMarkupContent(53, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(54);
                    __builder3.AddAttribute(55, "Text", "Tbl Po Vendor");
                    __builder3.AddAttribute(56, "Component", "Vendor_FK");
                    __builder3.AddAttribute(57, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(58, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(59, "\n              ");
                    __builder3.OpenElement(60, "div");
                    __builder3.AddAttribute(61, "class", "col-md-9");
                    __builder3.AddMarkupContent(62, "\n                ");
                    __Blazor.CanErp2.Pages.AddTblPoAccountPayable.TypeInference.CreateRadzenDropDown_0(__builder3, 63, 64,
#line 32 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                                                                       getTblPoVendorsResult

#line default
#line hidden
                                                                                                       , 65, "LastName", 66, "Vendor_ID", 67, "Choose TblPoVendor", 68, "width: 100%", 69, "Vendor_FK", 70,
#line 32 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                                                                       tblpoaccountpayable.Vendor_FK

#line default
#line hidden
                                                                                                       , 71, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoaccountpayable.Vendor_FK = __value, tblpoaccountpayable.Vendor_FK)), 72, () => tblpoaccountpayable.Vendor_FK);
                    __builder3.AddMarkupContent(73, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(74, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(75, "\n            ");
                    __builder3.OpenElement(76, "div");
                    __builder3.AddAttribute(77, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(78, "class", "row");
                    __builder3.AddMarkupContent(79, "\n              ");
                    __builder3.OpenElement(80, "div");
                    __builder3.AddAttribute(81, "class", "col-md-3");
                    __builder3.AddMarkupContent(82, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(83);
                    __builder3.AddAttribute(84, "Text", "Transact No");
                    __builder3.AddAttribute(85, "Component", "Transact_No");
                    __builder3.AddAttribute(86, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(87, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(88, "\n              ");
                    __builder3.OpenElement(89, "div");
                    __builder3.AddAttribute(90, "class", "col-md-9");
                    __builder3.AddMarkupContent(91, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(92);
                    __builder3.AddAttribute(93, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 42 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                15

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(94, "style", "width: 100%");
                    __builder3.AddAttribute(95, "Name", "Transact_No");
                    __builder3.AddAttribute(96, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 42 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                tblpoaccountpayable.Transact_No

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(97, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoaccountpayable.Transact_No = __value, tblpoaccountpayable.Transact_No))));
                    __builder3.AddAttribute(98, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblpoaccountpayable.Transact_No));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(99, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(100, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(101, "\n            ");
                    __builder3.OpenElement(102, "div");
                    __builder3.AddAttribute(103, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(104, "class", "row");
                    __builder3.AddMarkupContent(105, "\n              ");
                    __builder3.OpenElement(106, "div");
                    __builder3.AddAttribute(107, "class", "col-md-3");
                    __builder3.AddMarkupContent(108, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(109);
                    __builder3.AddAttribute(110, "Text", "Record Code");
                    __builder3.AddAttribute(111, "Component", "Record_Code");
                    __builder3.AddAttribute(112, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(113, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(114, "\n              ");
                    __builder3.OpenElement(115, "div");
                    __builder3.AddAttribute(116, "class", "col-md-9");
                    __builder3.AddMarkupContent(117, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(118);
                    __builder3.AddAttribute(119, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 52 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                2

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(120, "style", "width: 100%");
                    __builder3.AddAttribute(121, "Name", "Record_Code");
                    __builder3.AddAttribute(122, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 52 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                tblpoaccountpayable.Record_Code

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(123, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoaccountpayable.Record_Code = __value, tblpoaccountpayable.Record_Code))));
                    __builder3.AddAttribute(124, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblpoaccountpayable.Record_Code));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(125, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(126, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(127, "\n            ");
                    __builder3.OpenElement(128, "div");
                    __builder3.AddAttribute(129, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(130, "class", "row");
                    __builder3.AddMarkupContent(131, "\n              ");
                    __builder3.OpenElement(132, "div");
                    __builder3.AddAttribute(133, "class", "col-md-3");
                    __builder3.AddMarkupContent(134, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(135);
                    __builder3.AddAttribute(136, "Text", "Po No");
                    __builder3.AddAttribute(137, "Component", "PO_No");
                    __builder3.AddAttribute(138, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(139, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(140, "\n              ");
                    __builder3.OpenElement(141, "div");
                    __builder3.AddAttribute(142, "class", "col-md-9");
                    __builder3.AddMarkupContent(143, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(144);
                    __builder3.AddAttribute(145, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 62 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                15

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(146, "style", "width: 100%");
                    __builder3.AddAttribute(147, "Name", "PO_No");
                    __builder3.AddAttribute(148, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 62 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                tblpoaccountpayable.PO_No

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(149, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoaccountpayable.PO_No = __value, tblpoaccountpayable.PO_No))));
                    __builder3.AddAttribute(150, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblpoaccountpayable.PO_No));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(151, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(152, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(153, "\n            ");
                    __builder3.OpenElement(154, "div");
                    __builder3.AddAttribute(155, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(156, "class", "row");
                    __builder3.AddMarkupContent(157, "\n              ");
                    __builder3.OpenElement(158, "div");
                    __builder3.AddAttribute(159, "class", "col-md-3");
                    __builder3.AddMarkupContent(160, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(161);
                    __builder3.AddAttribute(162, "Text", "Transact Date");
                    __builder3.AddAttribute(163, "Component", "Transact_Date");
                    __builder3.AddAttribute(164, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(165, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(166, "\n              ");
                    __builder3.OpenElement(167, "div");
                    __builder3.AddAttribute(168, "class", "col-md-9");
                    __builder3.AddMarkupContent(169, "\n                ");
                    __Blazor.CanErp2.Pages.AddTblPoAccountPayable.TypeInference.CreateRadzenDatePicker_1(__builder3, 170, 171, "dd/MM/yyyy", 172, "width: 100%", 173, "Transact_Date", 174,
#line 72 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                                                                         tblpoaccountpayable.Transact_Date

#line default
#line hidden
                                                                                                         , 175, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoaccountpayable.Transact_Date = __value, tblpoaccountpayable.Transact_Date)), 176, () => tblpoaccountpayable.Transact_Date);
                    __builder3.AddMarkupContent(177, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(178, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(179, "\n            ");
                    __builder3.OpenElement(180, "div");
                    __builder3.AddAttribute(181, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(182, "class", "row");
                    __builder3.AddMarkupContent(183, "\n              ");
                    __builder3.OpenElement(184, "div");
                    __builder3.AddAttribute(185, "class", "col-md-3");
                    __builder3.AddMarkupContent(186, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(187);
                    __builder3.AddAttribute(188, "Text", "Description");
                    __builder3.AddAttribute(189, "Component", "Description");
                    __builder3.AddAttribute(190, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(191, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(192, "\n              ");
                    __builder3.OpenElement(193, "div");
                    __builder3.AddAttribute(194, "class", "col-md-9");
                    __builder3.AddMarkupContent(195, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(196);
                    __builder3.AddAttribute(197, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 82 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                150

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(198, "style", "width: 100%");
                    __builder3.AddAttribute(199, "Name", "Description");
                    __builder3.AddAttribute(200, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 82 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                tblpoaccountpayable.Description

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(201, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoaccountpayable.Description = __value, tblpoaccountpayable.Description))));
                    __builder3.AddAttribute(202, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblpoaccountpayable.Description));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(203, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(204, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(205, "\n            ");
                    __builder3.OpenElement(206, "div");
                    __builder3.AddAttribute(207, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(208, "class", "row");
                    __builder3.AddMarkupContent(209, "\n              ");
                    __builder3.OpenElement(210, "div");
                    __builder3.AddAttribute(211, "class", "col-md-3");
                    __builder3.AddMarkupContent(212, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(213);
                    __builder3.AddAttribute(214, "Text", "Amount");
                    __builder3.AddAttribute(215, "Component", "Amount");
                    __builder3.AddAttribute(216, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(217, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(218, "\n              ");
                    __builder3.OpenElement(219, "div");
                    __builder3.AddAttribute(220, "class", "col-md-9");
                    __builder3.AddMarkupContent(221, "\n                ");
                    __Blazor.CanErp2.Pages.AddTblPoAccountPayable.TypeInference.CreateRadzenNumeric_2(__builder3, 222, 223, "width: 100%", 224, "Amount", 225,
#line 92 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                                                                      tblpoaccountpayable.Amount

#line default
#line hidden
                                                                                                      , 226, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoaccountpayable.Amount = __value, tblpoaccountpayable.Amount)), 227, () => tblpoaccountpayable.Amount);
                    __builder3.AddMarkupContent(228, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(229, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(230, "\n            ");
                    __builder3.OpenElement(231, "div");
                    __builder3.AddAttribute(232, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(233, "class", "row");
                    __builder3.AddMarkupContent(234, "\n              ");
                    __builder3.OpenElement(235, "div");
                    __builder3.AddAttribute(236, "class", "col-md-3");
                    __builder3.AddMarkupContent(237, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(238);
                    __builder3.AddAttribute(239, "Text", "Tbl Gn Department");
                    __builder3.AddAttribute(240, "Component", "Department_FK");
                    __builder3.AddAttribute(241, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(242, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(243, "\n              ");
                    __builder3.OpenElement(244, "div");
                    __builder3.AddAttribute(245, "class", "col-md-9");
                    __builder3.AddMarkupContent(246, "\n                ");
                    __Blazor.CanErp2.Pages.AddTblPoAccountPayable.TypeInference.CreateRadzenDropDown_3(__builder3, 247, 248,
#line 102 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                                                                       getTblGnDepartmentsResult

#line default
#line hidden
                                                                                                       , 249, "Deparment_Name", 250, "Department_ID", 251, "Choose TblGnDepartment", 252, "width: 100%", 253, "Department_FK", 254,
#line 102 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                                                                       tblpoaccountpayable.Department_FK

#line default
#line hidden
                                                                                                       , 255, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoaccountpayable.Department_FK = __value, tblpoaccountpayable.Department_FK)), 256, () => tblpoaccountpayable.Department_FK);
                    __builder3.AddMarkupContent(257, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(258, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(259, "\n            ");
                    __builder3.OpenElement(260, "div");
                    __builder3.AddAttribute(261, "class", "row");
                    __builder3.AddMarkupContent(262, "\n              ");
                    __builder3.OpenElement(263, "div");
                    __builder3.AddAttribute(264, "class", "col offset-sm-3");
                    __builder3.AddMarkupContent(265, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(266);
                    __builder3.AddAttribute(267, "ButtonType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonType>(
#line 108 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                ButtonType.Submit

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(268, "Icon", "save");
                    __builder3.AddAttribute(269, "Text", "Save");
                    __builder3.AddAttribute(270, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 108 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                ButtonStyle.Primary

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(271, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(272);
                    __builder3.AddAttribute(273, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 110 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                ButtonStyle.Light

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(274, "Text", "Cancel");
                    __builder3.AddAttribute(275, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 110 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\AddTblPoAccountPayable.razor"
                                                                                                                                                                                                                                                                                                                                                            Button2Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                            )));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(276, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(277, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(278, "\n          ");
                }
                                                                                                                                                                 ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(279, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(280, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(281, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #14
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenHeading>(4);
                __builder2.AddAttribute(5, "Size", "H1");
                __builder2.AddAttribute(6, "Text", "Tbl Hp Nhan Viens");
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(7, "\n    ");
                __builder2.OpenElement(8, "div");
                __builder2.AddAttribute(9, "class", "row");
                __builder2.AddMarkupContent(10, "\n      ");
                __builder2.OpenElement(11, "div");
                __builder2.AddAttribute(12, "class", "col-md-12");
                __builder2.AddMarkupContent(13, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenButton>(14);
                __builder2.AddAttribute(15, "Icon", "add_circle_outline");
                __builder2.AddAttribute(16, "style", "margin-bottom: 10px");
                __builder2.AddAttribute(17, "Text", "Add");
                __builder2.AddAttribute(18, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 14 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                                                                                                                                                                                                                                                                                                                                       Button0Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                       )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(19, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenGrid <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(20);
                __builder2.AddAttribute(21, "AllowFiltering", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(22, "AllowPaging", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(23, "AllowSorting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(24, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Collections.Generic.IEnumerable <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(
#line 16 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                            getTblHpNhanViensResult

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(25, "RowSelect", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>(this,
#line 16 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                                                                                                                                                                                                                                                                                                                       Grid0RowSelect

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                       )));
                __builder2.AddAttribute(26, "Columns", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(27, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(28);
                    __builder3.AddAttribute(29, "Property", "NhanVien_ID");
                    __builder3.AddAttribute(30, "Title", "Nhan Vien ID");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(31, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(32);
                    __builder3.AddAttribute(33, "Property", "HoTenLot");
                    __builder3.AddAttribute(34, "Title", "Ho Ten Lot");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(35, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(36);
                    __builder3.AddAttribute(37, "Property", "Ten");
                    __builder3.AddAttribute(38, "Title", "Ten");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(39, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(40);
                    __builder3.AddAttribute(41, "Property", "MaTheChamCong");
                    __builder3.AddAttribute(42, "Title", "Ma The Cham Cong");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(43, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(44);
                    __builder3.AddAttribute(45, "Property", "PhaiNam");
                    __builder3.AddAttribute(46, "Title", "Phai Nam");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(47, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(48);
                    __builder3.AddAttribute(49, "Property", "HinhAnh");
                    __builder3.AddAttribute(50, "Title", "Hinh Anh");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(51, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(52);
                    __builder3.AddAttribute(53, "Property", "NgayThangNamSinh");
                    __builder3.AddAttribute(54, "FormatString", "{0:MM/dd/yyyy}");
                    __builder3.AddAttribute(55, "Title", "Ngay Thang Nam Sinh");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(56, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(57);
                    __builder3.AddAttribute(58, "Property", "NamSinh");
                    __builder3.AddAttribute(59, "Title", "Nam Sinh");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(60, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(61);
                    __builder3.AddAttribute(62, "Property", "NoiSinh_FK");
                    __builder3.AddAttribute(63, "SortProperty", "TblHpTinhTp.TinhTP_Name");
                    __builder3.AddAttribute(64, "FilterProperty", "TblHpTinhTp.TinhTP_Name");
                    __builder3.AddAttribute(65, "Title", "Tbl Hp Tinh Tp");
                    __builder3.AddAttribute(66, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(67, "\n              ");
                        __builder4.AddContent(68,
#line 36 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpTinhTp?.TinhTP_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(69, "\n              ");
                    }
                                                                                                                                                        ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(70, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(71);
                    __builder3.AddAttribute(72, "Property", "QueQuan_FK");
                    __builder3.AddAttribute(73, "SortProperty", "TblHpTinhTp1.TinhTP_Name");
                    __builder3.AddAttribute(74, "FilterProperty", "TblHpTinhTp1.TinhTP_Name");
                    __builder3.AddAttribute(75, "Title", "Tbl Hp Tinh Tp");
                    __builder3.AddAttribute(76, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(77, "\n              ");
                        __builder4.AddContent(78,
#line 41 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpTinhTp1?.TinhTP_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(79, "\n              ");
                    }
                                                                                                                                                        ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(80, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(81);
                    __builder3.AddAttribute(82, "Property", "DanToc_FK");
                    __builder3.AddAttribute(83, "SortProperty", "TblHpDanToc.DanToc_Name");
                    __builder3.AddAttribute(84, "FilterProperty", "TblHpDanToc.DanToc_Name");
                    __builder3.AddAttribute(85, "Title", "Tbl Hp Dan Toc");
                    __builder3.AddAttribute(86, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(87, "\n              ");
                        __builder4.AddContent(88,
#line 46 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpDanToc?.DanToc_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(89, "\n              ");
                    }
                                                                                                                                                        ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(90, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(91);
                    __builder3.AddAttribute(92, "Property", "TonGiao_FK");
                    __builder3.AddAttribute(93, "SortProperty", "TblHpTonGiao.TonGiao_Name");
                    __builder3.AddAttribute(94, "FilterProperty", "TblHpTonGiao.TonGiao_Name");
                    __builder3.AddAttribute(95, "Title", "Tbl Hp Ton Giao");
                    __builder3.AddAttribute(96, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(97, "\n              ");
                        __builder4.AddContent(98,
#line 51 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpTonGiao?.TonGiao_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(99, "\n              ");
                    }
                                                                                                                                                        ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(100, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(101);
                    __builder3.AddAttribute(102, "Property", "QuocTich_FK");
                    __builder3.AddAttribute(103, "SortProperty", "TblHpQuocTich.QuocTich_Name");
                    __builder3.AddAttribute(104, "FilterProperty", "TblHpQuocTich.QuocTich_Name");
                    __builder3.AddAttribute(105, "Title", "Tbl Hp Quoc Tich");
                    __builder3.AddAttribute(106, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(107, "\n              ");
                        __builder4.AddContent(108,
#line 56 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpQuocTich?.QuocTich_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(109, "\n              ");
                    }
                                                                                                                                                         ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(110, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(111);
                    __builder3.AddAttribute(112, "Property", "SoCMND");
                    __builder3.AddAttribute(113, "Title", "So CMND");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(114, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(115);
                    __builder3.AddAttribute(116, "Property", "NgayCapCMND");
                    __builder3.AddAttribute(117, "FormatString", "{0:MM/dd/yyyy}");
                    __builder3.AddAttribute(118, "Title", "Ngay Cap CMND");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(119, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(120);
                    __builder3.AddAttribute(121, "Property", "NoiCapCMND");
                    __builder3.AddAttribute(122, "Title", "Noi Cap CMND");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(123, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(124);
                    __builder3.AddAttribute(125, "Property", "HoKhau");
                    __builder3.AddAttribute(126, "Title", "Ho Khau");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(127, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(128);
                    __builder3.AddAttribute(129, "Property", "QuanHoKhau_FK");
                    __builder3.AddAttribute(130, "SortProperty", "TblHpQuan.Quan_Name");
                    __builder3.AddAttribute(131, "FilterProperty", "TblHpQuan.Quan_Name");
                    __builder3.AddAttribute(132, "Title", "Tbl Hp Quan");
                    __builder3.AddAttribute(133, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(134, "\n              ");
                        __builder4.AddContent(135,
#line 69 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpQuan?.Quan_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(136, "\n              ");
                    }
                                                                                                                                                         ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(137, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(138);
                    __builder3.AddAttribute(139, "Property", "TinhTPHoKhau_FK");
                    __builder3.AddAttribute(140, "SortProperty", "TblHpTinhTp2.TinhTP_Name");
                    __builder3.AddAttribute(141, "FilterProperty", "TblHpTinhTp2.TinhTP_Name");
                    __builder3.AddAttribute(142, "Title", "Tbl Hp Tinh Tp");
                    __builder3.AddAttribute(143, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(144, "\n              ");
                        __builder4.AddContent(145,
#line 74 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpTinhTp2?.TinhTP_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(146, "\n              ");
                    }
                                                                                                                                                         ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(147, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(148);
                    __builder3.AddAttribute(149, "Property", "ChoOHienNay");
                    __builder3.AddAttribute(150, "Title", "Cho O Hien Nay");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(151, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(152);
                    __builder3.AddAttribute(153, "Property", "QuanChoOHienNay_FK");
                    __builder3.AddAttribute(154, "SortProperty", "TblHpQuan1.Quan_Name");
                    __builder3.AddAttribute(155, "FilterProperty", "TblHpQuan1.Quan_Name");
                    __builder3.AddAttribute(156, "Title", "Tbl Hp Quan");
                    __builder3.AddAttribute(157, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(158, "\n              ");
                        __builder4.AddContent(159,
#line 81 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpQuan1?.Quan_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(160, "\n              ");
                    }
                                                                                                                                                         ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(161, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(162);
                    __builder3.AddAttribute(163, "Property", "TinhTPChoOHienNay_FK");
                    __builder3.AddAttribute(164, "SortProperty", "TblHpTinhTp3.TinhTP_Name");
                    __builder3.AddAttribute(165, "FilterProperty", "TblHpTinhTp3.TinhTP_Name");
                    __builder3.AddAttribute(166, "Title", "Tbl Hp Tinh Tp");
                    __builder3.AddAttribute(167, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(168, "\n              ");
                        __builder4.AddContent(169,
#line 86 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpTinhTp3?.TinhTP_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(170, "\n              ");
                    }
                                                                                                                                                         ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(171, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(172);
                    __builder3.AddAttribute(173, "Property", "SoDienThoai");
                    __builder3.AddAttribute(174, "Title", "So Dien Thoai");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(175, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(176);
                    __builder3.AddAttribute(177, "Property", "Email");
                    __builder3.AddAttribute(178, "Title", "Email");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(179, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(180);
                    __builder3.AddAttribute(181, "Property", "MaSoThueCaNhan");
                    __builder3.AddAttribute(182, "Title", "Ma So Thue Ca Nhan");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(183, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(184);
                    __builder3.AddAttribute(185, "Property", "TaiKhoanThanhToan");
                    __builder3.AddAttribute(186, "Title", "Tai Khoan Thanh Toan");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(187, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(188);
                    __builder3.AddAttribute(189, "Property", "HoTenATM");
                    __builder3.AddAttribute(190, "Title", "Ho Ten ATM");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(191, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(192);
                    __builder3.AddAttribute(193, "Property", "MaKeToan");
                    __builder3.AddAttribute(194, "Title", "Ma Ke Toan");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(195, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(196);
                    __builder3.AddAttribute(197, "Property", "GiaCanh");
                    __builder3.AddAttribute(198, "Title", "Gia Canh");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(199, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(200);
                    __builder3.AddAttribute(201, "Property", "SoCon");
                    __builder3.AddAttribute(202, "Title", "So Con");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(203, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(204);
                    __builder3.AddAttribute(205, "Property", "LoaiHopDongLD");
                    __builder3.AddAttribute(206, "Title", "Loai Hop Dong LD");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(207, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(208);
                    __builder3.AddAttribute(209, "Property", "HopDongLaoDong");
                    __builder3.AddAttribute(210, "Title", "Hop Dong Lao Dong");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(211, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(212);
                    __builder3.AddAttribute(213, "Property", "Department_FK");
                    __builder3.AddAttribute(214, "SortProperty", "TblGnDepartment.Deparment_Name");
                    __builder3.AddAttribute(215, "FilterProperty", "TblGnDepartment.Deparment_Name");
                    __builder3.AddAttribute(216, "Title", "Tbl Gn Department");
                    __builder3.AddAttribute(217, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(218, "\n              ");
                        __builder4.AddContent(219,
#line 111 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblGnDepartment?.Deparment_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(220, "\n              ");
                    }
                                                                                                                                                         ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(221, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(222);
                    __builder3.AddAttribute(223, "Property", "DonViTo_FK");
                    __builder3.AddAttribute(224, "SortProperty", "TblHpDonViTo.DonViTo_Name");
                    __builder3.AddAttribute(225, "FilterProperty", "TblHpDonViTo.DonViTo_Name");
                    __builder3.AddAttribute(226, "Title", "Tbl Hp Don Vi To");
                    __builder3.AddAttribute(227, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(228, "\n              ");
                        __builder4.AddContent(229,
#line 116 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpDonViTo?.DonViTo_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(230, "\n              ");
                    }
                                                                                                                                                         ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(231, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(232);
                    __builder3.AddAttribute(233, "Property", "ChucVu_FK");
                    __builder3.AddAttribute(234, "SortProperty", "TblHpChucVu.ChucVu_Name");
                    __builder3.AddAttribute(235, "FilterProperty", "TblHpChucVu.ChucVu_Name");
                    __builder3.AddAttribute(236, "Title", "Tbl Hp Chuc Vu");
                    __builder3.AddAttribute(237, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(238, "\n              ");
                        __builder4.AddContent(239,
#line 121 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpChucVu?.ChucVu_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(240, "\n              ");
                    }
                                                                                                                                                         ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(241, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(242);
                    __builder3.AddAttribute(243, "Property", "ThongTinLuuTru");
                    __builder3.AddAttribute(244, "Title", "Thong Tin Luu Tru");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(245, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(246);
                    __builder3.AddAttribute(247, "Property", "ThuViec");
                    __builder3.AddAttribute(248, "Title", "Thu Viec");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(249, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(250);
                    __builder3.AddAttribute(251, "Property", "DaNghiViec");
                    __builder3.AddAttribute(252, "Title", "Da Nghi Viec");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(253, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(254);
                    __builder3.AddAttribute(255, "Property", "NgayNghiViec");
                    __builder3.AddAttribute(256, "FormatString", "{0:MM/dd/yyyy}");
                    __builder3.AddAttribute(257, "Title", "Ngay Nghi Viec");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(258, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(259);
                    __builder3.AddAttribute(260, "Property", "TrinhDoHocVan_FK");
                    __builder3.AddAttribute(261, "SortProperty", "TblHpTrinhDoVanHoa.TrinhDoVanHoa_Name");
                    __builder3.AddAttribute(262, "FilterProperty", "TblHpTrinhDoVanHoa.TrinhDoVanHoa_Name");
                    __builder3.AddAttribute(263, "Title", "Tbl Hp Trinh Do Van Hoa");
                    __builder3.AddAttribute(264, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(265, "\n              ");
                        __builder4.AddContent(266,
#line 134 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpTrinhDoVanHoa?.TrinhDoVanHoa_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(267, "\n              ");
                    }
                                                                                                                                                         ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(268, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(269);
                    __builder3.AddAttribute(270, "Property", "Ngach_FK");
                    __builder3.AddAttribute(271, "SortProperty", "TblHpNgach.Ngach_Name");
                    __builder3.AddAttribute(272, "FilterProperty", "TblHpNgach.Ngach_Name");
                    __builder3.AddAttribute(273, "Title", "Tbl Hp Ngach");
                    __builder3.AddAttribute(274, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(275, "\n              ");
                        __builder4.AddContent(276,
#line 139 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpNgach?.Ngach_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(277, "\n              ");
                    }
                                                                                                                                                         ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(278, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(279);
                    __builder3.AddAttribute(280, "Property", "Bac_FK");
                    __builder3.AddAttribute(281, "SortProperty", "TblHpBac.Bac_Name");
                    __builder3.AddAttribute(282, "FilterProperty", "TblHpBac.Bac_Name");
                    __builder3.AddAttribute(283, "Title", "Tbl Hp Bac");
                    __builder3.AddAttribute(284, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(285, "\n              ");
                        __builder4.AddContent(286,
#line 144 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                              data.TblHpBac?.Bac_Name

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(287, "\n              ");
                    }
                                                                                                                                                         ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(288, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(289);
                    __builder3.AddAttribute(290, "Property", "HeSoLuong");
                    __builder3.AddAttribute(291, "Title", "He So Luong");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(292, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(293);
                    __builder3.AddAttribute(294, "Property", "LuongCoBan");
                    __builder3.AddAttribute(295, "Title", "Luong Co Ban");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(296, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(297);
                    __builder3.AddAttribute(298, "Property", "HeSoPhuCapChucVu");
                    __builder3.AddAttribute(299, "Title", "He So Phu Cap Chuc Vu");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(300, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(301);
                    __builder3.AddAttribute(302, "Property", "HeSoPhuCapDocHai");
                    __builder3.AddAttribute(303, "Title", "He So Phu Cap Doc Hai");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(304, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(305);
                    __builder3.AddAttribute(306, "Property", "HeSoDiemPhucTap");
                    __builder3.AddAttribute(307, "Title", "He So Diem Phuc Tap");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(308, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(309);
                    __builder3.AddAttribute(310, "Property", "HeSoPhuCapThamNien");
                    __builder3.AddAttribute(311, "Title", "He So Phu Cap Tham Nien");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(312, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(313);
                    __builder3.AddAttribute(314, "Property", "SoNguoiPhuThuoc");
                    __builder3.AddAttribute(315, "Title", "So Nguoi Phu Thuoc");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(316, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(317);
                    __builder3.AddAttribute(318, "Property", "SoBHXH");
                    __builder3.AddAttribute(319, "Title", "So BHXH");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(320, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(321);
                    __builder3.AddAttribute(322, "Property", "NgayNhatTu");
                    __builder3.AddAttribute(323, "FormatString", "{0:MM/dd/yyyy}");
                    __builder3.AddAttribute(324, "Title", "Ngay Nhat Tu");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(325, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien> >(326);
                    __builder3.AddAttribute(327, "Filterable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 165 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                                false

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(328, "Sortable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 165 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                                false

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(329, "Width", "70px");
                    __builder3.AddAttribute(330, "TextAlign", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.TextAlign>(
#line 165 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                                TextAlign.Center

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(331, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)((canErpHrPrModelsDbAtVdc2TblHpNhanVien) => (__builder4) => {
                        __builder4.AddMarkupContent(332, "\n                ");
                        __builder4.OpenComponent <Radzen.Blazor.RadzenButton>(333);
                        __builder4.AddAttribute(334, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 167 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                                    ButtonStyle.Danger

#line default
#line hidden
                                                    ));
                        __builder4.AddAttribute(335, "Icon", "close");
                        __builder4.AddAttribute(336, "Size", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonSize>(
#line 167 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                                    ButtonSize.Small

#line default
#line hidden
                                                    ));
                        __builder4.AddAttribute(337, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 167 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                                                                                                                                                                                                                                                                                                                                                (args) => GridDeleteButtonClick(args, canErpHrPrModelsDbAtVdc2TblHpNhanVien)

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                                )));
                        __builder4.AddEventStopPropagationAttribute(338, "onclick",
#line 167 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                                                                    true

#line default
#line hidden
                                                                    );
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(339, "\n              ");
                    }
                                                                                                                                                         ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(340, "\n          ");
                }
                                                                                                        ));
                __builder2.AddComponentReferenceCapture(341, (__value) => {
#line 16 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpNhanViens.razor"
                    grid0 = (Radzen.Blazor.RadzenGrid <CanErpHrPr.Models.DbAtVdc2.TblHpNhanVien>)__value;

#line default
#line hidden
                }
                                                        );
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(342, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(343, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(344, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #15
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenHeading>(4);
                __builder2.AddAttribute(5, "Size", "H1");
                __builder2.AddAttribute(6, "Text", "Tbl So Sales Orders");
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(7, "\n    ");
                __builder2.OpenElement(8, "div");
                __builder2.AddAttribute(9, "class", "row");
                __builder2.AddMarkupContent(10, "\n      ");
                __builder2.OpenElement(11, "div");
                __builder2.AddAttribute(12, "class", "col-md-12");
                __builder2.AddMarkupContent(13, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenButton>(14);
                __builder2.AddAttribute(15, "Icon", "add_circle_outline");
                __builder2.AddAttribute(16, "style", "margin-bottom: 10px");
                __builder2.AddAttribute(17, "Text", "Add");
                __builder2.AddAttribute(18, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 14 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                                                                                                                                                                                                                                                                                                                                       Button0Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                       )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(19, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenGrid <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(20);
                __builder2.AddAttribute(21, "AllowFiltering", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(22, "AllowPaging", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(23, "AllowSorting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(24, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Collections.Generic.IEnumerable <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(
#line 16 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                            getTblSoSalesOrdersResult

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(25, "RowSelect", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <CanErp2.Models.DbAtVdc2.TblSoSalesOrder>(this,
#line 16 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                                                                                                                                                                                                                                                                                                                     Grid0RowSelect

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                     )));
                __builder2.AddAttribute(26, "Columns", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(27, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(28);
                    __builder3.AddAttribute(29, "Property", "SO_SEQ");
                    __builder3.AddAttribute(30, "Title", "SO SEQ");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(31, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(32);
                    __builder3.AddAttribute(33, "Property", "SO_ID");
                    __builder3.AddAttribute(34, "Title", "SO ID");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(35, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(36);
                    __builder3.AddAttribute(37, "Property", "SODate");
                    __builder3.AddAttribute(38, "FormatString", "{0:dd/MM/yyyy}");
                    __builder3.AddAttribute(39, "Title", "SO Date");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(40, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(41);
                    __builder3.AddAttribute(42, "Property", "CreatedBy_FK");
                    __builder3.AddAttribute(43, "Title", "Created By FK");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(44, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(45);
                    __builder3.AddAttribute(46, "Property", "SOStatus_FK");
                    __builder3.AddAttribute(47, "SortProperty", "TblSoOrderStatus.SOStatus_ID");
                    __builder3.AddAttribute(48, "FilterProperty", "TblSoOrderStatus.SOStatus_ID");
                    __builder3.AddAttribute(49, "Title", "Tbl So Order Status");
                    __builder3.AddAttribute(50, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErp2.Models.DbAtVdc2.TblSoSalesOrder>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(51, "\n              ");
                        __builder4.AddContent(52,
#line 28 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                              data.TblSoOrderStatus?.SOStatus_ID

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(53, "\n              ");
                    }
                                                                                                                                                       ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(54, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(55);
                    __builder3.AddAttribute(56, "Property", "Customer_FK");
                    __builder3.AddAttribute(57, "SortProperty", "TblSoCustomer.Customer_ID");
                    __builder3.AddAttribute(58, "FilterProperty", "TblSoCustomer.Customer_ID");
                    __builder3.AddAttribute(59, "Title", "Tbl So Customer");
                    __builder3.AddAttribute(60, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErp2.Models.DbAtVdc2.TblSoSalesOrder>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(61, "\n              ");
                        __builder4.AddContent(62,
#line 33 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                              data.TblSoCustomer?.Customer_ID

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(63, "\n              ");
                    }
                                                                                                                                                       ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(64, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(65);
                    __builder3.AddAttribute(66, "Property", "CustomerPONumber");
                    __builder3.AddAttribute(67, "Title", "Customer PO Number");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(68, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(69);
                    __builder3.AddAttribute(70, "Property", "CustomerPODate");
                    __builder3.AddAttribute(71, "FormatString", "{0:dd/MM/yyyy}");
                    __builder3.AddAttribute(72, "Title", "Customer PO Date");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(73, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(74);
                    __builder3.AddAttribute(75, "Property", "BillTo_FK");
                    __builder3.AddAttribute(76, "Title", "Bill To FK");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(77, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(78);
                    __builder3.AddAttribute(79, "Property", "ShipTo_FK");
                    __builder3.AddAttribute(80, "SortProperty", "TblGnShipVium.ShipVia_ID");
                    __builder3.AddAttribute(81, "FilterProperty", "TblGnShipVium.ShipVia_ID");
                    __builder3.AddAttribute(82, "Title", "Tbl Gn Ship Vium");
                    __builder3.AddAttribute(83, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErp2.Models.DbAtVdc2.TblSoSalesOrder>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(84, "\n              ");
                        __builder4.AddContent(85,
#line 44 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                              data.TblGnShipVium?.ShipVia_ID

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(86, "\n              ");
                    }
                                                                                                                                                       ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(87, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(88);
                    __builder3.AddAttribute(89, "Property", "Attention");
                    __builder3.AddAttribute(90, "Title", "Attention");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(91, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(92);
                    __builder3.AddAttribute(93, "Property", "ShipVia_FK");
                    __builder3.AddAttribute(94, "Title", "Ship Via FK");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(95, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(96);
                    __builder3.AddAttribute(97, "Property", "ActualShipDate");
                    __builder3.AddAttribute(98, "FormatString", "{0:dd/MM/yyyy}");
                    __builder3.AddAttribute(99, "Title", "Actual Ship Date");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(100, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(101);
                    __builder3.AddAttribute(102, "Property", "ExpectedShipDate");
                    __builder3.AddAttribute(103, "FormatString", "{0:dd/MM/yyyy}");
                    __builder3.AddAttribute(104, "Title", "Expected Ship Date");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(105, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(106);
                    __builder3.AddAttribute(107, "Property", "Shipper_FK");
                    __builder3.AddAttribute(108, "Title", "Shipper FK");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(109, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(110);
                    __builder3.AddAttribute(111, "Property", "PaymentTerm_FK");
                    __builder3.AddAttribute(112, "SortProperty", "TblGnPaymentTerm.PaymentTerm_ID");
                    __builder3.AddAttribute(113, "FilterProperty", "TblGnPaymentTerm.PaymentTerm_ID");
                    __builder3.AddAttribute(114, "Title", "Tbl Gn Payment Term");
                    __builder3.AddAttribute(115, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErp2.Models.DbAtVdc2.TblSoSalesOrder>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(116, "\n              ");
                        __builder4.AddContent(117,
#line 59 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                              data.TblGnPaymentTerm?.PaymentTerm_ID

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(118, "\n              ");
                    }
                                                                                                                                                        ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(119, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(120);
                    __builder3.AddAttribute(121, "Property", "PaymentType_FK");
                    __builder3.AddAttribute(122, "SortProperty", "TblGnPaymentType.PaymentType_ID");
                    __builder3.AddAttribute(123, "FilterProperty", "TblGnPaymentType.PaymentType_ID");
                    __builder3.AddAttribute(124, "Title", "Tbl Gn Payment Type");
                    __builder3.AddAttribute(125, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErp2.Models.DbAtVdc2.TblSoSalesOrder>)((data) => (__builder4) => {
                        __builder4.AddMarkupContent(126, "\n              ");
                        __builder4.AddContent(127,
#line 64 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                              data.TblGnPaymentType?.PaymentType_ID

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(128, "\n              ");
                    }
                                                                                                                                                        ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(129, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(130);
                    __builder3.AddAttribute(131, "Property", "SalesPersion_FK");
                    __builder3.AddAttribute(132, "Title", "Sales Persion FK");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(133, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(134);
                    __builder3.AddAttribute(135, "Property", "Commission");
                    __builder3.AddAttribute(136, "Title", "Commission");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(137, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(138);
                    __builder3.AddAttribute(139, "Property", "Pick_No");
                    __builder3.AddAttribute(140, "Title", "Pick No");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(141, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(142);
                    __builder3.AddAttribute(143, "Property", "Ship_No");
                    __builder3.AddAttribute(144, "Title", "Ship No");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(145, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(146);
                    __builder3.AddAttribute(147, "Property", "TaxYN");
                    __builder3.AddAttribute(148, "Title", "Tax YN");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(149, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(150);
                    __builder3.AddAttribute(151, "Property", "TaxtRate");
                    __builder3.AddAttribute(152, "Title", "Taxt Rate");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(153, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(154);
                    __builder3.AddAttribute(155, "Property", "Subtotal");
                    __builder3.AddAttribute(156, "Title", "Subtotal");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(157, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(158);
                    __builder3.AddAttribute(159, "Property", "Taxt_Amount");
                    __builder3.AddAttribute(160, "Title", "Taxt Amount");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(161, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(162);
                    __builder3.AddAttribute(163, "Property", "Discount_Amt");
                    __builder3.AddAttribute(164, "Title", "Discount Amt");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(165, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(166);
                    __builder3.AddAttribute(167, "Property", "Freight");
                    __builder3.AddAttribute(168, "Title", "Freight");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(169, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(170);
                    __builder3.AddAttribute(171, "Property", "Total_Order");
                    __builder3.AddAttribute(172, "Title", "Total Order");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(173, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(174);
                    __builder3.AddAttribute(175, "Property", "Description");
                    __builder3.AddAttribute(176, "Title", "Description");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(177, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(178);
                    __builder3.AddAttribute(179, "Property", "ChangeLong");
                    __builder3.AddAttribute(180, "Title", "Change Long");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(181, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(182);
                    __builder3.AddAttribute(183, "Property", "Notes");
                    __builder3.AddAttribute(184, "Title", "Notes");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(185, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(186);
                    __builder3.AddAttribute(187, "Property", "LastUpdatedDate");
                    __builder3.AddAttribute(188, "FormatString", "{0:dd/MM/yyyy}");
                    __builder3.AddAttribute(189, "Title", "Last Updated Date");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(190, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(191);
                    __builder3.AddAttribute(192, "Property", "LastUpdatedBy_FK");
                    __builder3.AddAttribute(193, "Title", "Last Updated By FK");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(194, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(195);
                    __builder3.AddAttribute(196, "Property", "Inactive");
                    __builder3.AddAttribute(197, "Title", "Inactive");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(198, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(199);
                    __builder3.AddAttribute(200, "Property", "Sequence");
                    __builder3.AddAttribute(201, "Title", "Sequence");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(202, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErp2.Models.DbAtVdc2.TblSoSalesOrder> >(203);
                    __builder3.AddAttribute(204, "Filterable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 103 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                                false

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(205, "Sortable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 103 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                                false

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(206, "Width", "70px");
                    __builder3.AddAttribute(207, "TextAlign", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.TextAlign>(
#line 103 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                                TextAlign.Center

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(208, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErp2.Models.DbAtVdc2.TblSoSalesOrder>)((canErp2ModelsDbAtVdc2TblSoSalesOrder) => (__builder4) => {
                        __builder4.AddMarkupContent(209, "\n                ");
                        __builder4.OpenComponent <Radzen.Blazor.RadzenButton>(210);
                        __builder4.AddAttribute(211, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 105 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                                    ButtonStyle.Danger

#line default
#line hidden
                                                    ));
                        __builder4.AddAttribute(212, "Icon", "close");
                        __builder4.AddAttribute(213, "Size", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonSize>(
#line 105 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                                    ButtonSize.Small

#line default
#line hidden
                                                    ));
                        __builder4.AddAttribute(214, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 105 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                                                                                                                                                                                                                                                                                                                                                (args) => GridDeleteButtonClick(args, canErp2ModelsDbAtVdc2TblSoSalesOrder)

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                                )));
                        __builder4.AddEventStopPropagationAttribute(215, "onclick",
#line 105 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                                                                    true

#line default
#line hidden
                                                                    );
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(216, "\n              ");
                    }
                                                                                                                                                        ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(217, "\n          ");
                }
                                                                                                        ));
                __builder2.AddComponentReferenceCapture(218, (__value) => {
#line 16 "C:\ZDung HDD\GitHub\can-erp-oe-mod\oe-op\server\Pages\TblSoSalesOrders.razor"
                    grid0 = (Radzen.Blazor.RadzenGrid <CanErp2.Models.DbAtVdc2.TblSoSalesOrder>)__value;

#line default
#line hidden
                }
                                                        );
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(219, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(220, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(221, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #16
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenElement(4, "div");
                __builder2.AddAttribute(5, "style", true);
                __builder2.AddAttribute(6, "class", "row");
                __builder2.AddMarkupContent(7, "\n      ");
                __builder2.OpenElement(8, "div");
                __builder2.AddAttribute(9, "class", "col-md-9");
                __builder2.AddMarkupContent(10, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenLabel>(11);
                __builder2.AddAttribute(12, "style", "font-weight: bold");
                __builder2.AddAttribute(13, "Text", "Item no longer available.");
                __builder2.AddAttribute(14, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 12 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                            !canEdit

#line default
#line hidden
                                            ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(15, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(16, "\n      ");
                __builder2.OpenElement(17, "div");
                __builder2.AddAttribute(18, "class", "col-md-3");
                __builder2.AddMarkupContent(19, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenButton>(20);
                __builder2.AddAttribute(21, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 16 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                            ButtonStyle.Secondary

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(22, "style", "margin-bottom: 20px");
                __builder2.AddAttribute(23, "Text", "Close");
                __builder2.AddAttribute(24, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                            !canEdit

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(25, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 16 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                                                                                                                                                                                                                                                                                                                       CloseButtonClick

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                       )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(26, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(27, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(28, "\n    ");
                __builder2.OpenElement(29, "div");
                __builder2.AddAttribute(30, "class", "row");
                __builder2.AddMarkupContent(31, "\n      ");
                __builder2.OpenElement(32, "div");
                __builder2.AddAttribute(33, "class", "col-md-12");
                __builder2.AddMarkupContent(34, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenTemplateForm <CanErp2.Models.DbAtVdc2.TblPoApInvoice> >(35);
                __builder2.AddAttribute(36, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <CanErp2.Models.DbAtVdc2.TblPoApInvoice>(
#line 22 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                            tblpoapinvoice

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(37, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 22 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                            tblpoapinvoice != null && canEdit

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(38, "Submit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <CanErp2.Models.DbAtVdc2.TblPoApInvoice> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <CanErp2.Models.DbAtVdc2.TblPoApInvoice>(this,
#line 22 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                                                                                                                                                                                                                                                                                                Form0Submit

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                )));
                __builder2.AddAttribute(39, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder3) => {
                    __builder3.AddMarkupContent(40, "\n            ");
                    __builder3.OpenElement(41, "div");
                    __builder3.AddAttribute(42, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(43, "class", "row");
                    __builder3.AddMarkupContent(44, "\n              ");
                    __builder3.OpenElement(45, "div");
                    __builder3.AddAttribute(46, "class", "col-md-3");
                    __builder3.AddMarkupContent(47, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(48);
                    __builder3.AddAttribute(49, "Text", "Tbl Po Vendor");
                    __builder3.AddAttribute(50, "Component", "Vendor_ID");
                    __builder3.AddAttribute(51, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(52, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(53, "\n              ");
                    __builder3.OpenElement(54, "div");
                    __builder3.AddAttribute(55, "class", "col-md-9");
                    __builder3.AddMarkupContent(56, "\n                ");
                    __Blazor.CanErp2.Pages.EditTblPoApInvoice.TypeInference.CreateRadzenDropDown_0(__builder3, 57, 58,
#line 30 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                                                                   getTblPoVendorsResult

#line default
#line hidden
                                                                                                   , 59, "LastName", 60, "Vendor_ID", 61, "Choose TblPoVendor", 62, "display: block; width: 100%", 63, "Vendor_ID", 64,
#line 30 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                                                                   tblpoapinvoice.Vendor_ID

#line default
#line hidden
                                                                                                   , 65, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoapinvoice.Vendor_ID = __value, tblpoapinvoice.Vendor_ID)), 66, () => tblpoapinvoice.Vendor_ID);
                    __builder3.AddMarkupContent(67, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(68);
                    __builder3.AddAttribute(69, "Component", "Vendor_ID");
                    __builder3.AddAttribute(70, "Text", "Vendor_ID is required");
                    __builder3.AddAttribute(71, "style", "position: absolute");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(72, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(73, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(74, "\n            ");
                    __builder3.OpenElement(75, "div");
                    __builder3.AddAttribute(76, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(77, "class", "row");
                    __builder3.AddMarkupContent(78, "\n              ");
                    __builder3.OpenElement(79, "div");
                    __builder3.AddAttribute(80, "class", "col-md-3");
                    __builder3.AddMarkupContent(81, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(82);
                    __builder3.AddAttribute(83, "Text", "Invoice No");
                    __builder3.AddAttribute(84, "Component", "Invoice_No");
                    __builder3.AddAttribute(85, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(86, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(87, "\n              ");
                    __builder3.OpenElement(88, "div");
                    __builder3.AddAttribute(89, "class", "col-md-9");
                    __builder3.AddMarkupContent(90, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(91);
                    __builder3.AddAttribute(92, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 42 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                15

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(93, "style", "display: block; width: 100%");
                    __builder3.AddAttribute(94, "Name", "Invoice_No");
                    __builder3.AddAttribute(95, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 42 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                tblpoapinvoice.Invoice_No

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(96, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoapinvoice.Invoice_No = __value, tblpoapinvoice.Invoice_No))));
                    __builder3.AddAttribute(97, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblpoapinvoice.Invoice_No));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(98, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(99);
                    __builder3.AddAttribute(100, "Component", "Invoice_No");
                    __builder3.AddAttribute(101, "Text", "Invoice_No is required");
                    __builder3.AddAttribute(102, "style", "position: absolute");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(103, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(104, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(105, "\n            ");
                    __builder3.OpenElement(106, "div");
                    __builder3.AddAttribute(107, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(108, "class", "row");
                    __builder3.AddMarkupContent(109, "\n              ");
                    __builder3.OpenElement(110, "div");
                    __builder3.AddAttribute(111, "class", "col-md-3");
                    __builder3.AddMarkupContent(112, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(113);
                    __builder3.AddAttribute(114, "Text", "Invoice Date");
                    __builder3.AddAttribute(115, "Component", "Invoice_Date");
                    __builder3.AddAttribute(116, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(117, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(118, "\n              ");
                    __builder3.OpenElement(119, "div");
                    __builder3.AddAttribute(120, "class", "col-md-9");
                    __builder3.AddMarkupContent(121, "\n                ");
                    __Blazor.CanErp2.Pages.EditTblPoApInvoice.TypeInference.CreateRadzenDatePicker_1(__builder3, 122, 123, "dd/MM/yyyy", 124, "width: 100%", 125, "Invoice_Date", 126,
#line 54 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                                                                     tblpoapinvoice.Invoice_Date

#line default
#line hidden
                                                                                                     , 127, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoapinvoice.Invoice_Date = __value, tblpoapinvoice.Invoice_Date)), 128, () => tblpoapinvoice.Invoice_Date);
                    __builder3.AddMarkupContent(129, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(130, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(131, "\n            ");
                    __builder3.OpenElement(132, "div");
                    __builder3.AddAttribute(133, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(134, "class", "row");
                    __builder3.AddMarkupContent(135, "\n              ");
                    __builder3.OpenElement(136, "div");
                    __builder3.AddAttribute(137, "class", "col-md-3");
                    __builder3.AddMarkupContent(138, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(139);
                    __builder3.AddAttribute(140, "Text", "Po Id");
                    __builder3.AddAttribute(141, "Component", "PO_ID");
                    __builder3.AddAttribute(142, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(143, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(144, "\n              ");
                    __builder3.OpenElement(145, "div");
                    __builder3.AddAttribute(146, "class", "col-md-9");
                    __builder3.AddMarkupContent(147, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(148);
                    __builder3.AddAttribute(149, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 64 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                15

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(150, "style", "width: 100%");
                    __builder3.AddAttribute(151, "Name", "PO_ID");
                    __builder3.AddAttribute(152, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 64 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                tblpoapinvoice.PO_ID

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(153, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoapinvoice.PO_ID = __value, tblpoapinvoice.PO_ID))));
                    __builder3.AddAttribute(154, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblpoapinvoice.PO_ID));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(155, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(156, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(157, "\n            ");
                    __builder3.OpenElement(158, "div");
                    __builder3.AddAttribute(159, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(160, "class", "row");
                    __builder3.AddMarkupContent(161, "\n              ");
                    __builder3.OpenElement(162, "div");
                    __builder3.AddAttribute(163, "class", "col-md-3");
                    __builder3.AddMarkupContent(164, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(165);
                    __builder3.AddAttribute(166, "Text", "Po Date");
                    __builder3.AddAttribute(167, "Component", "PO_Date");
                    __builder3.AddAttribute(168, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(169, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(170, "\n              ");
                    __builder3.OpenElement(171, "div");
                    __builder3.AddAttribute(172, "class", "col-md-9");
                    __builder3.AddMarkupContent(173, "\n                ");
                    __Blazor.CanErp2.Pages.EditTblPoApInvoice.TypeInference.CreateRadzenDatePicker_2(__builder3, 174, 175, "dd/MM/yyyy", 176, "width: 100%", 177, "PO_Date", 178,
#line 74 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                                                                     tblpoapinvoice.PO_Date

#line default
#line hidden
                                                                                                     , 179, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoapinvoice.PO_Date = __value, tblpoapinvoice.PO_Date)), 180, () => tblpoapinvoice.PO_Date);
                    __builder3.AddMarkupContent(181, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(182, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(183, "\n            ");
                    __builder3.OpenElement(184, "div");
                    __builder3.AddAttribute(185, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(186, "class", "row");
                    __builder3.AddMarkupContent(187, "\n              ");
                    __builder3.OpenElement(188, "div");
                    __builder3.AddAttribute(189, "class", "col-md-3");
                    __builder3.AddMarkupContent(190, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(191);
                    __builder3.AddAttribute(192, "Text", "Description");
                    __builder3.AddAttribute(193, "Component", "Description");
                    __builder3.AddAttribute(194, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(195, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(196, "\n              ");
                    __builder3.OpenElement(197, "div");
                    __builder3.AddAttribute(198, "class", "col-md-9");
                    __builder3.AddMarkupContent(199, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(200);
                    __builder3.AddAttribute(201, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 84 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                150

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(202, "style", "width: 100%");
                    __builder3.AddAttribute(203, "Name", "Description");
                    __builder3.AddAttribute(204, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 84 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                tblpoapinvoice.Description

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(205, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoapinvoice.Description = __value, tblpoapinvoice.Description))));
                    __builder3.AddAttribute(206, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblpoapinvoice.Description));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(207, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(208, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(209, "\n            ");
                    __builder3.OpenElement(210, "div");
                    __builder3.AddAttribute(211, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(212, "class", "row");
                    __builder3.AddMarkupContent(213, "\n              ");
                    __builder3.OpenElement(214, "div");
                    __builder3.AddAttribute(215, "class", "col-md-3");
                    __builder3.AddMarkupContent(216, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(217);
                    __builder3.AddAttribute(218, "Text", "Invoice Amount");
                    __builder3.AddAttribute(219, "Component", "Invoice_Amount");
                    __builder3.AddAttribute(220, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(221, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(222, "\n              ");
                    __builder3.OpenElement(223, "div");
                    __builder3.AddAttribute(224, "class", "col-md-9");
                    __builder3.AddMarkupContent(225, "\n                ");
                    __Blazor.CanErp2.Pages.EditTblPoApInvoice.TypeInference.CreateRadzenNumeric_3(__builder3, 226, 227, "width: 100%", 228, "Invoice_Amount", 229,
#line 94 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                                                                  tblpoapinvoice.Invoice_Amount

#line default
#line hidden
                                                                                                  , 230, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoapinvoice.Invoice_Amount = __value, tblpoapinvoice.Invoice_Amount)), 231, () => tblpoapinvoice.Invoice_Amount);
                    __builder3.AddMarkupContent(232, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(233, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(234, "\n            ");
                    __builder3.OpenElement(235, "div");
                    __builder3.AddAttribute(236, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(237, "class", "row");
                    __builder3.AddMarkupContent(238, "\n              ");
                    __builder3.OpenElement(239, "div");
                    __builder3.AddAttribute(240, "class", "col-md-3");
                    __builder3.AddMarkupContent(241, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(242);
                    __builder3.AddAttribute(243, "Text", "Discount Amount");
                    __builder3.AddAttribute(244, "Component", "Discount_Amount");
                    __builder3.AddAttribute(245, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(246, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(247, "\n              ");
                    __builder3.OpenElement(248, "div");
                    __builder3.AddAttribute(249, "class", "col-md-9");
                    __builder3.AddMarkupContent(250, "\n                ");
                    __Blazor.CanErp2.Pages.EditTblPoApInvoice.TypeInference.CreateRadzenNumeric_4(__builder3, 251, 252, "width: 100%", 253, "Discount_Amount", 254,
#line 104 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                                                                  tblpoapinvoice.Discount_Amount

#line default
#line hidden
                                                                                                  , 255, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoapinvoice.Discount_Amount = __value, tblpoapinvoice.Discount_Amount)), 256, () => tblpoapinvoice.Discount_Amount);
                    __builder3.AddMarkupContent(257, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(258, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(259, "\n            ");
                    __builder3.OpenElement(260, "div");
                    __builder3.AddAttribute(261, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(262, "class", "row");
                    __builder3.AddMarkupContent(263, "\n              ");
                    __builder3.OpenElement(264, "div");
                    __builder3.AddAttribute(265, "class", "col-md-3");
                    __builder3.AddMarkupContent(266, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(267);
                    __builder3.AddAttribute(268, "Text", "Due Date");
                    __builder3.AddAttribute(269, "Component", "Due_Date");
                    __builder3.AddAttribute(270, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(271, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(272, "\n              ");
                    __builder3.OpenElement(273, "div");
                    __builder3.AddAttribute(274, "class", "col-md-9");
                    __builder3.AddMarkupContent(275, "\n                ");
                    __Blazor.CanErp2.Pages.EditTblPoApInvoice.TypeInference.CreateRadzenDatePicker_5(__builder3, 276, 277, "dd/MM/yyyy", 278, "width: 100%", 279, "Due_Date", 280,
#line 114 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                                                                     tblpoapinvoice.Due_Date

#line default
#line hidden
                                                                                                     , 281, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoapinvoice.Due_Date = __value, tblpoapinvoice.Due_Date)), 282, () => tblpoapinvoice.Due_Date);
                    __builder3.AddMarkupContent(283, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(284, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(285, "\n            ");
                    __builder3.OpenElement(286, "div");
                    __builder3.AddAttribute(287, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(288, "class", "row");
                    __builder3.AddMarkupContent(289, "\n              ");
                    __builder3.OpenElement(290, "div");
                    __builder3.AddAttribute(291, "class", "col-md-3");
                    __builder3.AddMarkupContent(292, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(293);
                    __builder3.AddAttribute(294, "Text", "Paid");
                    __builder3.AddAttribute(295, "Component", "Paid");
                    __builder3.AddAttribute(296, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(297, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(298, "\n              ");
                    __builder3.OpenElement(299, "div");
                    __builder3.AddAttribute(300, "class", "col-md-9");
                    __builder3.AddMarkupContent(301, "\n                ");
                    __Blazor.CanErp2.Pages.EditTblPoApInvoice.TypeInference.CreateRadzenCheckBox_6(__builder3, 302, 303,
#line 124 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                                                                   true

#line default
#line hidden
                                                                                                   , 304, "Paid", 305,
#line 124 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                                                                   tblpoapinvoice.Paid

#line default
#line hidden
                                                                                                   , 306, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblpoapinvoice.Paid = __value, tblpoapinvoice.Paid)), 307, () => tblpoapinvoice.Paid);
                    __builder3.AddMarkupContent(308, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(309, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(310, "\n            ");
                    __builder3.OpenElement(311, "div");
                    __builder3.AddAttribute(312, "class", "row");
                    __builder3.AddMarkupContent(313, "\n              ");
                    __builder3.OpenElement(314, "div");
                    __builder3.AddAttribute(315, "class", "col offset-sm-3");
                    __builder3.AddMarkupContent(316, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(317);
                    __builder3.AddAttribute(318, "ButtonType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonType>(
#line 130 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                ButtonType.Submit

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(319, "Icon", "save");
                    __builder3.AddAttribute(320, "Text", "Save");
                    __builder3.AddAttribute(321, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 130 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                ButtonStyle.Primary

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(322, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(323);
                    __builder3.AddAttribute(324, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 132 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                ButtonStyle.Light

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(325, "Text", "Cancel");
                    __builder3.AddAttribute(326, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 132 "C:\ZDung HDD\GitHub\can-erp\radzen-app\server\Pages\EditTblPoApInvoice.razor"
                                                                                                                                                                                                                                                                                                                                                            Button3Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                            )));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(327, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(328, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(329, "\n          ");
                }
                                                                                                                                                                 ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(330, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(331, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(332, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #17
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#line 6 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Pages/Index.razor"
            if (PageState.Pages != null)
            {
#line default
#line hidden
                __builder.AddContent(0, "    ");
                __builder.OpenComponent <Oqtane.Modules.Controls.ActionLink>(1);
                __builder.AddAttribute(2, "Action", "Add");
                __builder.AddAttribute(3, "Text", "Add Page");
                __builder.CloseComponent();
                __builder.AddMarkupContent(4, "\n");
                __builder.AddContent(5, "    ");
                __Blazor.Oqtane.Modules.Admin.Pages.Index.TypeInference.CreatePager_0(__builder, 6, 7,
#line 10 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Pages/Index.razor"
                                                                                      PageState.Pages.Where(item => !item.IsDeleted)

#line default
#line hidden
                                                                                      , 8, (__builder2) => {
                    __builder2.AddMarkupContent(9, "\n            ");
                    __builder2.AddMarkupContent(10, "<th style=\"width: 1px;\">&nbsp;</th>\n            ");
                    __builder2.AddMarkupContent(11, "<th style=\"width: 1px;\">&nbsp;</th>\n            ");
                    __builder2.AddMarkupContent(12, "<th>Name</th>\n        ");
                }
                                                                                      , 13, (context) => (__builder2) => {
                    __builder2.AddMarkupContent(14, "\n            ");
                    __builder2.OpenElement(15, "td");
                    __builder2.OpenComponent <Oqtane.Modules.Controls.ActionLink>(16);
                    __builder2.AddAttribute(17, "Action", "Edit");
                    __builder2.AddAttribute(18, "Parameters", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 17 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Pages/Index.razor"
                                                $"id=" + context.PageId.ToString()

#line default
#line hidden
                                                ));
                    __builder2.CloseComponent();
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(19, "\n            ");
                    __builder2.OpenElement(20, "td");
                    __builder2.OpenComponent <Oqtane.Modules.Controls.ActionDialog>(21);
                    __builder2.AddAttribute(22, "Header", "Delete Page");
                    __builder2.AddAttribute(23, "Message", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 18 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Pages/Index.razor"
                                                "Are You Sure You Wish To Delete The " + context.Name + " Page?"

#line default
#line hidden
                                                ));
                    __builder2.AddAttribute(24, "Action", "Delete");
                    __builder2.AddAttribute(25, "Security", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Oqtane.Shared.SecurityAccessLevel?>(
#line 18 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Pages/Index.razor"
                                                SecurityAccessLevel.Admin

#line default
#line hidden
                                                ));
                    __builder2.AddAttribute(26, "Class", "btn btn-danger");
                    __builder2.AddAttribute(27, "OnClick", new System.Action(
#line 18 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Pages/Index.razor"
                                                async() => await DeletePage(context)

#line default
#line hidden
                                                ));
                    __builder2.CloseComponent();
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(28, "\n            ");
                    __builder2.OpenElement(29, "td");
                    __builder2.AddContent(30,
#line 19 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Pages/Index.razor"
                                          new string('-', context.Level * 2)

#line default
#line hidden
                                          );
                    __builder2.AddContent(31,
#line 19 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Pages/Index.razor"
                                          context.Name

#line default
#line hidden
                                          );
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(32, "\n        ");
                }
                                                                                      );
                __builder.AddMarkupContent(33, "\n");
#line 22 "/Users/cam/Desktop/oqtane/oqtane-theme-test/Oqtane.Client/Modules/Admin/Pages/Index.razor"
            }

#line default
#line hidden
        }
예제 #18
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "nav");
            __builder.AddAttribute(1, "aria-label", "breadcrumb");
            __builder.AddMarkupContent(2, "\r\n        ");
            __builder.OpenElement(3, "ol");
            __builder.AddAttribute(4, "class", "breadcrumb");
            __builder.AddMarkupContent(5, "\r\n            ");
            __builder.OpenElement(6, "li");
            __builder.AddAttribute(7, "class", "breadcrumb-item");
            __builder.AddAttribute(8, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 14 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                                                                                                                                                   () => uri.NavigateTo("BackOffice/Ventas")

#line default
#line hidden
                                                                                                                                                                   ));
            __builder.AddContent(9, "Ventas");
            __builder.CloseElement();
            __builder.AddMarkupContent(10, "\r\n            ");
            __builder.OpenElement(11, "li");
            __builder.AddAttribute(12, "class", "breadcrumb-item active");
            __builder.AddAttribute(13, "aria-current", "page");
            __builder.AddAttribute(14, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 15 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                                                                                                                                                    () => uri.NavigateTo("BackOffice/Ventas/Entregas")

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(15, "Entregas de pedidos confirmados");
            __builder.CloseElement();
            __builder.AddMarkupContent(16, "\r\n\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(17, "\r\n    ");
            __builder.CloseElement();
            __builder.OpenElement(18, "div");
            __builder.AddAttribute(19, "class", "d-flex p-4 col-md-12  mx-0 px-0 row align-items-center");
            __builder.AddAttribute(20, "style", "box-shadow:1px 1px 3px #323232");
            __builder.AddMarkupContent(21, "\r\n    ");
            __builder.OpenElement(22, "div");
            __builder.AddAttribute(23, "class", "col-md-4  mx-0 px-0");
            __builder.AddMarkupContent(24, "\r\n        ");
            __builder.AddMarkupContent(25, "<label class=\"col-md-12 mx-0 px-0\">Fecha Entrega</label>\r\n        ");
            __builder.OpenElement(26, "input");
            __builder.AddAttribute(27, "class", "form-control  mx-0 px-0");
            __builder.AddAttribute(28, "type", "date");
            __builder.AddAttribute(29, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.ChangeEventArgs>(this,
#line 21 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                                                                                                                                                  (ChangeEventArgs e) => { fechaEntrega = Convert.ToDateTime(e.Value); }

#line default
#line hidden
                                                                                                                                                                  ));
            __builder.CloseElement();
            __builder.AddMarkupContent(30, "\r\n\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(31, "\r\n    ");
            __builder.OpenElement(32, "div");
            __builder.AddAttribute(33, "class", "d-inline-block  mx-md-4 mx-sm-0 px-sm-4 px-md-4");
            __builder.AddMarkupContent(34, "\r\n\r\n        ");
            __builder.OpenComponent <SurcosBlazor.Client.Shared.SelectGenerico <Vendedor> >(35);
            __builder.AddAttribute(36, "TList", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Collections.Generic.List <Vendedor> >(
#line 26 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                       vendedores

#line default
#line hidden
                                       ));
            __builder.AddAttribute(37, "Label", "Vendedor");
            __builder.AddAttribute(38, "SelectItem", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Vendedor> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Vendedor>(this,
#line 26 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                                                                                                                                                                                                                                                   (Vendedor vendedor) => { this.vendedor = vendedor; }

#line default
#line hidden
                                                                                                                                                                                                                                                                   )));
            __builder.AddAttribute(39, "TTemplate", (Microsoft.AspNetCore.Components.RenderFragment <Vendedor>)((Vendedor) => (__builder2) => {
                __builder2.AddMarkupContent(40, "\r\n                ");
                __builder2.OpenElement(41, "div");
                __builder2.AddAttribute(42, "class", "d-flex");
                __builder2.AddAttribute(43, "style", "line-height:25px");
                __builder2.OpenElement(44, "img");
                __builder2.AddAttribute(45, "src",
#line 28 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                        Vendedor.Foto

#line default
#line hidden
                                        );
                __builder2.AddAttribute(46, "width", "25");
                __builder2.AddAttribute(47, "height", "25");
                __builder2.AddAttribute(48, "style", "border-radius:50%;margin-right:5px;");
                __builder2.CloseElement();
                __builder2.AddContent(49, " ");
                __builder2.AddContent(50,
#line 28 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                      Vendedor.nombre

#line default
#line hidden
                                      );
                __builder2.CloseElement();
                __builder2.AddMarkupContent(51, "\r\n            ");
            }
                                                                                                                ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(52, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(53, "\r\n    ");
            __builder.OpenElement(54, "div");
            __builder.AddAttribute(55, "class", "d-inline-block  mx-2 px-0");
            __builder.AddMarkupContent(56, "\r\n        ");
            __builder.OpenElement(57, "div");
            __builder.AddAttribute(58, "class", "btn btn-info");
            __builder.AddAttribute(59, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 33 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                                                                                                                                                    async() => { pedidosSeleccionadas = new List <SurcosBlazor.Shared.Entidades.Pedido>(); await ListarPedidos(); }

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(60, "Buscar");
            __builder.CloseElement();
            __builder.AddMarkupContent(61, "\r\n\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(62, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(63, "\r\n");
            __builder.OpenElement(64, "div");
            __builder.AddAttribute(65, "class", "my-2");
            __builder.AddMarkupContent(66, "\r\n    ");
            __Blazor.SurcosBlazor.Client.Pages.BackOffice.Ventas.Entregas.TypeInference.CreateListadoGenerico_0(__builder, 67, 68,
#line 38 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                                                                                                pedidos

#line default
#line hidden
                                                                                                                , 69, (__builder2) => {
                __builder2.AddMarkupContent(70, "\r\n            ");
                __builder2.OpenElement(71, "h3");
                __builder2.AddAttribute(72, "class", "my-4");
                __builder2.AddContent(73, "Seleccionadas ");
                __builder2.AddContent(74,
#line 40 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                      pedidosSeleccionadas.Count

#line default
#line hidden
                                      );
                __builder2.CloseElement();
                __builder2.AddMarkupContent(75, "\r\n");
#line 41 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                if (pedidosSeleccionadas.Count > 0)
                {
#line default
#line hidden
                    __builder2.AddContent(76, "                ");
                    __builder2.OpenElement(77, "a");
                    __builder2.AddAttribute(78, "href",
#line 43 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                            GenerarUrl()

#line default
#line hidden
                                            );
                    __builder2.AddMarkupContent(79, "\r\n                    ");
                    __builder2.AddMarkupContent(80, "<i class=\"fas fa-map-marker-alt text-danger\"> </i> Google Maps\r\n                ");
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(81, "\r\n");
#line 46 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                }

#line default
#line hidden
                __builder2.AddMarkupContent(82, "\r\n            ");
                __builder2.OpenElement(83, "table");
                __builder2.AddAttribute(84, "class", "table-sm table");
                __builder2.AddMarkupContent(85, "\r\n                ");
                __builder2.AddMarkupContent(86, @"<thead>
                    <tr>
                        <th></th>
                        <th>Domicilio</th>
                        <th>Cliente</th>
                        <th>Comprobante</th>
                        <th>Total</th>
                        <th>Entrega</th>
                        <th>Observaciones</th>

                    </tr>
                </thead>
                ");
                __builder2.OpenElement(87, "tbody");
                __builder2.AddMarkupContent(88, "\r\n");
#line 62 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                foreach (SurcosBlazor.Shared.Entidades.Pedido pedido in pedidos)
                {
#line default
#line hidden
                    __builder2.AddContent(89, "                        ");
                    __builder2.OpenElement(90, "tr");
                    __builder2.AddMarkupContent(91, "\r\n                            ");
                    __builder2.OpenElement(92, "td");
                    __builder2.AddMarkupContent(93, "\r\n");
#line 66 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                    if (pedidosSeleccionadas.Select(x => x.Id).Contains(pedido.Id))
                    {
#line default
#line hidden
                        __builder2.AddContent(94, "                                    ");
                        __builder2.OpenElement(95, "input");
                        __builder2.AddAttribute(96, "type", "checkbox");
                        __builder2.AddAttribute(97, "checked", true);
                        __builder2.AddAttribute(98, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 68 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                                                                                                                                                                 () => pedidosSeleccionadas.Remove(pedido)

#line default
#line hidden
                                                                                                                                                                                 ));
                        __builder2.CloseElement();
                        __builder2.AddMarkupContent(99, "\r\n");
#line 69 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                    }
                    else
                    {
                        if (pedidosSeleccionadas.Count < 9)
                        {
#line default
#line hidden
                            __builder2.AddContent(100, "                                        ");
                            __builder2.OpenElement(101, "input");
                            __builder2.AddAttribute(102, "type", "checkbox");
                            __builder2.AddAttribute(103, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 74 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                                                                                                                                                                      () => pedidosSeleccionadas.Add(pedido)

#line default
#line hidden
                                                                                                                                                                                      ));
                            __builder2.CloseElement();
                            __builder2.AddMarkupContent(104, "\r\n");
#line 75 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                        }
                    }

#line default
#line hidden
                    __builder2.AddContent(105, "                            ");
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(106, "\r\n                            ");
                    __builder2.OpenElement(107, "td");
                    __builder2.AddContent(108,
#line 79 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                          pedido.Domicilio.Departamento.nombre

#line default
#line hidden
                                          );
                    __builder2.AddContent(109, ", ");
                    __builder2.AddContent(110,
#line 79 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                          pedido.Domicilio.Provincia.nombre

#line default
#line hidden
                                          );
                    __builder2.AddContent(111, ", ");
                    __builder2.AddContent(112,
#line 79 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                          pedido.Domicilio.calle

#line default
#line hidden
                                          );
                    __builder2.AddContent(113, " ");
                    __builder2.AddContent(114,
#line 79 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                          pedido.Domicilio.numero

#line default
#line hidden
                                          );
                    __builder2.AddContent(115, " ");
                    __builder2.AddContent(116,
#line 79 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                          pedido.Domicilio.piso

#line default
#line hidden
                                          );
                    __builder2.AddContent(117, " ");
                    __builder2.AddContent(118,
#line 79 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                          pedido.Domicilio.manzana

#line default
#line hidden
                                          );
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(119, "\r\n                            ");
                    __builder2.OpenElement(120, "td");
                    __builder2.AddContent(121,
#line 80 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                          pedido.nombreCliente

#line default
#line hidden
                                          );
                    __builder2.AddContent(122, ", ");
                    __builder2.AddContent(123,
#line 80 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                          pedido.apellidoCliente

#line default
#line hidden
                                          );
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(124, "\r\n                            ");
                    __builder2.OpenElement(125, "td");
                    __builder2.OpenElement(126, "a");
                    __builder2.AddAttribute(127, "href",
#line 81 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                            $"BackOffice/Ventas/Pedido/{pedido.Id}"

#line default
#line hidden
                                            );
                    __builder2.AddContent(128, "Pedido #");
                    __builder2.AddContent(129,
#line 81 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                          pedido.Id

#line default
#line hidden
                                          );
                    __builder2.CloseElement();
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(130, "\r\n                            ");
                    __builder2.OpenElement(131, "td");
                    __builder2.AddContent(132, "$");
                    __builder2.AddContent(133,
#line 82 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                          pedido.total

#line default
#line hidden
                                          );
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(134, "\r\n                            ");
                    __builder2.OpenElement(135, "td");
                    __builder2.AddContent(136,
#line 83 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                          pedido.fechaEntrega.ToString("dd/MM")

#line default
#line hidden
                                          );
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(137, "\r\n                            ");
                    __builder2.OpenElement(138, "th");
                    __builder2.AddContent(139,
#line 84 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                                          pedido.observaciones

#line default
#line hidden
                                          );
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(140, "\r\n                        ");
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(141, "\r\n");
#line 86 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Ventas\Entregas.razor"
                }

#line default
#line hidden
                __builder2.AddContent(142, "                ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(143, "\r\n            ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(144, "\r\n        ");
            }
                                                                                                                );
            __builder.AddMarkupContent(145, "\r\n");
            __builder.CloseElement();
        }
예제 #19
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenElement(4, "div");
                __builder2.AddAttribute(5, "style", true);
                __builder2.AddAttribute(6, "class", "row");
                __builder2.AddMarkupContent(7, "\n      ");
                __builder2.OpenElement(8, "div");
                __builder2.AddAttribute(9, "class", "col-md-9");
                __builder2.AddMarkupContent(10, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenLabel>(11);
                __builder2.AddAttribute(12, "style", "font-weight: bold");
                __builder2.AddAttribute(13, "Text", "Item no longer available.");
                __builder2.AddAttribute(14, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 12 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                            !canEdit

#line default
#line hidden
                                            ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(15, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(16, "\n      ");
                __builder2.OpenElement(17, "div");
                __builder2.AddAttribute(18, "class", "col-md-3");
                __builder2.AddMarkupContent(19, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenButton>(20);
                __builder2.AddAttribute(21, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 16 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                            ButtonStyle.Secondary

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(22, "style", "margin-bottom: 20px");
                __builder2.AddAttribute(23, "Text", "Close");
                __builder2.AddAttribute(24, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                            !canEdit

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(25, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 16 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                                                                                                                                                                                                                                                                                                                                       CloseButtonClick

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                       )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(26, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(27, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(28, "\n    ");
                __builder2.OpenElement(29, "div");
                __builder2.AddAttribute(30, "class", "row");
                __builder2.AddMarkupContent(31, "\n      ");
                __builder2.OpenElement(32, "div");
                __builder2.AddAttribute(33, "class", "col-md-12");
                __builder2.AddMarkupContent(34, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenTemplateForm <CanErpHp.Models.DbAtVdc2.TblHpTinhTp> >(35);
                __builder2.AddAttribute(36, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <CanErpHp.Models.DbAtVdc2.TblHpTinhTp>(
#line 22 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                            tblhptinhtp

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(37, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 22 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                            tblhptinhtp != null && canEdit

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(38, "Submit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <CanErpHp.Models.DbAtVdc2.TblHpTinhTp> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <CanErpHp.Models.DbAtVdc2.TblHpTinhTp>(this,
#line 22 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                                                                                                                                                                                                                                                                                                            Form0Submit

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                            )));
                __builder2.AddAttribute(39, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder3) => {
                    __builder3.AddMarkupContent(40, "\n            ");
                    __builder3.OpenElement(41, "div");
                    __builder3.AddAttribute(42, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(43, "class", "row");
                    __builder3.AddMarkupContent(44, "\n              ");
                    __builder3.OpenElement(45, "div");
                    __builder3.AddAttribute(46, "class", "col-md-3");
                    __builder3.AddMarkupContent(47, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(48);
                    __builder3.AddAttribute(49, "Text", "Tinh Tp Id");
                    __builder3.AddAttribute(50, "Component", "TinhTP_ID");
                    __builder3.AddAttribute(51, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(52, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(53, "\n              ");
                    __builder3.OpenElement(54, "div");
                    __builder3.AddAttribute(55, "class", "col-md-9");
                    __builder3.AddMarkupContent(56, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(57);
                    __builder3.AddAttribute(58, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 30 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                                5

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(59, "style", "display: block; width: 100%");
                    __builder3.AddAttribute(60, "Name", "TinhTP_ID");
                    __builder3.AddAttribute(61, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 30 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                                tblhptinhtp.TinhTP_ID

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(62, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblhptinhtp.TinhTP_ID = __value, tblhptinhtp.TinhTP_ID))));
                    __builder3.AddAttribute(63, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblhptinhtp.TinhTP_ID));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(64, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(65);
                    __builder3.AddAttribute(66, "Component", "TinhTP_ID");
                    __builder3.AddAttribute(67, "Text", "TinhTP_ID is required");
                    __builder3.AddAttribute(68, "style", "position: absolute");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(69, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(70, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(71, "\n            ");
                    __builder3.OpenElement(72, "div");
                    __builder3.AddAttribute(73, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(74, "class", "row");
                    __builder3.AddMarkupContent(75, "\n              ");
                    __builder3.OpenElement(76, "div");
                    __builder3.AddAttribute(77, "class", "col-md-3");
                    __builder3.AddMarkupContent(78, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(79);
                    __builder3.AddAttribute(80, "Text", "Tinh Tp Name");
                    __builder3.AddAttribute(81, "Component", "TinhTP_Name");
                    __builder3.AddAttribute(82, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(83, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(84, "\n              ");
                    __builder3.OpenElement(85, "div");
                    __builder3.AddAttribute(86, "class", "col-md-9");
                    __builder3.AddMarkupContent(87, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(88);
                    __builder3.AddAttribute(89, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 42 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                                30

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(90, "style", "width: 100%");
                    __builder3.AddAttribute(91, "Name", "TinhTP_Name");
                    __builder3.AddAttribute(92, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 42 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                                tblhptinhtp.TinhTP_Name

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(93, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblhptinhtp.TinhTP_Name = __value, tblhptinhtp.TinhTP_Name))));
                    __builder3.AddAttribute(94, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblhptinhtp.TinhTP_Name));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(95, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(96, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(97, "\n            ");
                    __builder3.OpenElement(98, "div");
                    __builder3.AddAttribute(99, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(100, "class", "row");
                    __builder3.AddMarkupContent(101, "\n              ");
                    __builder3.OpenElement(102, "div");
                    __builder3.AddAttribute(103, "class", "col-md-3");
                    __builder3.AddMarkupContent(104, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(105);
                    __builder3.AddAttribute(106, "Text", "Description");
                    __builder3.AddAttribute(107, "Component", "Description");
                    __builder3.AddAttribute(108, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(109, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(110, "\n              ");
                    __builder3.OpenElement(111, "div");
                    __builder3.AddAttribute(112, "class", "col-md-9");
                    __builder3.AddMarkupContent(113, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(114);
                    __builder3.AddAttribute(115, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 52 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                                250

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(116, "style", "width: 100%");
                    __builder3.AddAttribute(117, "Name", "Description");
                    __builder3.AddAttribute(118, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 52 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                                tblhptinhtp.Description

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(119, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblhptinhtp.Description = __value, tblhptinhtp.Description))));
                    __builder3.AddAttribute(120, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblhptinhtp.Description));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(121, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(122, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(123, "\n            ");
                    __builder3.OpenElement(124, "div");
                    __builder3.AddAttribute(125, "class", "row");
                    __builder3.AddMarkupContent(126, "\n              ");
                    __builder3.OpenElement(127, "div");
                    __builder3.AddAttribute(128, "class", "col offset-sm-3");
                    __builder3.AddMarkupContent(129, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(130);
                    __builder3.AddAttribute(131, "ButtonType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonType>(
#line 58 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                                ButtonType.Submit

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(132, "Icon", "save");
                    __builder3.AddAttribute(133, "Text", "Save");
                    __builder3.AddAttribute(134, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 58 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                                ButtonStyle.Primary

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(135, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(136);
                    __builder3.AddAttribute(137, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 60 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                                ButtonStyle.Light

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(138, "Text", "Cancel");
                    __builder3.AddAttribute(139, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 60 "F:\GitHub02\can-erp\hr-pr\server\Pages\EditTblHpTinhTp.razor"
                                                                                                                                                                                                                                                                                                                                                            Button3Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                            )));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(140, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(141, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(142, "\n          ");
                }
                                                                                                                                                                 ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(143, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(144, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(145, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #20
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "top-row pl-4 navbar navbar-dark");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.AddMarkupContent(3, "<a class=\"navbar-brand\" href>BlazorTestBlazorise</a>\r\n    ");
            __builder.OpenElement(4, "button");
            __builder.AddAttribute(5, "class", "navbar-toggler");
            __builder.AddAttribute(6, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 3 "C:\Users\Henri Jaton\Documents\HEIG-VD\4eme annee\TB\Tests\Blazor\Wasm\BlazorTestBlazorise\BlazorTestBlazorise\Shared\NavMenu.razor"
                                                                                                                                                                   ToggleNavMenu

#line default
#line hidden
                                                                                                                                                                   ));
            __builder.AddMarkupContent(7, "\r\n        <span class=\"navbar-toggler-icon\"></span>\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(8, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(9, "\r\n\r\n");
            __builder.OpenElement(10, "div");
            __builder.AddAttribute(11, "class",
#line 8 "C:\Users\Henri Jaton\Documents\HEIG-VD\4eme annee\TB\Tests\Blazor\Wasm\BlazorTestBlazorise\BlazorTestBlazorise\Shared\NavMenu.razor"
                                   NavMenuCssClass

#line default
#line hidden
                                   );
            __builder.AddAttribute(12, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 8 "C:\Users\Henri Jaton\Documents\HEIG-VD\4eme annee\TB\Tests\Blazor\Wasm\BlazorTestBlazorise\BlazorTestBlazorise\Shared\NavMenu.razor"
                                                                                                                                                                    ToggleNavMenu

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(13, "\r\n    ");
            __builder.OpenElement(14, "ul");
            __builder.AddAttribute(15, "class", "nav flex-column");
            __builder.AddMarkupContent(16, "\r\n        ");
            __builder.OpenElement(17, "li");
            __builder.AddAttribute(18, "class", "nav-item px-3");
            __builder.AddMarkupContent(19, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(20);
            __builder.AddAttribute(21, "class", "nav-link");
            __builder.AddAttribute(22, "href", "");
            __builder.AddAttribute(23, "Match", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.Routing.NavLinkMatch>(
#line 11 "C:\Users\Henri Jaton\Documents\HEIG-VD\4eme annee\TB\Tests\Blazor\Wasm\BlazorTestBlazorise\BlazorTestBlazorise\Shared\NavMenu.razor"
                                       NavLinkMatch.All

#line default
#line hidden
                                       ));
            __builder.AddAttribute(24, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(25, "\r\n                <span class=\"oi oi-home\" aria-hidden=\"true\"></span> Home\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(26, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(27, "\r\n        ");
            __builder.OpenElement(28, "li");
            __builder.AddAttribute(29, "class", "nav-item px-3");
            __builder.AddMarkupContent(30, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(31);
            __builder.AddAttribute(32, "class", "nav-link");
            __builder.AddAttribute(33, "href", "counter");
            __builder.AddAttribute(34, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(35, "\r\n                <span class=\"oi oi-plus\" aria-hidden=\"true\"></span> Counter\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(36, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(37, "\r\n        ");
            __builder.OpenElement(38, "li");
            __builder.AddAttribute(39, "class", "nav-item px-3");
            __builder.AddMarkupContent(40, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(41);
            __builder.AddAttribute(42, "class", "nav-link");
            __builder.AddAttribute(43, "href", "fetchdata");
            __builder.AddAttribute(44, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(45, "\r\n                <span class=\"oi oi-list-rich\" aria-hidden=\"true\"></span> Fetch data\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(46, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(47, "\r\n        ");
            __builder.OpenElement(48, "li");
            __builder.AddAttribute(49, "class", "nav-item px-3");
            __builder.AddMarkupContent(50, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(51);
            __builder.AddAttribute(52, "class", "nav-link");
            __builder.AddAttribute(53, "href", "chart");
            __builder.AddAttribute(54, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(55, "\r\n                <span class=\"oi oi-list-rich\" aria-hidden=\"true\"></span> Chart\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(56, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(57, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(58, "\r\n");
            __builder.CloseElement();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenHeading>(4);
                __builder2.AddAttribute(5, "Size", "H1");
                __builder2.AddAttribute(6, "Text", "Tbl Hp Ton Giaos");
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(7, "\n    ");
                __builder2.OpenElement(8, "div");
                __builder2.AddAttribute(9, "class", "row");
                __builder2.AddMarkupContent(10, "\n      ");
                __builder2.OpenElement(11, "div");
                __builder2.AddAttribute(12, "class", "col-md-12");
                __builder2.AddMarkupContent(13, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenButton>(14);
                __builder2.AddAttribute(15, "Icon", "add_circle_outline");
                __builder2.AddAttribute(16, "style", "margin-bottom: 10px");
                __builder2.AddAttribute(17, "Text", "Add");
                __builder2.AddAttribute(18, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 14 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                                                                                                                                                                                                                                                                                                                                       Button0Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                       )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(19, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenGrid <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao> >(20);
                __builder2.AddAttribute(21, "AllowFiltering", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(22, "AllowPaging", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(23, "AllowSorting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(24, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Collections.Generic.IEnumerable <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao> >(
#line 16 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                            getTblHpTonGiaosResult

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(25, "RowSelect", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao>(this,
#line 16 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                                                                                                                                                                                                                                                                                                                     Grid0RowSelect

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                     )));
                __builder2.AddAttribute(26, "Columns", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(27, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao> >(28);
                    __builder3.AddAttribute(29, "Property", "TonGiao_ID");
                    __builder3.AddAttribute(30, "Title", "Ton Giao ID");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(31, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao> >(32);
                    __builder3.AddAttribute(33, "Property", "TonGiao_Name");
                    __builder3.AddAttribute(34, "Title", "Ton Giao Name");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(35, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao> >(36);
                    __builder3.AddAttribute(37, "Property", "Description");
                    __builder3.AddAttribute(38, "Title", "Description");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(39, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao> >(40);
                    __builder3.AddAttribute(41, "Filterable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 24 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                                false

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(42, "Sortable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 24 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                                false

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(43, "Width", "70px");
                    __builder3.AddAttribute(44, "TextAlign", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.TextAlign>(
#line 24 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                                TextAlign.Center

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(45, "Template", (Microsoft.AspNetCore.Components.RenderFragment <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao>)((canErpHrPrModelsDbAtVdc2TblHpTonGiao) => (__builder4) => {
                        __builder4.AddMarkupContent(46, "\n                ");
                        __builder4.OpenComponent <Radzen.Blazor.RadzenButton>(47);
                        __builder4.AddAttribute(48, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 26 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                                    ButtonStyle.Danger

#line default
#line hidden
                                                    ));
                        __builder4.AddAttribute(49, "Icon", "close");
                        __builder4.AddAttribute(50, "Size", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonSize>(
#line 26 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                                    ButtonSize.Small

#line default
#line hidden
                                                    ));
                        __builder4.AddAttribute(51, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 26 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                                                                                                                                                                                                                                                                                                                                               (args) => GridDeleteButtonClick(args, canErpHrPrModelsDbAtVdc2TblHpTonGiao)

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                               )));
                        __builder4.AddEventStopPropagationAttribute(52, "onclick",
#line 26 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                                                                    true

#line default
#line hidden
                                                                    );
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(53, "\n              ");
                    }
                                                                                                                                                       ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(54, "\n          ");
                }
                                                                                                        ));
                __builder2.AddComponentReferenceCapture(55, (__value) => {
#line 16 "F:\My Programming Projects\can-erp-ot-projects\can-erp-hrpr-mod\hr-pr\server\Pages\TblHpTonGiaos.razor"
                    grid0 = (Radzen.Blazor.RadzenGrid <CanErpHrPr.Models.DbAtVdc2.TblHpTonGiao>)__value;

#line default
#line hidden
                }
                                                        );
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(56, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(57, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(58, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #22
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenElement(4, "div");
                __builder2.AddAttribute(5, "class", "row");
                __builder2.AddMarkupContent(6, "\n      ");
                __builder2.OpenElement(7, "div");
                __builder2.AddAttribute(8, "class", "col-md-12");
                __builder2.AddMarkupContent(9, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenTemplateForm <CanErpHrPr.Models.DbAtVdc2.TblHpChiTietNgoaiNgu> >(10);
                __builder2.AddAttribute(11, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <CanErpHrPr.Models.DbAtVdc2.TblHpChiTietNgoaiNgu>(
#line 12 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                            tblhpchitietngoaingu

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(12, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 12 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                            tblhpchitietngoaingu != null

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(13, "Submit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <CanErpHrPr.Models.DbAtVdc2.TblHpChiTietNgoaiNgu> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <CanErpHrPr.Models.DbAtVdc2.TblHpChiTietNgoaiNgu>(this,
#line 12 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                                                                                                                                                                                                                                                                                                                  Form0Submit

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                  )));
                __builder2.AddAttribute(14, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder3) => {
                    __builder3.AddMarkupContent(15, "\n            ");
                    __builder3.OpenElement(16, "div");
                    __builder3.AddAttribute(17, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(18, "class", "row");
                    __builder3.AddMarkupContent(19, "\n              ");
                    __builder3.OpenElement(20, "div");
                    __builder3.AddAttribute(21, "class", "col-md-3");
                    __builder3.AddMarkupContent(22, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(23);
                    __builder3.AddAttribute(24, "Text", "Tbl Hp Nhan Vien");
                    __builder3.AddAttribute(25, "Component", "NhanVien_FK");
                    __builder3.AddAttribute(26, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(27, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(28, "\n              ");
                    __builder3.OpenElement(29, "div");
                    __builder3.AddAttribute(30, "class", "col-md-9");
                    __builder3.AddMarkupContent(31, "\n                ");
                    __Blazor.CanErpHrPr.Pages.AddTblHpChiTietNgoaiNgu.TypeInference.CreateRadzenDropDown_0(__builder3, 32, 33,
#line 20 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                                                                           getTblHpNhanViensResult

#line default
#line hidden
                                                                                                           , 34, "HoTenLot", 35, "NhanVien_ID", 36, "Choose TblHpNhanVien", 37, "width: 100%", 38, "NhanVien_FK", 39,
#line 20 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                                                                           tblhpchitietngoaingu.NhanVien_FK

#line default
#line hidden
                                                                                                           , 40, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblhpchitietngoaingu.NhanVien_FK = __value, tblhpchitietngoaingu.NhanVien_FK)), 41, () => tblhpchitietngoaingu.NhanVien_FK);
                    __builder3.AddMarkupContent(42, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(43, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(44, "\n            ");
                    __builder3.OpenElement(45, "div");
                    __builder3.AddAttribute(46, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(47, "class", "row");
                    __builder3.AddMarkupContent(48, "\n              ");
                    __builder3.OpenElement(49, "div");
                    __builder3.AddAttribute(50, "class", "col-md-3");
                    __builder3.AddMarkupContent(51, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(52);
                    __builder3.AddAttribute(53, "Text", "Ngoai Ngu Fk");
                    __builder3.AddAttribute(54, "Component", "NgoaiNgu_FK");
                    __builder3.AddAttribute(55, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(56, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(57, "\n              ");
                    __builder3.OpenElement(58, "div");
                    __builder3.AddAttribute(59, "class", "col-md-9");
                    __builder3.AddMarkupContent(60, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(61);
                    __builder3.AddAttribute(62, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 30 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                2

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(63, "style", "width: 100%");
                    __builder3.AddAttribute(64, "Name", "NgoaiNgu_FK");
                    __builder3.AddAttribute(65, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 30 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                tblhpchitietngoaingu.NgoaiNgu_FK

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(66, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblhpchitietngoaingu.NgoaiNgu_FK = __value, tblhpchitietngoaingu.NgoaiNgu_FK))));
                    __builder3.AddAttribute(67, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblhpchitietngoaingu.NgoaiNgu_FK));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(68, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(69, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(70, "\n            ");
                    __builder3.OpenElement(71, "div");
                    __builder3.AddAttribute(72, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(73, "class", "row");
                    __builder3.AddMarkupContent(74, "\n              ");
                    __builder3.OpenElement(75, "div");
                    __builder3.AddAttribute(76, "class", "col-md-3");
                    __builder3.AddMarkupContent(77, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(78);
                    __builder3.AddAttribute(79, "Text", "Trinh Do Fk");
                    __builder3.AddAttribute(80, "Component", "TrinhDo_FK");
                    __builder3.AddAttribute(81, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(82, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(83, "\n              ");
                    __builder3.OpenElement(84, "div");
                    __builder3.AddAttribute(85, "class", "col-md-9");
                    __builder3.AddMarkupContent(86, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(87);
                    __builder3.AddAttribute(88, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 40 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                2

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(89, "style", "width: 100%");
                    __builder3.AddAttribute(90, "Name", "TrinhDo_FK");
                    __builder3.AddAttribute(91, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 40 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                tblhpchitietngoaingu.TrinhDo_FK

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(92, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblhpchitietngoaingu.TrinhDo_FK = __value, tblhpchitietngoaingu.TrinhDo_FK))));
                    __builder3.AddAttribute(93, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblhpchitietngoaingu.TrinhDo_FK));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(94, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(95, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(96, "\n            ");
                    __builder3.OpenElement(97, "div");
                    __builder3.AddAttribute(98, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(99, "class", "row");
                    __builder3.AddMarkupContent(100, "\n              ");
                    __builder3.OpenElement(101, "div");
                    __builder3.AddAttribute(102, "class", "col-md-3");
                    __builder3.AddMarkupContent(103, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(104);
                    __builder3.AddAttribute(105, "Text", "Van Bang");
                    __builder3.AddAttribute(106, "Component", "VanBang");
                    __builder3.AddAttribute(107, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(108, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(109, "\n              ");
                    __builder3.OpenElement(110, "div");
                    __builder3.AddAttribute(111, "class", "col-md-9");
                    __builder3.AddMarkupContent(112, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(113);
                    __builder3.AddAttribute(114, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 50 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                25

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(115, "style", "width: 100%");
                    __builder3.AddAttribute(116, "Name", "VanBang");
                    __builder3.AddAttribute(117, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 50 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                tblhpchitietngoaingu.VanBang

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(118, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => tblhpchitietngoaingu.VanBang = __value, tblhpchitietngoaingu.VanBang))));
                    __builder3.AddAttribute(119, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => tblhpchitietngoaingu.VanBang));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(120, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(121, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(122, "\n            ");
                    __builder3.OpenElement(123, "div");
                    __builder3.AddAttribute(124, "class", "row");
                    __builder3.AddMarkupContent(125, "\n              ");
                    __builder3.OpenElement(126, "div");
                    __builder3.AddAttribute(127, "class", "col offset-sm-3");
                    __builder3.AddMarkupContent(128, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(129);
                    __builder3.AddAttribute(130, "ButtonType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonType>(
#line 56 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                ButtonType.Submit

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(131, "Icon", "save");
                    __builder3.AddAttribute(132, "Text", "Save");
                    __builder3.AddAttribute(133, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 56 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                ButtonStyle.Primary

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(134, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(135);
                    __builder3.AddAttribute(136, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 58 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                ButtonStyle.Light

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(137, "Text", "Cancel");
                    __builder3.AddAttribute(138, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 58 "C:\ZDung HDD\GitHub\can-erp-hrpr-mod\hr-pr\server\Pages\AddTblHpChiTietNgoaiNgu.razor"
                                                                                                                                                                                                                                                                                                                                                            Button2Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                            )));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(139, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(140, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(141, "\n          ");
                }
                                                                                                                                                                 ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(142, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(143, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(144, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #23
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenElement(4, "div");
                __builder2.AddAttribute(5, "class", "row");
                __builder2.AddMarkupContent(6, "\n      ");
                __builder2.OpenElement(7, "div");
                __builder2.AddAttribute(8, "class", "col-md-12");
                __builder2.AddMarkupContent(9, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenTemplateForm <C4G.Models.C4G.Formaco> >(10);
                __builder2.AddAttribute(11, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <C4G.Models.C4G.Formaco>(
#line 17 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                            formaco

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(12, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 17 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                            formaco != null

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(13, "Submit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <C4G.Models.C4G.Formaco> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <C4G.Models.C4G.Formaco>(this,
#line 17 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                                                                                                                                                                                                                                                                Form0Submit

#line default
#line hidden
                                                                                                                                                                                                                                                                                                )));
                __builder2.AddAttribute(14, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder3) => {
                    __builder3.AddMarkupContent(15, "\n            ");
                    __builder3.OpenElement(16, "div");
                    __builder3.AddAttribute(17, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(18, "class", "row");
                    __builder3.AddMarkupContent(19, "\n              ");
                    __builder3.OpenElement(20, "div");
                    __builder3.AddAttribute(21, "class", "col-md-3");
                    __builder3.AddMarkupContent(22, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(23);
                    __builder3.AddAttribute(24, "Text", "Designacao Pt");
                    __builder3.AddAttribute(25, "Component", "designacao_PT");
                    __builder3.AddAttribute(26, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(27, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(28, "\n              ");
                    __builder3.OpenElement(29, "div");
                    __builder3.AddAttribute(30, "class", "col-md-9");
                    __builder3.AddMarkupContent(31, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(32);
                    __builder3.AddAttribute(33, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 25 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                50

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(34, "style", "display: block; width: 100%");
                    __builder3.AddAttribute(35, "Name", "Designacao_PT");
                    __builder3.AddAttribute(36, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 25 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                formaco.designacao_PT

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(37, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => formaco.designacao_PT = __value, formaco.designacao_PT))));
                    __builder3.AddAttribute(38, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => formaco.designacao_PT));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(39, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(40);
                    __builder3.AddAttribute(41, "Component", "Designacao_PT");
                    __builder3.AddAttribute(42, "Text", "designacao_PT is required");
                    __builder3.AddAttribute(43, "style", "position: absolute");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(44, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(45, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(46, "\n            ");
                    __builder3.OpenElement(47, "div");
                    __builder3.AddAttribute(48, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(49, "class", "row");
                    __builder3.AddMarkupContent(50, "\n              ");
                    __builder3.OpenElement(51, "div");
                    __builder3.AddAttribute(52, "class", "col-md-3");
                    __builder3.AddMarkupContent(53, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(54);
                    __builder3.AddAttribute(55, "Text", "Designacao En");
                    __builder3.AddAttribute(56, "Component", "designacao_EN");
                    __builder3.AddAttribute(57, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(58, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(59, "\n              ");
                    __builder3.OpenElement(60, "div");
                    __builder3.AddAttribute(61, "class", "col-md-9");
                    __builder3.AddMarkupContent(62, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(63);
                    __builder3.AddAttribute(64, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 37 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                50

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(65, "style", "display: block; width: 100%");
                    __builder3.AddAttribute(66, "Name", "Designacao_EN");
                    __builder3.AddAttribute(67, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 37 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                formaco.designacao_EN

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(68, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => formaco.designacao_EN = __value, formaco.designacao_EN))));
                    __builder3.AddAttribute(69, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => formaco.designacao_EN));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(70, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(71);
                    __builder3.AddAttribute(72, "Component", "Designacao_EN");
                    __builder3.AddAttribute(73, "Text", "designacao_EN is required");
                    __builder3.AddAttribute(74, "style", "position: absolute");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(75, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(76, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(77, "\n            ");
                    __builder3.OpenElement(78, "div");
                    __builder3.AddAttribute(79, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(80, "class", "row");
                    __builder3.AddMarkupContent(81, "\n              ");
                    __builder3.OpenElement(82, "div");
                    __builder3.AddAttribute(83, "class", "col-md-3");
                    __builder3.AddMarkupContent(84, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(85);
                    __builder3.AddAttribute(86, "Text", "Tipo Formacao");
                    __builder3.AddAttribute(87, "Component", "tipo_formacao");
                    __builder3.AddAttribute(88, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(89, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(90, "\n              ");
                    __builder3.OpenElement(91, "div");
                    __builder3.AddAttribute(92, "class", "col-md-9");
                    __builder3.AddMarkupContent(93, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(94);
                    __builder3.AddAttribute(95, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 49 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                30

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(96, "style", "display: block; width: 100%");
                    __builder3.AddAttribute(97, "Name", "Tipo_formacao");
                    __builder3.AddAttribute(98, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 49 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                formaco.tipo_formacao

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(99, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => formaco.tipo_formacao = __value, formaco.tipo_formacao))));
                    __builder3.AddAttribute(100, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => formaco.tipo_formacao));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(101, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(102);
                    __builder3.AddAttribute(103, "Component", "Tipo_formacao");
                    __builder3.AddAttribute(104, "Text", "tipo_formacao is required");
                    __builder3.AddAttribute(105, "style", "position: absolute");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(106, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(107, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(108, "\n            ");
                    __builder3.OpenElement(109, "div");
                    __builder3.AddAttribute(110, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(111, "class", "row");
                    __builder3.AddMarkupContent(112, "\n              ");
                    __builder3.OpenElement(113, "div");
                    __builder3.AddAttribute(114, "class", "col-md-3");
                    __builder3.AddMarkupContent(115, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(116);
                    __builder3.AddAttribute(117, "Text", "Custo Unitario");
                    __builder3.AddAttribute(118, "Component", "custo_unitario");
                    __builder3.AddAttribute(119, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(120, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(121, "\n              ");
                    __builder3.OpenElement(122, "div");
                    __builder3.AddAttribute(123, "class", "col-md-9");
                    __builder3.AddMarkupContent(124, "\n                ");
                    __Blazor.C4G.Pages.AddFormaco.TypeInference.CreateRadzenNumeric_0(__builder3, 125, 126, "display: block; width: 100%", 127, "Custo_unitario", 128,
#line 61 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                                                      formaco.custo_unitario

#line default
#line hidden
                                                                                      , 129, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => formaco.custo_unitario = __value, formaco.custo_unitario)), 130, () => formaco.custo_unitario);
                    __builder3.AddMarkupContent(131, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(132);
                    __builder3.AddAttribute(133, "Component", "Custo_unitario");
                    __builder3.AddAttribute(134, "Text", "custo_unitario is required");
                    __builder3.AddAttribute(135, "style", "position: absolute");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(136, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(137, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(138, "\n            ");
                    __builder3.OpenElement(139, "div");
                    __builder3.AddAttribute(140, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(141, "class", "row");
                    __builder3.AddMarkupContent(142, "\n              ");
                    __builder3.OpenElement(143, "div");
                    __builder3.AddAttribute(144, "class", "col-md-3");
                    __builder3.AddMarkupContent(145, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(146);
                    __builder3.AddAttribute(147, "Text", "Observacoes");
                    __builder3.AddAttribute(148, "Component", "observacoes");
                    __builder3.AddAttribute(149, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(150, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(151, "\n              ");
                    __builder3.OpenElement(152, "div");
                    __builder3.AddAttribute(153, "class", "col-md-9");
                    __builder3.AddMarkupContent(154, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(155);
                    __builder3.AddAttribute(156, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int32?>(
#line 73 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                1000

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(157, "style", "display: block; width: 100%");
                    __builder3.AddAttribute(158, "Name", "Observacoes");
                    __builder3.AddAttribute(159, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 73 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                formaco.observacoes

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(160, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => formaco.observacoes = __value, formaco.observacoes))));
                    __builder3.AddAttribute(161, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => formaco.observacoes));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(162, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(163);
                    __builder3.AddAttribute(164, "Component", "Observacoes");
                    __builder3.AddAttribute(165, "Text", "observacoes is required");
                    __builder3.AddAttribute(166, "style", "position: absolute");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(167, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(168, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(169, "\n            ");
                    __builder3.OpenElement(170, "div");
                    __builder3.AddAttribute(171, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(172, "class", "row");
                    __builder3.AddMarkupContent(173, "\n              ");
                    __builder3.OpenElement(174, "div");
                    __builder3.AddAttribute(175, "class", "col-md-3");
                    __builder3.AddMarkupContent(176, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(177);
                    __builder3.AddAttribute(178, "Text", "Laboratorio");
                    __builder3.AddAttribute(179, "Component", "id_lab");
                    __builder3.AddAttribute(180, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(181, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(182, "\n              ");
                    __builder3.OpenElement(183, "div");
                    __builder3.AddAttribute(184, "class", "col-md-9");
                    __builder3.AddMarkupContent(185, "\n                ");
                    __Blazor.C4G.Pages.AddFormaco.TypeInference.CreateRadzenDropDown_1(__builder3, 186, 187,
#line 85 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                                                       getLaboratoriosResult

#line default
#line hidden
                                                                                       , 188, "designacao", 189, "id_lab", 190, "Choose Laboratorio", 191, "display: block; width: 100%", 192, "Id_lab", 193,
#line 85 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                                                       formaco.id_lab

#line default
#line hidden
                                                                                       , 194, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => formaco.id_lab = __value, formaco.id_lab)), 195, () => formaco.id_lab);
                    __builder3.AddMarkupContent(196, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(197);
                    __builder3.AddAttribute(198, "Component", "Id_lab");
                    __builder3.AddAttribute(199, "Text", "id_lab is required");
                    __builder3.AddAttribute(200, "style", "position: absolute");
                    __builder3.AddAttribute(201, "DefaultValue", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Object>(
#line 87 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                0

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(202, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(203, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(204, "\n            ");
                    __builder3.OpenElement(205, "div");
                    __builder3.AddAttribute(206, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(207, "class", "row");
                    __builder3.AddMarkupContent(208, "\n              ");
                    __builder3.OpenElement(209, "div");
                    __builder3.AddAttribute(210, "class", "col-md-3");
                    __builder3.AddMarkupContent(211, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(212);
                    __builder3.AddAttribute(213, "Text", "Recurso");
                    __builder3.AddAttribute(214, "Component", "id_recursos");
                    __builder3.AddAttribute(215, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(216, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(217, "\n              ");
                    __builder3.OpenElement(218, "div");
                    __builder3.AddAttribute(219, "class", "col-md-9");
                    __builder3.AddMarkupContent(220, "\n                ");
                    __Blazor.C4G.Pages.AddFormaco.TypeInference.CreateRadzenDropDown_2(__builder3, 221, 222,
#line 97 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                                                       getRecursosResult

#line default
#line hidden
                                                                                       , 223, "id_recursos", 224, "id_recursos", 225, "Choose Recurso", 226, "display: block; width: 100%", 227, "Id_recursos", 228,
#line 97 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                                                       formaco.id_recursos

#line default
#line hidden
                                                                                       , 229, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => formaco.id_recursos = __value, formaco.id_recursos)), 230, () => formaco.id_recursos);
                    __builder3.AddMarkupContent(231, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(232);
                    __builder3.AddAttribute(233, "Component", "Id_recursos");
                    __builder3.AddAttribute(234, "Text", "id_recursos is required");
                    __builder3.AddAttribute(235, "style", "position: absolute");
                    __builder3.AddAttribute(236, "DefaultValue", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Object>(
#line 99 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                0

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(237, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(238, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(239, "\n            ");
                    __builder3.OpenElement(240, "div");
                    __builder3.AddAttribute(241, "class", "row");
                    __builder3.AddMarkupContent(242, "\n              ");
                    __builder3.OpenElement(243, "div");
                    __builder3.AddAttribute(244, "class", "col offset-sm-3");
                    __builder3.AddMarkupContent(245, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(246);
                    __builder3.AddAttribute(247, "ButtonType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonType>(
#line 105 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                ButtonType.Submit

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(248, "Icon", "save");
                    __builder3.AddAttribute(249, "Text", "Save");
                    __builder3.AddAttribute(250, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 105 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                ButtonStyle.Primary

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(251, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(252);
                    __builder3.AddAttribute(253, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 107 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                ButtonStyle.Light

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(254, "Text", "Cancel");
                    __builder3.AddAttribute(255, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 107 "C:\Users\BreiaLopes\Documents\guilherme\trabalho_bd_programa\server\Pages\AddFormaco.razor"
                                                                                                                                                                                                                                                                                                                                                            Button2Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                            )));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(256, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(257, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(258, "\n          ");
                }
                                                                                                                                                                 ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(259, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(260, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(261, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
#line 6 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
            if (cargando)
            {
#line default
#line hidden
                __builder.AddContent(0, "    ");
                __builder.OpenComponent <SurcosBlazor.Client.Shared.Loading>(1);
                __builder.CloseComponent();
#line 8 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
            }

#line default
#line hidden
#line 9 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
            if (presentacionProducto != null)
            {
#line default
#line hidden
                __builder.AddContent(2, "    ");
                __builder.OpenComponent <Microsoft.AspNetCore.Components.Forms.EditForm>(3);
                __builder.AddAttribute(4, "Model", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Object>(
#line 12 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
                                           presentacionProducto

#line default
#line hidden
                                           ));
                __builder.AddAttribute(5, "OnValidSubmit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Forms.EditContext> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Forms.EditContext>(this,
#line 12 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
                                                                                                                                                                                                                                                                                                                                                           async() => { cargando = true; await Confirmar(); }

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                           )));
                __builder.AddAttribute(6, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder2) => {
                    __builder2.AddMarkupContent(7, "\r\n        ");
                    __builder2.OpenComponent <Microsoft.AspNetCore.Components.Forms.DataAnnotationsValidator>(8);
                    __builder2.CloseComponent();
                    __builder2.AddMarkupContent(9, "\r\n        ");
                    __builder2.OpenElement(10, "div");
                    __builder2.AddAttribute(11, "class", "form-group");
                    __builder2.AddMarkupContent(12, "\r\n            ");
                    __builder2.AddMarkupContent(13, "<label>Nombre</label>\r\n            ");
                    __builder2.OpenElement(14, "input");
                    __builder2.AddAttribute(15, "class", "form-control");
                    __builder2.AddAttribute(16, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 16 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
                                                presentacionProducto.nombre

#line default
#line hidden
                                                ));
                    __builder2.AddAttribute(17, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => presentacionProducto.nombre = __value, presentacionProducto.nombre));
                    __builder2.SetUpdatesAttributeName("value");
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(18, "\r\n            ");
                    __Blazor.SurcosBlazor.Client.Pages.BackOffice.Configuracion.ProductoC.PresentacionProductoC.PresentacionProductoForm.TypeInference.CreateValidationMessage_0(__builder2, 19, 20,
#line 17 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
                                                                                                                                                                                 (() => presentacionProducto.nombre)

#line default
#line hidden
                                                                                                                                                                                 );
                    __builder2.AddMarkupContent(21, "\r\n        ");
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(22, "\r\n        ");
                    __builder2.OpenElement(23, "div");
                    __builder2.AddAttribute(24, "class", "form-group");
                    __builder2.AddMarkupContent(25, "\r\n            ");
                    __builder2.AddMarkupContent(26, "<label>Cantidad en Kilogramos/Litros. Ej</label>\r\n            ");
                    __builder2.OpenElement(27, "input");
                    __builder2.AddAttribute(28, "class", "form-control");
                    __builder2.AddAttribute(29, "placeholder", "Ej. Bolsa 250grs - 0,25");
                    __builder2.AddAttribute(30, "type", "number");
                    __builder2.AddAttribute(31, "step", "0.001");
                    __builder2.AddAttribute(32, "value", Microsoft.AspNetCore.Components.BindConverter.FormatValue(
#line 21 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
                                                presentacionProducto.cantidad

#line default
#line hidden
                                                , culture: global::System.Globalization.CultureInfo.InvariantCulture));
                    __builder2.AddAttribute(33, "onchange", Microsoft.AspNetCore.Components.EventCallback.Factory.CreateBinder(this, __value => presentacionProducto.cantidad = __value, presentacionProducto.cantidad, culture: global::System.Globalization.CultureInfo.InvariantCulture));
                    __builder2.SetUpdatesAttributeName("value");
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(34, "\r\n\r\n            ");
                    __Blazor.SurcosBlazor.Client.Pages.BackOffice.Configuracion.ProductoC.PresentacionProductoC.PresentacionProductoForm.TypeInference.CreateValidationMessage_1(__builder2, 35, 36,
#line 23 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
                                                                                                                                                                                 (() => presentacionProducto.cantidad)

#line default
#line hidden
                                                                                                                                                                                 );
                    __builder2.AddMarkupContent(37, "\r\n        ");
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(38, "\r\n        ");
                    __builder2.OpenElement(39, "div");
                    __builder2.AddAttribute(40, "class", "form-group");
                    __builder2.AddMarkupContent(41, "\r\n            ");
                    __builder2.OpenComponent <SurcosBlazor.Client.Shared.RadioButtonGeneric <Unidad> >(42);
                    __builder2.AddAttribute(43, "OnChangeFunction", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Unidad> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Unidad>(this,
#line 27 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
                                                                                                                                                                                                                                                                              ((Unidad unidad) => RadioUnidadChange(unidad))

#line default
#line hidden
                                                                                                                                                                                                                                                                              )));
                    __builder2.AddAttribute(44, "propAMostrar", "nombre");
                    __builder2.AddAttribute(45, "ListarItems", new System.Func <System.Threading.Tasks.Task <System.Collections.Generic.List <Unidad> > >(
#line 29 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
                                                (async() => await ListarUnidades())

#line default
#line hidden
                                                ));
                    __builder2.AddAttribute(46, "item", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Unidad>(
#line 30 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
                                                presentacionProducto.Unidad != null ? presentacionProducto.Unidad : null

#line default
#line hidden
                                                ));
                    __builder2.CloseComponent();
                    __builder2.AddMarkupContent(47, "\r\n        ");
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(48, "\r\n        ");
                    __builder2.OpenElement(49, "button");
                    __builder2.AddAttribute(50, "class", "btn-outline-olive btn-block");
                    __builder2.AddAttribute(51, "type", "submit");
                    __builder2.AddContent(52,
#line 33 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
                                          accion

#line default
#line hidden
                                          );
                    __builder2.CloseElement();
                    __builder2.AddMarkupContent(53, "\r\n    ");
                }
                                                                                                                                                               ));
                __builder.CloseComponent();
                __builder.AddMarkupContent(54, "\r\n");
#line 35 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ProductoC\PresentacionProductoC\PresentacionProductoForm.razor"
            }

#line default
#line hidden
        }
예제 #25
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "top-row pl-4 navbar navbar-dark");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.AddMarkupContent(3, "<a class=\"navbar-brand\" href>blazorSolution</a>\r\n    ");
            __builder.OpenElement(4, "button");
            __builder.AddAttribute(5, "class", "navbar-toggler");
            __builder.AddAttribute(6, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 3 "C:\Users\Mike\Documents\GITREPOS\Blazor\blazorSolution\Shared\NavMenu.razor"
                                                                                                                                                                   ToggleNavMenu

#line default
#line hidden
                                                                                                                                                                   ));
            __builder.AddMarkupContent(7, "\r\n        <span class=\"navbar-toggler-icon\"></span>\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(8, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(9, "\r\n\r\n");
            __builder.OpenElement(10, "div");
            __builder.AddAttribute(11, "class",
#line 8 "C:\Users\Mike\Documents\GITREPOS\Blazor\blazorSolution\Shared\NavMenu.razor"
                                   NavMenuCssClass

#line default
#line hidden
                                   );
            __builder.AddAttribute(12, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 8 "C:\Users\Mike\Documents\GITREPOS\Blazor\blazorSolution\Shared\NavMenu.razor"
                                                                                                                                                                    ToggleNavMenu

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(13, "\r\n    ");
            __builder.OpenElement(14, "ul");
            __builder.AddAttribute(15, "class", "nav flex-column");
            __builder.AddMarkupContent(16, "\r\n        ");
            __builder.OpenElement(17, "li");
            __builder.AddAttribute(18, "class", "nav-item px-3");
            __builder.AddMarkupContent(19, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(20);
            __builder.AddAttribute(21, "class", "nav-link");
            __builder.AddAttribute(22, "href", "");
            __builder.AddAttribute(23, "Match", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.Routing.NavLinkMatch>(
#line 11 "C:\Users\Mike\Documents\GITREPOS\Blazor\blazorSolution\Shared\NavMenu.razor"
                                       NavLinkMatch.All

#line default
#line hidden
                                       ));
            __builder.AddAttribute(24, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(25, "\r\n                <span class=\"oi oi-home\" aria-hidden=\"true\"></span> Home\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(26, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(27, "\r\n        ");
            __builder.OpenElement(28, "li");
            __builder.AddAttribute(29, "class", "nav-item px-3");
            __builder.AddMarkupContent(30, "\r\n            ");
            __builder.OpenComponent <Microsoft.AspNetCore.Components.Routing.NavLink>(31);
            __builder.AddAttribute(32, "class", "nav-link");
            __builder.AddAttribute(33, "href", "bio");
            __builder.AddAttribute(34, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(35, "\r\n                <span class=\"oi oi-plus\" aria-hidden=\"true\"></span> Bio\r\n            ");
            }
                                                                                                        ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(36, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(37, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(38, "\r\n");
            __builder.CloseElement();
        }
예제 #26
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "div");
            __builder.AddAttribute(1, "class", "main");
            __builder.AddMarkupContent(2, "\r\n    ");
            __builder.OpenElement(3, "ul");
            __builder.AddAttribute(4, "class", "pizza-cards");
            __builder.AddMarkupContent(5, "\r\n");
#line 6 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
            if (specials != null)
            {
#line default
#line hidden
#line 8 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                foreach (var special in specials)
                {
#line default
#line hidden
                    __builder.AddContent(6, "                ");
                    __builder.OpenElement(7, "li");
                    __builder.AddAttribute(8, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 10 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                                                                                                                                                           () => ShowConfigurePizzaDialog(special)

#line default
#line hidden
                                                                                                                                                                           ));
                    __builder.AddAttribute(9, "style", "background-image:" + " url(\'" + (
#line 10 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                               special.ImageUrl

#line default
#line hidden
                                               ) + "\')");
                    __builder.AddMarkupContent(10, "\r\n                    ");
                    __builder.OpenElement(11, "div");
                    __builder.AddAttribute(12, "class", "pizza-info");
                    __builder.AddMarkupContent(13, "\r\n                        ");
                    __builder.OpenElement(14, "span");
                    __builder.AddAttribute(15, "class", "title");
                    __builder.AddContent(16,
#line 12 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                         special.Name

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(17, "\r\n                        ");
                    __builder.AddContent(18,
#line 13 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                         special.Description

#line default
#line hidden
                                         );
                    __builder.AddMarkupContent(19, "\r\n                        ");
                    __builder.OpenElement(20, "span");
                    __builder.AddAttribute(21, "class", "price");
                    __builder.AddContent(22,
#line 14 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                         special.GetFormattedBasePrice()

#line default
#line hidden
                                         );
                    __builder.CloseElement();
                    __builder.AddMarkupContent(23, "\r\n                    ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(24, "\r\n                ");
                    __builder.CloseElement();
                    __builder.AddMarkupContent(25, "\r\n");
#line 17 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                }

#line default
#line hidden
#line 17 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
            }

#line default
#line hidden
            __builder.AddContent(26, "    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(27, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(28, "\r\n");
            __builder.OpenElement(29, "div");
            __builder.AddAttribute(30, "class", "sidebar");
            __builder.AddMarkupContent(31, "\r\n");
#line 22 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
            if (order.Pizzas.Any())
            {
#line default
#line hidden
                __builder.AddContent(32, "        ");
                __builder.OpenElement(33, "div");
                __builder.AddAttribute(34, "class", "order-contents");
                __builder.AddMarkupContent(35, "\r\n            ");
                __builder.AddMarkupContent(36, "<h2>Your order</h2>\r\n\r\n");
#line 27 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                foreach (var configuredPizza in order.Pizzas)
                {
#line default
#line hidden
                    __builder.AddContent(37, "                ");
                    __builder.OpenComponent <BlazingPizza.Client.Shared.ConfiguredPizzaItem>(38);
                    __builder.AddAttribute(39, "Pizza", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <BlazingPizza.Pizza>(
#line 29 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                               configuredPizza

#line default
#line hidden
                                               ));
                    __builder.AddAttribute(40, "OnRemoved", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 29 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                                                                                                                                                                                                                                   () => RemoveConfiguredPizza(configuredPizza)

#line default
#line hidden
                                                                                                                                                                                                                                                   )));
                    __builder.CloseComponent();
                    __builder.AddMarkupContent(41, "\r\n");
#line 30 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                }

#line default
#line hidden
                __builder.AddContent(42, "        ");
                __builder.CloseElement();
                __builder.AddMarkupContent(43, "\r\n");
#line 32 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
            }
            else
            {
#line default
#line hidden
                __builder.AddContent(44, "        ");
                __builder.AddMarkupContent(45, "<div class=\"empty-cart\">Choose a pizza<br>to get started</div>\r\n");
#line 36 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
            }

#line default
#line hidden
            __builder.AddMarkupContent(46, "\r\n    ");
            __builder.OpenElement(47, "div");
            __builder.AddAttribute(48, "class", "order-total" + " " + (
#line 38 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                       order.Pizzas.Any() ? "" : "hidden"

#line default
#line hidden
                                       ));
            __builder.AddMarkupContent(49, "\r\n        Total:\r\n        ");
            __builder.OpenElement(50, "span");
            __builder.AddAttribute(51, "class", "total-price");
            __builder.AddContent(52,
#line 40 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                 order.GetFormattedTotalPrice()

#line default
#line hidden
                                 );
            __builder.CloseElement();
            __builder.AddMarkupContent(53, "\r\n        ");
            __builder.OpenElement(54, "button");
            __builder.AddAttribute(55, "class", "btn btn-warning");
            __builder.AddAttribute(56, "disabled",
#line 41 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                   order.Pizzas.Count == 0

#line default
#line hidden
                                   );
            __builder.AddAttribute(57, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 41 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                                                                                                                                                    PlaceOrder

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddMarkupContent(58, "\r\n            Order >\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(59, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(60, "\r\n");
            __builder.CloseElement();
            __builder.AddMarkupContent(61, "\r\n\r\n");
#line 47 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
            if (showingConfigureDialog)
            {
#line default
#line hidden
                __builder.AddContent(62, "    ");
                __builder.OpenComponent <BlazingPizza.Client.Shared.ConfigurePizzaDialog>(63);
                __builder.AddAttribute(64, "Pizza", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <BlazingPizza.Pizza>(
#line 49 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                           configuringPizza

#line default
#line hidden
                                           ));
                __builder.AddAttribute(65, "OnCancel", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 49 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                                                                                                                                                                                                                              CancelConfigurePizzaDialog

#line default
#line hidden
                                                                                                                                                                                                                                              )));
                __builder.AddAttribute(66, "OnConfirm", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 49 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
                                                                                                                                                                                                                                               ConfirmConfigurePizzaDialog

#line default
#line hidden
                                                                                                                                                                                                                                               )));
                __builder.CloseComponent();
                __builder.AddMarkupContent(67, "\r\n");
#line 50 "C:\Users\amadaan\source\repos\Blazor\save-points\00-Starting-point\BlazingPizza.Client\Pages\Index.razor"
            }

#line default
#line hidden
        }
예제 #27
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenDialog>(0);
            __builder.CloseComponent();
            __builder.AddMarkupContent(1, "\n");
            __builder.OpenComponent <Radzen.Blazor.RadzenNotification>(2);
            __builder.CloseComponent();
            __builder.AddMarkupContent(3, "\n\n");
            __builder.OpenComponent <Radzen.Blazor.RadzenBody>(4);
            __builder.AddAttribute(5, "Expanded", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 9 "C:\SelectProcUsingRadzen\server\Shared\LoginLayout.razor"
                                       true

#line default
#line hidden
                                       ));
            __builder.AddAttribute(6, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(7, "\n    ");
                __builder2.OpenElement(8, "div");
                __builder2.AddAttribute(9, "class", "row justify-content-center");
                __builder2.AddMarkupContent(10, "\n      ");
                __builder2.OpenElement(11, "div");
                __builder2.AddAttribute(12, "class", "justify-content-center col-xl-5 col-md-7");
                __builder2.AddMarkupContent(13, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenCard>(14);
                __builder2.AddAttribute(15, "style", "margin-top: 8rem");
                __builder2.AddAttribute(16, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(17, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenContentContainer>(18);
                    __builder3.AddAttribute(19, "Name", "main");
                    __builder3.AddAttribute(20, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder4) => {
                        __builder4.AddMarkupContent(21, "\n            ");
                        __builder4.AddContent(22,
#line 16 "C:\SelectProcUsingRadzen\server\Shared\LoginLayout.razor"
                                              Body

#line default
#line hidden
                                              );
                        __builder4.AddMarkupContent(23, "\n            ");
                    }
                                                                                                                 ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(24, "\n          ");
                }
                                                                                                             ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(25, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(26, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(27, "\n  ");
            }
                                                                                                       ));
            __builder.AddComponentReferenceCapture(28, (__value) => {
#line 9 "C:\SelectProcUsingRadzen\server\Shared\LoginLayout.razor"
                body0 = (Radzen.Blazor.RadzenBody)__value;

#line default
#line hidden
            }
                                                   );
            __builder.CloseComponent();
        }
예제 #28
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "contentContainer0");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenHeading>(4);
                __builder2.AddAttribute(5, "Size", "H1");
                __builder2.AddAttribute(6, "Text", "Tbl Ic Transaction Types");
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(7, "\n    ");
                __builder2.OpenElement(8, "div");
                __builder2.AddAttribute(9, "class", "row");
                __builder2.AddMarkupContent(10, "\n      ");
                __builder2.OpenElement(11, "div");
                __builder2.AddAttribute(12, "class", "col-md-12");
                __builder2.AddMarkupContent(13, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenButton>(14);
                __builder2.AddAttribute(15, "Icon", "add_circle_outline");
                __builder2.AddAttribute(16, "style", "margin-bottom: 10px");
                __builder2.AddAttribute(17, "Text", "Add");
                __builder2.AddAttribute(18, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 14 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                                                                                                                                                                                                                                                                                                                                       Button0Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                       )));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(19, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenGrid <ErpCan.Models.CanErpDbAt132.TblIcTransactionType> >(20);
                __builder2.AddAttribute(21, "AllowFiltering", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(22, "AllowPaging", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(23, "AllowSorting", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 16 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                            true

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(24, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Collections.Generic.IEnumerable <ErpCan.Models.CanErpDbAt132.TblIcTransactionType> >(
#line 16 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                            getTblIcTransactionTypesResult

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(25, "RowSelect", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <ErpCan.Models.CanErpDbAt132.TblIcTransactionType> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <ErpCan.Models.CanErpDbAt132.TblIcTransactionType>(this,
#line 16 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                                                                                                                                                                                                                                                                                                                                       Grid0RowSelect

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                       )));
                __builder2.AddAttribute(26, "Columns", (Microsoft.AspNetCore.Components.RenderFragment)((__builder3) => {
                    __builder3.AddMarkupContent(27, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <ErpCan.Models.CanErpDbAt132.TblIcTransactionType> >(28);
                    __builder3.AddAttribute(29, "Property", "Transaction_ID");
                    __builder3.AddAttribute(30, "Title", "Transaction ID");
                    __builder3.AddAttribute(31, "Type", "string");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(32, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <ErpCan.Models.CanErpDbAt132.TblIcTransactionType> >(33);
                    __builder3.AddAttribute(34, "Property", "Transaction_Name");
                    __builder3.AddAttribute(35, "Title", "Transaction Name");
                    __builder3.AddAttribute(36, "Type", "string");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(37, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <ErpCan.Models.CanErpDbAt132.TblIcTransactionType> >(38);
                    __builder3.AddAttribute(39, "Property", "Description");
                    __builder3.AddAttribute(40, "Title", "Description");
                    __builder3.AddAttribute(41, "Type", "string");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(42, "\n            ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenGridColumn <ErpCan.Models.CanErpDbAt132.TblIcTransactionType> >(43);
                    __builder3.AddAttribute(44, "Filterable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 24 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                                false

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(45, "Sortable", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 24 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                                false

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(46, "Bubble", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 24 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                                false

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(47, "Width", "70px");
                    __builder3.AddAttribute(48, "TextAlign", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.TextAlign>(
#line 24 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                                TextAlign.Center

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(49, "Template", (Microsoft.AspNetCore.Components.RenderFragment <ErpCan.Models.CanErpDbAt132.TblIcTransactionType>)((erpCanModelsCanErpDbAt132TblIcTransactionType) => (__builder4) => {
                        __builder4.AddMarkupContent(50, "\n                ");
                        __builder4.OpenComponent <Radzen.Blazor.RadzenButton>(51);
                        __builder4.AddAttribute(52, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 26 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                                    ButtonStyle.Danger

#line default
#line hidden
                                                    ));
                        __builder4.AddAttribute(53, "Icon", "close");
                        __builder4.AddAttribute(54, "Size", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonSize>(
#line 26 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                                    ButtonSize.Small

#line default
#line hidden
                                                    ));
                        __builder4.AddAttribute(55, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 26 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                                                                                                                                                                                                                                                                                                                                                               (args) => GridDeleteButtonClick(args, erpCanModelsCanErpDbAt132TblIcTransactionType)

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                               )));
                        __builder4.CloseComponent();
                        __builder4.AddMarkupContent(56, "\n              ");
                    }
                                                                                                                                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(57, "\n          ");
                }
                                                                                                        ));
                __builder2.AddComponentReferenceCapture(58, (__value) => {
#line 16 "F:\GitHub02\RadZen-Projects\ERP_CAN_Project\eprcan\server\Pages\TblIcTransactionTypes.razor"
                    grid0 = (Radzen.Blazor.RadzenGrid <ErpCan.Models.CanErpDbAt132.TblIcTransactionType>)__value;

#line default
#line hidden
                }
                                                        );
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(59, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(60, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(61, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #29
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenComponent <Radzen.Blazor.RadzenContent>(0);
            __builder.AddAttribute(1, "Container", "main");
            __builder.AddAttribute(2, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(3, "\n    ");
                __builder2.OpenElement(4, "div");
                __builder2.AddAttribute(5, "class", "row");
                __builder2.AddMarkupContent(6, "\n      ");
                __builder2.OpenElement(7, "div");
                __builder2.AddAttribute(8, "class", "col-md-12");
                __builder2.AddMarkupContent(9, "\n        ");
                __builder2.OpenComponent <Radzen.Blazor.RadzenTemplateForm <SoccerLeagueTransferApp.Models.ConData.Role> >(10);
                __builder2.AddAttribute(11, "Data", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <SoccerLeagueTransferApp.Models.ConData.Role>(
#line 12 "C:\SoccerLeagueTransfer\server\Pages\EditRole.razor"
                                            role

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(12, "Visible", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 12 "C:\SoccerLeagueTransfer\server\Pages\EditRole.razor"
                                            role != null

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(13, "Submit", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <SoccerLeagueTransferApp.Models.ConData.Role> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <SoccerLeagueTransferApp.Models.ConData.Role>(this,
#line 12 "C:\SoccerLeagueTransfer\server\Pages\EditRole.razor"
                                                                                                                                                                                                                                                                                                                                          Form0Submit

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                          )));
                __builder2.AddAttribute(14, "ChildContent", (Microsoft.AspNetCore.Components.RenderFragment <Microsoft.AspNetCore.Components.Forms.EditContext>)((context) => (__builder3) => {
                    __builder3.AddMarkupContent(15, "\n            ");
                    __builder3.OpenElement(16, "div");
                    __builder3.AddAttribute(17, "style", "margin-bottom: 1rem");
                    __builder3.AddAttribute(18, "class", "row");
                    __builder3.AddMarkupContent(19, "\n              ");
                    __builder3.OpenElement(20, "div");
                    __builder3.AddAttribute(21, "class", "col-md-3");
                    __builder3.AddMarkupContent(22, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenLabel>(23);
                    __builder3.AddAttribute(24, "Text", "Role Name");
                    __builder3.AddAttribute(25, "Component", "RoleName");
                    __builder3.AddAttribute(26, "style", "width: 100%");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(27, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(28, "\n              ");
                    __builder3.OpenElement(29, "div");
                    __builder3.AddAttribute(30, "class", "col-md-9");
                    __builder3.AddMarkupContent(31, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenTextBox>(32);
                    __builder3.AddAttribute(33, "MaxLength", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Int64?>(
#line 20 "C:\SoccerLeagueTransfer\server\Pages\EditRole.razor"
                                                50

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(34, "style", "display: block; width: 100%");
                    __builder3.AddAttribute(35, "Name", "RoleName");
                    __builder3.AddAttribute(36, "Value", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.String>(
#line 20 "C:\SoccerLeagueTransfer\server\Pages\EditRole.razor"
                                                role.RoleName

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(37, "ValueChanged", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <System.String> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <System.String>(this, Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.CreateInferredEventCallback(this, __value => role.RoleName = __value, role.RoleName))));
                    __builder3.AddAttribute(38, "ValueExpression", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Linq.Expressions.Expression <System.Func <System.String> > >(() => role.RoleName));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(39, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenRequiredValidator>(40);
                    __builder3.AddAttribute(41, "Component", "RoleName");
                    __builder3.AddAttribute(42, "Text", "RoleName is required");
                    __builder3.AddAttribute(43, "style", "position: absolute");
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(44, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(45, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(46, "\n            ");
                    __builder3.OpenElement(47, "div");
                    __builder3.AddAttribute(48, "class", "row");
                    __builder3.AddMarkupContent(49, "\n              ");
                    __builder3.OpenElement(50, "div");
                    __builder3.AddAttribute(51, "class", "col offset-sm-3");
                    __builder3.AddMarkupContent(52, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(53);
                    __builder3.AddAttribute(54, "ButtonType", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonType>(
#line 28 "C:\SoccerLeagueTransfer\server\Pages\EditRole.razor"
                                                ButtonType.Submit

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(55, "Icon", "save");
                    __builder3.AddAttribute(56, "Text", "Save");
                    __builder3.AddAttribute(57, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 28 "C:\SoccerLeagueTransfer\server\Pages\EditRole.razor"
                                                ButtonStyle.Primary

#line default
#line hidden
                                                ));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(58, "\n                ");
                    __builder3.OpenComponent <Radzen.Blazor.RadzenButton>(59);
                    __builder3.AddAttribute(60, "ButtonStyle", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Radzen.ButtonStyle>(
#line 30 "C:\SoccerLeagueTransfer\server\Pages\EditRole.razor"
                                                ButtonStyle.Light

#line default
#line hidden
                                                ));
                    __builder3.AddAttribute(61, "Text", "Cancel");
                    __builder3.AddAttribute(62, "Click", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback <Microsoft.AspNetCore.Components.Web.MouseEventArgs> >(Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 30 "C:\SoccerLeagueTransfer\server\Pages\EditRole.razor"
                                                                                                                                                                                                                                                                                                                                                           Button2Click

#line default
#line hidden
                                                                                                                                                                                                                                                                                                                                                           )));
                    __builder3.CloseComponent();
                    __builder3.AddMarkupContent(63, "\n              ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(64, "\n            ");
                    __builder3.CloseElement();
                    __builder3.AddMarkupContent(65, "\n          ");
                }
                                                                                                                                                                 ));
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(66, "\n      ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(67, "\n    ");
                __builder2.CloseElement();
                __builder2.AddMarkupContent(68, "\n  ");
            }
                                                                                                       ));
            __builder.CloseComponent();
        }
예제 #30
0
        #pragma warning disable 1998
        protected override void BuildRenderTree(Microsoft.AspNetCore.Components.Rendering.RenderTreeBuilder __builder)
        {
            __builder.OpenElement(0, "nav");
            __builder.AddAttribute(1, "aria-label", "breadcrumb");
            __builder.AddMarkupContent(2, "\r\n        ");
            __builder.OpenElement(3, "ol");
            __builder.AddAttribute(4, "class", "breadcrumb");
            __builder.AddMarkupContent(5, "\r\n            ");
            __builder.OpenElement(6, "li");
            __builder.AddAttribute(7, "class", "breadcrumb-item");
            __builder.AddAttribute(8, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 9 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                                                                                                                                                   () => uri.NavigateTo("/BackOffice/Configuraciones")

#line default
#line hidden
                                                                                                                                                                   ));
            __builder.AddContent(9, "Configuraciones");
            __builder.CloseElement();
            __builder.AddMarkupContent(10, "\r\n            ");
            __builder.OpenElement(11, "li");
            __builder.AddAttribute(12, "class", "breadcrumb-item active");
            __builder.AddAttribute(13, "aria-current", "page");
            __builder.AddAttribute(14, "onclick", Microsoft.AspNetCore.Components.EventCallback.Factory.Create <Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this,
#line 10 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                                                                                                                                                    () => uri.NavigateTo("/BackOffice/Configuraciones/ListadoTipoListaPrecio")

#line default
#line hidden
                                                                                                                                                                    ));
            __builder.AddContent(15, "Listado de Tipos Lista Precios");
            __builder.CloseElement();
            __builder.AddMarkupContent(16, "\r\n        ");
            __builder.CloseElement();
            __builder.AddMarkupContent(17, "\r\n    ");
            __builder.CloseElement();
            __builder.AddMarkupContent(18, "\r\n");
            __builder.OpenElement(19, "div");
            __builder.AddMarkupContent(20, "\r\n    ");
            __builder.AddMarkupContent(21, "<div class=\"border-bottom border-secondary my-2\">\r\n        <h2 class>Tipos de lista de Precios</h2>\r\n    </div>\r\n    ");
            __builder.OpenComponent <SurcosBlazor.Client.Shared.BotoneraAcciones <TipoListaPrecio> >(22);
            __builder.AddAttribute(23, "agregar", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <System.Boolean>(
#line 17 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                       true

#line default
#line hidden
                                       ));
            __builder.AddAttribute(24, "modalContentAgregar", (Microsoft.AspNetCore.Components.RenderFragment)((__builder2) => {
                __builder2.AddMarkupContent(25, "\r\n            ");
                __builder2.OpenComponent <SurcosBlazor.Client.Pages.BackOffice.Configuracion.ListaDePreciosC.TipoListaPrecioC.TipoListaPrecioForm>(26);
                __builder2.AddAttribute(27, "tipoListaPrecio", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <SurcosBlazor.Shared.Entidades.TipoListaPrecio>(
#line 19 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                            new TipoListaPrecio()

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(28, "callback", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 19 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                                                                                                                                                                                                                               (async() => { this.StateHasChanged(); await tablaGenerica.ListarItemsApi(); })

#line default
#line hidden
                                                                                                                                                                                                                                               )));
                __builder2.AddAttribute(29, "accion", "Crear");
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(30, "\r\n        ");
            }
                                                                                                               ));
            __builder.CloseComponent();
            __builder.AddMarkupContent(31, "\r\n    ");
            __Blazor.SurcosBlazor.Client.Pages.BackOffice.Configuracion.ListaDePreciosC.TipoListaPrecioC.ListadoTipoListaPrecio.TypeInference.CreateTablaGenerica_0(__builder, 32, 33,
#line 25 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                                                                                                                                                    new List <string[]> {
                new string[3] {
                    "Id", "Id", "Texto"
                },
                new string[3] {
                    "Nombre", "nombre", "Text"
                }, new string[3] {
                    "Minimo de Compra ($)", "minimoDeCompra", "Text"
                }
            }

#line default
#line hidden
                                                                                                                                                                    , 34,
#line 28 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                                                                                                                                                    true

#line default
#line hidden
                                                                                                                                                                    , 35,
#line 29 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                                                                                                                                                    true

#line default
#line hidden
                                                                                                                                                                    , 36, "BackOffice/Configuraciones/TipoListaPrecio", 37,
#line 31 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                                                                                                                                                    new TablaGenerica <TipoListaPrecio> .ConsultarApi {
                baseUrl = $"api/tipoListaPrecio?", consultaApi = true, paginacion = true, cantidadDeRegistrosAMostrar = 10
            }

#line default
#line hidden
                                                                                                                                                                    , 38,
#line 32 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                                                                                                                                                    true

#line default
#line hidden
                                                                                                                                                                    , 39, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 33 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                                                                                                                                                                                                                       ((TipoListaPrecio tipoListaPrecio) => ElementoSeleccionado(tipoListaPrecio))

#line default
#line hidden
                                                                                                                                                                                                                                       ), 40,
#line 34 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                                                                                                                                                    true

#line default
#line hidden
                                                                                                                                                                    , 41, Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 35 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                                                                                                                                                                                                                       async() => await EliminarTipoListaPrecio(tipoListaPrecio)

#line default
#line hidden
                                                                                                                                                                                                                                       ), 42, (__builder2) => {
                __builder2.AddMarkupContent(43, "\r\n            ");
                __builder2.OpenComponent <SurcosBlazor.Client.Pages.BackOffice.Configuracion.ListaDePreciosC.TipoListaPrecioC.TipoListaPrecioForm>(44);
                __builder2.AddAttribute(45, "tipoListaPrecio", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <SurcosBlazor.Shared.Entidades.TipoListaPrecio>(
#line 38 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                            tipoListaPrecio

#line default
#line hidden
                                            ));
                __builder2.AddAttribute(46, "callback", Microsoft.AspNetCore.Components.CompilerServices.RuntimeHelpers.TypeCheck <Microsoft.AspNetCore.Components.EventCallback>(Microsoft.AspNetCore.Components.EventCallback.Factory.Create(this,
#line 38 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                                                                                                                                                                                                                                               (() => this.StateHasChanged())

#line default
#line hidden
                                                                                                                                                                                                                                               )));
                __builder2.AddAttribute(47, "accion", "Editar");
                __builder2.CloseComponent();
                __builder2.AddMarkupContent(48, "\r\n        ");
            }
                                                                                                                                                                    , 49, (__value) => {
#line 24 "C:\Users\agust\source\repos\SurcosBlazor\Client\Pages\BackOffice\Configuracion\ListaDePreciosC\TipoListaPrecioC\ListadoTipoListaPrecio.razor"
                tablaGenerica = __value;

#line default
#line hidden
            }
                                                                                                                                                                    );
            __builder.AddMarkupContent(50, "\r\n");
            __builder.CloseElement();
        }