From 0b913fc0df03a9c2f823bb40c84c7cf76e3f165b Mon Sep 17 00:00:00 2001 From: SwathiRavi14 <102658583+SwathiRavi14@users.noreply.github.com> Date: Wed, 11 Sep 2024 18:47:49 +0530 Subject: [PATCH] 909128: Changed the Tabs code snippets --- .../file-tab/HomeController_mvc.cs | 6 ++--- .../code-snippet/file-manager/file-tab/razor | 6 ++--- .../code-snippet/tab/animation/razor | 8 +++--- .../code-snippet/tab/collapsible/razor | 8 +++--- .../code-snippet/tab/customize/razor | 8 +++--- .../tab/drag-and-drop/default/razor | 10 +++---- .../tab/drag-and-drop/tab-to-tab/razor | 20 +++++++------- .../tab/drag-and-drop/tab-to-treeview/razor | 10 +++---- .../tab/drag-and-drop/treeview-to-tab/razor | 10 +++---- .../code-snippet/tab/dynamic/razor | 6 ++--- .../code-snippet/tab/gettingstarted/started | 8 +++--- .../code-snippet/tab/height/razor | 8 +++--- .../code-snippet/tab/items/items.cs | 8 +++--- ej2-asp-core-mvc/code-snippet/tab/items/razor | 2 +- .../code-snippet/tab/items/tagHelper | 8 +++--- .../code-snippet/tab/localization/razor | 8 +++--- .../code-snippet/tab/nested/razor | 8 +++--- .../tab/orientation-tab/orientation.cs | 18 ++++++------- .../code-snippet/tab/persistence/razor | 8 +++--- ej2-asp-core-mvc/code-snippet/tab/popup/razor | 18 ++++++------- .../tab/reorderactivetab/reorderactivetab.cs | 26 +++++++++---------- .../code-snippet/tab/scrollable/razor | 18 ++++++------- .../code-snippet/tab/scrollstep/razor | 18 ++++++------- .../code-snippet/tab/styles/razor | 8 +++--- ej2-asp-core-mvc/code-snippet/tab/swipe/razor | 8 +++--- .../tab/tabselection/tabselection.cs | 18 ++++++------- .../code-snippet/tab/viewbag/viewbag.cs | 8 +++--- .../tab/EJ2_ASP.MVC/getting-started.md | 8 +++--- 28 files changed, 149 insertions(+), 149 deletions(-) diff --git a/ej2-asp-core-mvc/code-snippet/file-manager/file-tab/HomeController_mvc.cs b/ej2-asp-core-mvc/code-snippet/file-manager/file-tab/HomeController_mvc.cs index b5ca7ed6dd..3f5e161f81 100644 --- a/ej2-asp-core-mvc/code-snippet/file-manager/file-tab/HomeController_mvc.cs +++ b/ej2-asp-core-mvc/code-snippet/file-manager/file-tab/HomeController_mvc.cs @@ -92,10 +92,10 @@ public ActionResult GetImage(FileManagerDirectoryContent args) } public ActionResult Index() { - List orientationItems = new List + List orientationItems = new List { - 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(); diff --git a/ej2-asp-core-mvc/code-snippet/file-manager/file-tab/razor b/ej2-asp-core-mvc/code-snippet/file-manager/file-tab/razor index 91eb6ce1a9..43c798273b 100644 --- a/ej2-asp-core-mvc/code-snippet/file-manager/file-tab/razor +++ b/ej2-asp-core-mvc/code-snippet/file-manager/file-tab/razor @@ -23,9 +23,9 @@ @(Html.EJS().Tab("orientationTab") - .Items(new List { - new TabTabItem { Header = ViewBag.headerText1, Content = "#overview" }, - new TabTabItem { Header = ViewBag.headerText2, Content = "#filemanager" }, + .Items(new List { + new TabItem { Header = ViewBag.headerText1, Content = "#overview" }, + new TabItem { Header = ViewBag.headerText2, Content = "#filemanager" }, }).Height("320").ShowCloseButton(true).Selected("onSelect").Render() ) diff --git a/ej2-asp-core-mvc/code-snippet/tab/animation/razor b/ej2-asp-core-mvc/code-snippet/tab/animation/razor index 3434c45c47..b056a50629 100644 --- a/ej2-asp-core-mvc/code-snippet/tab/animation/razor +++ b/ej2-asp-core-mvc/code-snippet/tab/animation/razor @@ -17,10 +17,10 @@
-@Html.EJS().Tab("ej2Tab").Items(new List { - 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 { + 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()