I have an dropdown control.I have an two issue in dropdown list.Please look into this link and advise how to resolve this issue
<SfDropDownList TItem="GameFields" TValue="string" PopupHeight="230px" FloatLabelType="FloatLabelType.Always" Placeholder="Select a game" DataSource="@Games">
<DropDownListEvents TItem="GameFields" TValue="string" ></DropDownListEvents>
<DropDownListFieldSettings Text="Text" Value="ID"></DropDownListFieldSettings>
</SfDropDownList> |
<SfDropDownList TItem="GameFields" TValue="string" PopupHeight="230px" FloatLabelType="FloatLabelType.Auto" Placeholder="Select a game" DataSource="@Games">
<DropDownListEvents TItem="GameFields" TValue="string" ></DropDownListEvents>
<DropDownListFieldSettings Text="Text" Value="ID"></DropDownListFieldSettings>
</SfDropDownList> |
Thanks for quick support..
I am using material theme,so the texbox and combobx height is some what increase ,when I use place holder
Can you please mention the css class to reduce the height of control and sharp..
please help and see my comments in below link and see my sample code
video:-
https://www.screencast.com/t/NamxAbTco2H
source code :-
@inherits SampleStyleEditBase
<SfCard>
<table class="table">
<tr>
<th>
<div class="row">
@*<div class="PageHeader">*@
<CardHeader>
<h3 id="UCardHeader">Sample Master1232</h3>
<div class="col 10 m10 l10 float-right">
<SfButton CssClass="btnFont mr-1" @onclick="OnBackClicked">Back</SfButton>
<SfButton CssClass="btnFont mr-1">Save</SfButton>
</div>
</CardHeader>
@*</div>*@
</div>
</th>
</tr>
</table>
<CardContent>
<table class="table">
<tr>
<th>
<div class="e-avatar e-avatar-xlarge image" style="height: 4.6cm;width: 100%;">
@*<img src="images/shoe1.jpg" alt="Image" />*@
</div>
</th>
<th style="width: 88%;">
<EditForm Model="@sampleStyleSetup">
<div class="row">
<div class="col s12 m6 l4">
<SfComboBox TValue="string" TItem="ReferenceDetailsSetup" Placeholder="Product" FloatLabelType="FloatLabelType.Auto"></SfComboBox>
</div>
<div class="col s12 m6 l4">
<SfComboBox TValue="string" TItem="ReferenceDetailsSetup" Placeholder="Product" FloatLabelType="FloatLabelType.Auto"></SfComboBox>
</div>
<div class="col s12 m6 l4">
<SfTextBox Placeholder="Sample StyleNo" FloatLabelType="FloatLabelType.Auto"></SfTextBox>
</div>
<div class="col s12 m6 l4">
<SfTextBox Placeholder="Buyer Style Description" FloatLabelType="FloatLabelType.Auto"></SfTextBox>
</div>
<div class="col s12 m6 l4">
<SfComboBox TValue="string" TItem="ReferenceDetailsSetup" Placeholder="Gender" FloatLabelType="FloatLabelType.Auto"></SfComboBox>
</div>
<div class="col s12 m6 l4">
<SfTextBox Placeholder="RefNo" FloatLabelType="FloatLabelType.Auto"></SfTextBox>
</div>
<div class="col s12 m6 l4">
<SfDatePicker TValue="string" Placeholder="SizeClass" FloatLabelType="FloatLabelType.Auto"></SfDatePicker>
</div>
<div class="col s12 m6 l4">
<SfComboBox TValue="string" TItem="ReferenceDetailsSetup" Placeholder="WidthClass" FloatLabelType="FloatLabelType.Auto"></SfComboBox>
</div>
<div class="col s12 m6 l4">
<SfComboBox TValue="string" TItem="ReferenceDetailsSetup" Placeholder="Collection" FloatLabelType="FloatLabelType.Auto"></SfComboBox>
</div>
<div class="col s12 m6 l4">
<SfComboBox TValue="string" TItem="ReferenceDetailsSetup" Placeholder="Construction" FloatLabelType="FloatLabelType.Auto"></SfComboBox>
</div>
<div class="col s12 m6 l4">
<SfComboBox TValue="string" TItem="ReferenceDetailsSetup" Placeholder="Last" FloatLabelType="FloatLabelType.Auto"></SfComboBox>
</div>
<div class="col s12 m6 l4">
<SfTextBox Placeholder="LastNo" FloatLabelType="FloatLabelType.Auto"></SfTextBox>
</div>
</div>
</EditForm>
</th>
</tr>
</table>
@*<SfCard>
<CardContent>
<div style="padding: 10px;">
<SfGrid DataSource="@Orders" AllowPaging="true">
<GridPageSettings PageSize="5"></GridPageSettings>
</SfGrid>
</div>
</CardContent>
</SfCard>
<br />
<br />
<div class="row" style="padding-left:250px; padding-right:250px">
<div class="col-md-2">
<SfButton>Size Breakup</SfButton>
</div>
<div class="col-md-2">
<SfButton>Bill of Material</SfButton>
</div>
<div class="col-md-2">
<SfButton>Process Spec</SfButton>
</div>
<div class="col-md-2">
<SfButton>Comments</SfButton>
</div>
<div class="col-md-2">
<SfButton>Attatchment</SfButton>
</div>
<div class="col-md-2">
<SfButton>Communication</SfButton>
</div>
</div>*@
</CardContent>
</SfCard>
@*<SyncSideBar Dock="72px" />*@
<SfTextBox Placeholder="input" CssClass="e-small" FloatLabelType="@FloatLabelType.Auto"></SfTextBox> |
<style>
/* Adjust height of the textbox */
.e-input-group input.e-input,
.e-float-input.e-input-group input,
.e-input-group.e-control-wrapper input.e-input,
.e-float-input.e-input-group.e-control-wrapper input,
.e-float-input input,
.e-float-input.e-control-wrapper input {
min-height: 18px;
}
/* Modify font size */
.e-float-input,
.e-float-input.e-control-wrapper {
font-size: 12px;
}
/* Font size for placeholder on top */
.e-float-input input:valid ~ label.e-float-text,
.e-float-input input ~ label.e-label-top.e-float-text,
.e-float-input.e-control-wrapper input:valid ~ label.e-float-text,
.e-float-input.e-control-wrapper input ~ label.e-label-top.e-float-text {
font-size: 12px;
}
/* Font size for placeholder on bottom */
label.e-float-text,
.e-float-input label.e-float-text,
.e-float-input.e-control-wrapper label.e-float-text,
.e-float-input:not(.e-input-focus) input:not(:focus):valid ~ label.e-float-text.e-label-bottom,
.e-float-input.e-control-wrapper:not(.e-input-focus) input:not(:focus):valid ~ label.e-float-text.e-label-bottom {
font-size: 12px;
}
</style>
|
Thanks for reply
And we are happy for fast support
For Image alignment, I have taken example from below link.Pleaae modify and its my urgent requirement
https://www.syncfusion.com/forums/167035/help-for-design-in-synfusion-control
For Type2 css:-
it's now working for dropdown and its working for textbox and date control
Is it possible to get answer today ??
Hi Ahmed,
Thanks for your patience.
We have modified your sample as per your requirement. In that we have removed ‘table’ attribute and handled it using ‘div’ .Please refer the following sample link for your reference .Now the image get aligned to top of the row while minimizing the screen.
SnapShot:
Sample Link : https://www.syncfusion.com/downloads/support/forum/167616/ze/BlazorAppLayout-1818541098
Also we
have validated your another query ,
Query :
For Type2 css:- it's now
working for dropdown and its working for textbox and date control
Unfortunately we couldn’t reproduce the issue at our end. Kindly refer the below sample for your reference.
Sample
Link: https://www.syncfusion.com/downloads/support/forum/167616/ze/BlazorApp1-312847
If
still the issue reproduces at your end kindly modify the provided sample as per
your requirement if possible ad get back to us, to validate the issue from our
end.
Kindly revert us if you have any concern in it.
Thanks,
Deepak R.
thanks exact requirement.......
I have 95% problem solved
but only facing some small issue,please check below screencast and advise how to do this
<table class="table">
<tr>
<th>
<div class="row">
<div class="col-xs-8 col-sm-8 col-lg-8 col-md-8 justify-content-start">
<h3>Sample Request Form</h3>
</div>
<div class="col-xs-1 col-sm-1 col-lg-1 col-md-1 bt" style="float:right;padding-right:90px;align-items:center;">
<SfButton style="width:100px">Save</SfButton>
</div>
<div class="col-xs-1 col-sm-1 col-lg-1 col-md-1 bt" style="float:right;padding-right:90px;align-items:center;">
<SfButton style="width:100px">Back</SfButton>
</div>
<div class="col-xs-1 col-sm-1 col-lg-1 col-md-1 bt" style="float:right;padding-right:90px;align-items:center;">
<SfButton style="width:100px">S R F </SfButton>
</div>
</div>
</th>
</tr>
</table> |
sorry again,
Please check my updated source code with complete project and advise how to do this..
https://www.screencast.com/t/nwOwjsPTlf
Please help
Thanks for info..
Is it possible tomorrow ‽?
Please give high priority to close this thread..
Sorry for confusion...
Tha last attached source code is final one which we need .
I have attached my problematic components with sidebar and tab concepts.
I would like to make responsive for all control when browser is resized including Image which should come on center .
Hope it's clear.
Please help..
Is it possible to get answer today...
please help....
<table class="table">
<tr>
<th>
<div class="row">
<div class="col-xs-6 col-sm-6 col-lg-6 col-md-6 justify-content-start">
<h3>Sample Request Form</h3>
</div>
<div class="col-xs-2 col-sm-2 col-lg-2 col-md-2 bt" style="">
<SfButton style="width:100px">Save</SfButton>
</div>
<div class="col-xs-2 col-sm-2 col-lg-2 col-md-2 bt" >
<SfButton style="width:100px">Back</SfButton>
</div>
<div class="col-xs-2 col-sm-2 col-lg-2 col-md-2 bt" >
<SfButton style="width:100px">S R F </SfButton>
</div>
</div>
</th>
</tr>
</table> |
@@media screen and (max-width: 600px) {
.img{
margin-right: 150px;
}
th .bt {
padding-right: 1200px;
padding-bottom: 10px;
padding-left: 100px;
}
} |
|
still facing same issue.
please check below link for clear picture
https://www.screencast.com/t/wdHKtG1S0C
and also there should not be any much space in three button (head card side)
Sorry please ignore this thread
I have solved this problem.
Can you help for below thread.this is on my priority task
https://www.syncfusion.com/forums/164226/how-to-switch-themes