Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ public ActionResult GetImage(FileManagerDirectoryContent args)
}
public ActionResult Index()
{
List<TabTabItem> orientationItems = new List<TabTabItem>
List<TabItem> orientationItems = new List<TabItem>
{
new TabTabItem { Header = new TabHeader { Text = "Overview" }, Content = "#overview" },
new TabTabItem { Header = new TabHeader { Text = "Filemanager" }, Content = "#filemanager" }
new TabItem { Header = new TabHeader { Text = "Overview" }, Content = "#overview" },
new TabItem { Header = new TabHeader { Text = "Filemanager" }, Content = "#filemanager" }
};
ViewBag.orientationItems = orientationItems;
return View();
Expand Down
6 changes: 3 additions & 3 deletions ej2-asp-core-mvc/code-snippet/file-manager/file-tab/razor
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@
</div>
</div>
@(Html.EJS().Tab("orientationTab")
.Items(new List<TabTabItem> {
new TabTabItem { Header = ViewBag.headerText1, Content = "#overview" },
new TabTabItem { Header = ViewBag.headerText2, Content = "#filemanager" },
.Items(new List<TabItem> {
new TabItem { Header = ViewBag.headerText1, Content = "#overview" },
new TabItem { Header = ViewBag.headerText2, Content = "#filemanager" },
}).Height("320").ShowCloseButton(true).Selected("onSelect").Render()
)
</div>
Expand Down
8 changes: 4 additions & 4 deletions ej2-asp-core-mvc/code-snippet/tab/animation/razor
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
</div>
</div>
<br />
@Html.EJS().Tab("ej2Tab").Items(new List<TabTabItem> {
new TabTabItem { Header = ViewBag.headerText0, Content = "Twitter is an online social networking service that enables users to send and read short 140-character messages called tweets. Registered users can read and post tweets, but those who are unregistered can only read them. Users access Twitter through the website interface, SMS or mobile device app Twitter Inc. is based in San Francisco and has more than 25 offices around the world. Twitter was created in March 2006 by Jack Dorsey, Evan Williams, Biz Stone, and Noah Glass and launched in July 2006. The service rapidly gained worldwide popularity, with more than 100 million users posting 340 million tweets a day in 2012.The service also handled 1.6 billion search queries per day." },
new TabTabItem { Header = ViewBag.headerText1, Content = "Facebook is an online social networking service headquartered in Menlo Park, California. Its website was launched on February 4, 2004, by Mark Zuckerberg with his Harvard College roommates and fellow students Eduardo Saverin, Andrew McCollum, Dustin Moskovitz and Chris Hughes.The founders had initially limited the website's membership to Harvard students, but later expanded it to colleges in the Boston area, the Ivy League, and Stanford University. It gradually added support for students at various other universities and later to high-school students." },
new TabTabItem { Header = ViewBag.headerText2, Content = "WhatsApp Messenger is a proprietary cross-platform instant messaging client for smartphones that operates under a subscription business model. It uses the Internet to send text messages, images, video, user location and audio media messages to other users using standard cellular mobile numbers. As of February 2016, WhatsApp had a user base of up to one billion,[10] making it the most globally popular messaging application. WhatsApp Inc., based in Mountain View, California, was acquired by Facebook Inc. on February 19, 2014, for approximately US$19.3 billion." }
@Html.EJS().Tab("ej2Tab").Items(new List<TabItem> {
new TabItem { Header = ViewBag.headerText0, Content = "Twitter is an online social networking service that enables users to send and read short 140-character messages called tweets. Registered users can read and post tweets, but those who are unregistered can only read them. Users access Twitter through the website interface, SMS or mobile device app Twitter Inc. is based in San Francisco and has more than 25 offices around the world. Twitter was created in March 2006 by Jack Dorsey, Evan Williams, Biz Stone, and Noah Glass and launched in July 2006. The service rapidly gained worldwide popularity, with more than 100 million users posting 340 million tweets a day in 2012.The service also handled 1.6 billion search queries per day." },
new TabItem { Header = ViewBag.headerText1, Content = "Facebook is an online social networking service headquartered in Menlo Park, California. Its website was launched on February 4, 2004, by Mark Zuckerberg with his Harvard College roommates and fellow students Eduardo Saverin, Andrew McCollum, Dustin Moskovitz and Chris Hughes.The founders had initially limited the website's membership to Harvard students, but later expanded it to colleges in the Boston area, the Ivy League, and Stanford University. It gradually added support for students at various other universities and later to high-school students." },
new TabItem { Header = ViewBag.headerText2, Content = "WhatsApp Messenger is a proprietary cross-platform instant messaging client for smartphones that operates under a subscription business model. It uses the Internet to send text messages, images, video, user location and audio media messages to other users using standard cellular mobile numbers. As of February 2016, WhatsApp had a user base of up to one billion,[10] making it the most globally popular messaging application. WhatsApp Inc., based in Mountain View, California, was acquired by Facebook Inc. on February 19, 2014, for approximately US$19.3 billion." }
}).Render()

<script type="text/javascript">
Expand Down
8 changes: 4 additions & 4 deletions ej2-asp-core-mvc/code-snippet/tab/collapsible/razor
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@
</span>

@(Html.EJS().Tab("ej2Tab")
.Items(new List<TabTabItem> {
new TabTabItem { Header = ViewBag.headerTextOne, Content = @content0 },
new TabTabItem { Header = ViewBag.headerTextTwo, Content = @content1 },
new TabTabItem { Header = ViewBag.headerTextThree, Content = @content2 }
.Items(new List<TabItem> {
new TabItem { Header = ViewBag.headerTextOne, Content = @content0 },
new TabItem { Header = ViewBag.headerTextTwo, Content = @content1 },
new TabItem { Header = ViewBag.headerTextThree, Content = @content2 }
})
.CssClass("e-background")
.Created("tabCreated")
Expand Down
8 changes: 4 additions & 4 deletions ej2-asp-core-mvc/code-snippet/tab/customize/razor
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@using Syncfusion.EJ2.Navigations;

@(Html.EJS().Tab("ej2Tab")
.Items(new List<TabTabItem> {
new TabTabItem { Header = ViewBag.headerTextOne, Content = "Andrew received his BTS commercial in 1974 and a Ph.D. in international marketing from the University of Dallas in 1981.He is fluent in French and Italian and reads German.He joined the company as a sales representative, was promoted to sales manager in January 1992 and to vice president of sales in March 1993.Andrew is a member of the Sales Management Roundtable, the Seattle Chamber of Commerce, and the Pacific Rim Importers Association." },
new TabTabItem { Header = ViewBag.headerTextTwo, Content = "Margaret holds a BA in English literature from Concordia College (1958) and an MA from the American Institute of Culinary Arts (1966).She was assigned to the London office temporarily from July through November 1992." },
new TabTabItem { Header = ViewBag.headerTextThree, Content = "Janet has a BS degree in chemistry from Boston College (1984).She has also completed a certificate program in food retailing management.Janet was hired as a sales associate in 1991 and promoted to sales representative in February 1992." },
.Items(new List<TabItem> {
new TabItem { Header = ViewBag.headerTextOne, Content = "Andrew received his BTS commercial in 1974 and a Ph.D. in international marketing from the University of Dallas in 1981.He is fluent in French and Italian and reads German.He joined the company as a sales representative, was promoted to sales manager in January 1992 and to vice president of sales in March 1993.Andrew is a member of the Sales Management Roundtable, the Seattle Chamber of Commerce, and the Pacific Rim Importers Association." },
new TabItem { Header = ViewBag.headerTextTwo, Content = "Margaret holds a BA in English literature from Concordia College (1958) and an MA from the American Institute of Culinary Arts (1966).She was assigned to the London office temporarily from July through November 1992." },
new TabItem { Header = ViewBag.headerTextThree, Content = "Janet has a BS degree in chemistry from Boston College (1984).She has also completed a certificate program in food retailing management.Janet was hired as a sales associate in 1991 and promoted to sales representative in February 1992." },
})
.HeightAdjustMode(HeightStyles.Auto)
.OverflowMode(OverflowMode.Popup)
Expand Down
10 changes: 5 additions & 5 deletions ej2-asp-core-mvc/code-snippet/tab/drag-and-drop/default/razor
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

<div id='container'>
@(Html.EJS().Tab("draggableTab")
.Items(new List<TabTabItem> {
new TabTabItem { Header = ViewBag.headerTextOne, Content = @contentOne },
new TabTabItem { Header = ViewBag.headerTextTwo, Content = @contentTwo },
new TabTabItem { Header = ViewBag.headerTextThree, Content = @contentThree },
new TabTabItem { Header = ViewBag.headerTextFour, Content = @contentFour }
.Items(new List<TabItem> {
new TabItem { Header = ViewBag.headerTextOne, Content = @contentOne },
new TabItem { Header = ViewBag.headerTextTwo, Content = @contentTwo },
new TabItem { Header = ViewBag.headerTextThree, Content = @contentThree },
new TabItem { Header = ViewBag.headerTextFour, Content = @contentFour }
})
.HeightAdjustMode(HeightStyles.Auto)
.DragArea("#container")
Expand Down
20 changes: 10 additions & 10 deletions ej2-asp-core-mvc/code-snippet/tab/drag-and-drop/tab-to-tab/razor
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@

<div id='container'>
@(Html.EJS().Tab("firstTab")
.Items(new List<TabTabItem> {
new TabTabItem { Header = ViewBag.headerTextOne, Content = @contentOne },
new TabTabItem { Header = ViewBag.headerTextTwo, Content = @contentTwo },
new TabTabItem { Header = ViewBag.headerTextThree, Content = @contentThree },
new TabTabItem { Header = ViewBag.headerTextFour, Content = @contentFour }
.Items(new List<TabItem> {
new TabItem { Header = ViewBag.headerTextOne, Content = @contentOne },
new TabItem { Header = ViewBag.headerTextTwo, Content = @contentTwo },
new TabItem { Header = ViewBag.headerTextThree, Content = @contentThree },
new TabItem { Header = ViewBag.headerTextFour, Content = @contentFour }
})
.HeightAdjustMode(HeightStyles.Auto)
.DragArea("#container")
Expand All @@ -34,11 +34,11 @@
.Render()
)
@(Html.EJS().Tab("secondTab")
.Items(new List<TabTabItem> {
new TabTabItem { Header = ViewBag.headerTextFive, Content = @contentFive },
new TabTabItem { Header = ViewBag.headerTextSix, Content = @contentSix },
new TabTabItem { Header = ViewBag.headerTextSeven, Content = @contentSeven },
new TabTabItem { Header = ViewBag.headerTextEight, Content = @contentEight }
.Items(new List<TabItem> {
new TabItem { Header = ViewBag.headerTextFive, Content = @contentFive },
new TabItem { Header = ViewBag.headerTextSix, Content = @contentSix },
new TabItem { Header = ViewBag.headerTextSeven, Content = @contentSeven },
new TabItem { Header = ViewBag.headerTextEight, Content = @contentEight }
})
.HeightAdjustMode(HeightStyles.Auto)
.DragArea("#container")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

<div id='container'>
@(Html.EJS().Tab("draggableTab")
.Items(new List<TabTabItem> {
new TabTabItem { Header = ViewBag.headerTextOne, Content = @contentOne },
new TabTabItem { Header = ViewBag.headerTextTwo, Content = @contentTwo },
new TabTabItem { Header = ViewBag.headerTextThree, Content = @contentThree },
new TabTabItem { Header = ViewBag.headerTextFour, Content = @contentFour }
.Items(new List<TabItem> {
new TabItem { Header = ViewBag.headerTextOne, Content = @contentOne },
new TabItem { Header = ViewBag.headerTextTwo, Content = @contentTwo },
new TabItem { Header = ViewBag.headerTextThree, Content = @contentThree },
new TabItem { Header = ViewBag.headerTextFour, Content = @contentFour }
})
.HeightAdjustMode(HeightStyles.Auto)
.DragArea("#container")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@

<div id='container'>
@(Html.EJS().Tab("draggableTab")
.Items(new List<TabTabItem> {
new TabTabItem { Header = ViewBag.headerTextOne, Content = @contentOne },
new TabTabItem { Header = ViewBag.headerTextTwo, Content = @contentTwo },
new TabTabItem { Header = ViewBag.headerTextThree, Content = @contentThree },
new TabTabItem { Header = ViewBag.headerTextFour, Content = @contentFour }
.Items(new List<TabItem> {
new TabItem { Header = ViewBag.headerTextOne, Content = @contentOne },
new TabItem { Header = ViewBag.headerTextTwo, Content = @contentTwo },
new TabItem { Header = ViewBag.headerTextThree, Content = @contentThree },
new TabItem { Header = ViewBag.headerTextFour, Content = @contentFour }
})
.HeightAdjustMode(HeightStyles.Auto)
.DragArea("#container")
Expand Down
6 changes: 3 additions & 3 deletions ej2-asp-core-mvc/code-snippet/tab/dynamic/razor
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
</div>
</div>
@(Html.EJS().Tab("ej2Tab")
.Items(new List<TabTabItem> {
new TabTabItem { Header = ViewBag.headerTextOne, Content = "#tab1_content" },
new TabTabItem { Header = ViewBag.headerTextTwo, Content = "#form-container" }
.Items(new List<TabItem> {
new TabItem { Header = ViewBag.headerTextOne, Content = "#tab1_content" },
new TabItem { Header = ViewBag.headerTextTwo, Content = "#form-container" }
})
.Created("tabCreated")
.Selected("tabSelected")
Expand Down
8 changes: 4 additions & 4 deletions ej2-asp-core-mvc/code-snippet/tab/gettingstarted/started
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@

<div class="col-lg-12 control-section">
<div class="e-sample-resize-container">
@Html.EJS().Tab("ej2Tab").Items(new List<TabTabItem> {
new TabTabItem { Header = ViewBag.headerText0, Content = "Twitter is an online social networking service that enables users to send and read short 140-character messages called tweets. Registered users can read and post tweets, but those who are unregistered can only read them. Users access Twitter through the website interface, SMS or mobile device app Twitter Inc. is based in San Francisco and has more than 25 offices around the world. Twitter was created in March 2006 by Jack Dorsey, Evan Williams, Biz Stone, and Noah Glass and launched in July 2006. The service rapidly gained worldwide popularity, with more than 100 million users posting 340 million tweets a day in 2012.The service also handled 1.6 billion search queries per day." },
new TabTabItem { Header = ViewBag.headerText1, Content = "Facebook is an online social networking service headquartered in Menlo Park, California. Its website was launched on February 4, 2004, by Mark Zuckerberg with his Harvard College roommates and fellow students Eduardo Saverin, Andrew McCollum, Dustin Moskovitz and Chris Hughes.The founders had initially limited the website's membership to Harvard students, but later expanded it to colleges in the Boston area, the Ivy League, and Stanford University. It gradually added support for students at various other universities and later to high-school students." },
new TabTabItem { Header = ViewBag.headerText2, Content = "WhatsApp Messenger is a proprietary cross-platform instant messaging client for smartphones that operates under a subscription business model. It uses the Internet to send text messages, images, video, user location and audio media messages to other users using standard cellular mobile numbers. As of February 2016, WhatsApp had a user base of up to one billion,[10] making it the most globally popular messaging application. WhatsApp Inc., based in Mountain View, California, was acquired by Facebook Inc. on February 19, 2014, for approximately US$19.3 billion." }
@Html.EJS().Tab("ej2Tab").Items(new List<TabItem> {
new TabItem { Header = ViewBag.headerText0, Content = "Twitter is an online social networking service that enables users to send and read short 140-character messages called tweets. Registered users can read and post tweets, but those who are unregistered can only read them. Users access Twitter through the website interface, SMS or mobile device app Twitter Inc. is based in San Francisco and has more than 25 offices around the world. Twitter was created in March 2006 by Jack Dorsey, Evan Williams, Biz Stone, and Noah Glass and launched in July 2006. The service rapidly gained worldwide popularity, with more than 100 million users posting 340 million tweets a day in 2012.The service also handled 1.6 billion search queries per day." },
new TabItem { Header = ViewBag.headerText1, Content = "Facebook is an online social networking service headquartered in Menlo Park, California. Its website was launched on February 4, 2004, by Mark Zuckerberg with his Harvard College roommates and fellow students Eduardo Saverin, Andrew McCollum, Dustin Moskovitz and Chris Hughes.The founders had initially limited the website's membership to Harvard students, but later expanded it to colleges in the Boston area, the Ivy League, and Stanford University. It gradually added support for students at various other universities and later to high-school students." },
new TabItem { Header = ViewBag.headerText2, Content = "WhatsApp Messenger is a proprietary cross-platform instant messaging client for smartphones that operates under a subscription business model. It uses the Internet to send text messages, images, video, user location and audio media messages to other users using standard cellular mobile numbers. As of February 2016, WhatsApp had a user base of up to one billion,[10] making it the most globally popular messaging application. WhatsApp Inc., based in Mountain View, California, was acquired by Facebook Inc. on February 19, 2014, for approximately US$19.3 billion." }
}).HeightAdjustMode(HeightStyles.Auto).OverflowMode(OverflowMode.Popup).Render()
</div>
</div>
Expand Down
Loading