Telerik Forums
Kendo UI for jQuery Forum
1 answer
508 views

Looking for an example on how to modify the submit to

 

 

-POST to a REST service

-Not redirect the page

weak attempt.. 

        //add to existing dom

ui.content.find('#add').append('<form id="addFrm" method="POST" onsubmit="svc.addResource();return false;"></form>'.format(_host.service));
page.addForm = $("#addFrm").kendoForm({
            formData: {
                id: 0,
                modifiedBy: _user.email,
                projectName: page.project.name,
                role: '',
                resourceType: '',
                upn: '',
                userDisplayName: ''
            },
            items: [{     editor: 'DropDownList', field: 'role', label: 'Project Role',
                    validation: { required: true, message: "must specific resource role" },
                    hint: "Hint: Solution Architect, Project Manager, Technical Lead, etc..",                
                    editorOptions: { optionLabel: 'select project role...',dataSource: page.roles, dataTextField: 'role', dataValueField: 'role'}  },

                 { editor: 'DropDownList', field: 'resourceType', label: 'Resource Type',

                    validation: { required: true, message: "must specific type resource of resource" },

                    hint: "Hint: Vendors existing supplier, Contractors are independently hired, Any if TBD..",
                    editorOptions: {
                        optionLabel: 'select type of resource...',
                        dataSource: [{ text: 'Any' }, { text: 'Employee' }, { text: 'Vendor' }, { text: 'Contractor' }],
                        dataTextField: 'text',
                        dataValueField: 'text'
                    }
                }
            ]
        });

 

Dimitar
Telerik team
 answered on 20 Jul 2020
3 answers
448 views

Hi, Dev Team!

I have two questions:

1. How i can hide "Clear" button?

2.How i can hide annoing ".00" after integer number in NumericTextBox field? 

Dimitar
Telerik team
 answered on 06 Jul 2020
3 answers
334 views

I'm trying to format a numeric text box item with the following:

attributes: {format: "#", decimal: 0}

But it has no efect

Could you give an example of how to achieve the above

 

Thanks

Dimitar
Telerik team
 answered on 09 Jun 2020
2 answers
72 views

{ field: "LastName", label: "LastName:", validation: { required: true, message: "test" }, hint: "Hint: enter alphanumeric characters only." },

The validation attribute message seems to be wrong

It should be validationMessage not message

Michael
Top achievements
Rank 1
Veteran
 answered on 18 May 2020
2 answers
493 views
Can you use a textarea element as items.editor or make a TextBox multi-line
Michael
Top achievements
Rank 1
Veteran
 answered on 18 May 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?