My code
<div class="card-header"> <div class="row mt-3"> <form method="post" asp-page-handler="SearchPostDetails"> <div class="col-md-3 mb-3"> <input id="inputTextSearchId" asp-for="FilterViewModel.Description" type="text" class="form-control" placeholder="Enter search text here" /> </div> <div class="col-md-2 mb-3"> <button type="submit" class="btn btn-primary btn-w-xs mb-1">Search</button> </div> </form> <form id="TypeOfPostingForm" method="post" asp-page-handler="TypeOfPosting"> <div class="col-md-3 mb-3"> <ejs-dropdownlist id="drpTypeOfPosting" cssClass="e-custom" dataSource="@Model.WallDropDownsViewModel.PostTypeId.Items" change="onChangeTypeOfPosting" ejs-for="FilterViewModel.PostType" placeholder="Select type of posting" popupHeight="220px" allowFiltering="true"> <e-dropdownlist-fields text="Text" value="Value"></e-dropdownlist-fields> </ejs-dropdownlist> </div> </form> <form id="ShowMyPostForm" method="post" asp-page-handler="ShowMyPost"> <div class="col-md-4 mb-3"> <div class="form-control"> <input id="MyPost" asp-for="FilterViewModel.ShowMyPost" type="checkbox" class="form-check-input ms-2" onchange="onChangeShowMyPost()" /> <label class="form-check-label ms-5">Show my post</label> </div> </div> </form>
</div> </div>
Actual need to