Why Join
Become a member
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
C# Corner Home
Technologies
Monthly Leaders
ASK A QUESTION
Forumguidelines
Gcobani Mkontwana
1k
1.2k
88k
How to reduce layout in bootstrap?
Nov 11 2020 3:30 AM
Hi Team
I have layout and filemanager, the issue is the size and width as well height of my Filemanager, its not showing other details like folder, they are hidden by sidebar layout. Who can help me? i want other details are hidden be hidden well?
@{
ViewBag.Title =
"File-Upload"
;
}
@{
string
[] files =
new
string
[] {
"Edit"
,
"Open"
,
"|"
,
"Delete"
,
"Download"
,
"Rename"
,
"|"
,
"Details"
};
string
[] folder =
new
string
[] {
"Edit"
,
"Open"
,
"|"
,
"Delete"
,
"Download"
,
"Rename"
,
"|"
,
"Details"
};
string
[] layout =
new
string
[] {
"Edit"
,
"SortBy"
,
"View"
,
"Refresh"
,
"|"
,
"NewFolder"
,
"Upload"
,
"|"
,
"Details"
,
"|"
,
"SelectAll"
};
}
@
using
Syncfusion.EJ2;
<div
class
=
"main-content"
>
<div
class
=
"d-flex align-content-md-end justify-content-end"
>
@Html.EJS().FileManager(
"file"
).AjaxSettings(
new
Syncfusion.EJ2.FileManager.FileManagerAjaxSettings
{
Url =
"/Home/FileOperations"
,
GetImageUrl =
"/Home/GetImage"
,
UploadUrl =
"/Home/Upload"
,
DownloadUrl =
"/Home/Download"
// adding some extra functionality
}).View(Syncfusion.EJ2.FileManager.ViewType.Details).DetailsViewSettings(
new
Syncfusion.EJ2.FileManager.FileManagerDetailsViewSettings
{
Columns =
new
List<Syncfusion.EJ2.FileManager.FileManagerColumn>
{
new
Syncfusion.EJ2.FileManager.FileManagerColumn()
{
Field =
"name"
, HeaderText =
"File Name"
, MinWidth =
"50"
, Width =
"50"
},
new
Syncfusion.EJ2.FileManager.FileManagerColumn()
{
Field =
"frm_created"
, HeaderText =
"Date Created"
, Width =
"50"
},
new
Syncfusion.EJ2.FileManager.FileManagerColumn()
{
Field =
"frm_modified"
, HeaderText =
"Date Modified"
, Width =
"auto"
},
new
Syncfusion.EJ2.FileManager.FileManagerColumn()
{
Field =
"frm_modified_by"
, HeaderText =
"Modified By"
, Width =
"50"
},
new
Syncfusion.EJ2.FileManager.FileManagerColumn()
{
Field =
"size"
, HeaderText =
"Size"
, Width =
"50"
}
}
}).Render()
</div>
</div>
Reply
Answers (
2
)
How to show Countries' flag in Select?
Email invoice functionality and Continue shopping in mvc asp.net 5