We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Add form elements inside the tabs

Thread ID:





145481 Jun 25,2019 03:17 AM UTC Jun 25,2019 06:11 AM UTC Blazor 2
Tags: Tabs
Asked On June 25, 2019 03:17 AM UTC


How to place forms elements inside the tabs.  each tab should have separate forms.


Hareesh Balasubramanian [Syncfusion]
Replied On June 25, 2019 06:07 AM UTC

Dear Customer, 

Greetings from Syncfusion support. 

We have prepared the sample to render HTML form elements in one tab item and Syncfusion Query builder component  in another item for your reference. 

<EjsTab ID="defaultTab"> 
        <TabItem Header="@header1" Content="#content1"></TabItem> 
        <TabItem Header="@header2" Content="#content2"></TabItem> 
<div id="content2" style="display: none"> 
    <EjsQueryBuilder ID="querybuilder" Width="70%" Rule="@rule"> 
            <QueryBuilderColumn Field="EmployeeID" Label="Employee ID" Type="number"></QueryBuilderColumn> 
            <QueryBuilderColumn Field="FirstName" Label="First Name" Type="string"></QueryBuilderColumn> 
            <QueryBuilderColumn Field="TitleOfCourtesy" Label="Title Of Courtesy" Type="boolean" Values=@values></QueryBuilderColumn> 
            <QueryBuilderColumn field="Title" label="Title" type="string"></QueryBuilderColumn> 
            <QueryBuilderColumn field="HireDate" label="Hire Date" type="date" format="dd/MM/yyyy"></QueryBuilderColumn> 
            <QueryBuilderColumn field="Country" label="Country" type="string"></QueryBuilderColumn> 
            <QueryBuilderColumn field="City" label="City" type="string"></QueryBuilderColumn> 
<div id="content1" style="display: none"> 
        <div class="container"> 
            <p>Please fill in this form to create an account.</p> 
            <label for="email"><b>Email</b></label> 
            <input type="text" placeholder="Enter Email" name="email" required> 
            <label for="psw"><b>Password</b></label> 
            <input type="password" placeholder="Enter Password" name="psw" required> 
            <label for="psw-repeat"><b>Repeat Password</b></label> 
            <input type="password" placeholder="Repeat Password" name="psw-repeat" required> 
            <button type="submit" class="registerbtn">Register</button> 

Please check and revert for further assistance. 

Hareesh B 

Replied On June 25, 2019 06:11 AM UTC

Great Thank you


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon