Introduction: In this article you’ll see how to Create dynamic Mega Menu in asp.net .Having a menu and sub menus with links is very normal in a Web application. Typically, we create static menu and menu items. But sometimes we need dynamic mega menu when we do not know what the menu names and links will be called. Mega menus are a growing trend in web design . For sites that involve a lot of pages and/or products, a mega menu may be able to improve navigation and usability. Dynamic Mega Menu with ASP.NET, C#, jQuery and SQL Server solution that I would like to share with others puzzled with the same as was one of my website development i was having a tough time creating a Mega menu from database. Step1 Database: I have 4 table category,subcategory subcategory2 and Brand GO /****** Object: Table [dbo].[tbl_Category] Script Date: 07/30/2015 08:03:43 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON ...
In This tutorial will show you how keep open Bootstrap Modal Popup when Postback in asp.net I have added one button inside bootstrap model. in some requirement we need to save data and get some output on popup after button click in model popup . source code- <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1" runat="server"> </asp:ScriptManager> <div class="container"> <div class="row"> <h1> Hello, world! Hello, world!</h1> <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> <!-- Include all compiled plugins (below), or include individual files as needed --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min....
This tutorial will demonstrate how to create a simple system to count hits on pages using a database with ASP.NET 4.0 and C#. STEPS : Just follow the steps and get result easily. STEP-1 : CREATE NEW PROJECT Go to File > New > Project > Select asp.net web Form Application> Entry Application Name > Click OK. STEP-2: ADD A DATABASE. Go to Solution Explorer > Right Click on App_Data folder > Add >New Item> Select SQL Server Database Under Data > Enter Database name > Add. GO /****** Object: Table [dbo].[tbl_Hits] Script Date: 06/03/2014 16:04:51 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO CREATE TABLE [dbo].[tbl_Hits]( [Hit_Id] [int] NULL, [Hit_Name] [nvarchar](50) NULL, [Hits] [nvarchar](50) NULL ) ON [PRIMARY] GO STEP-4:ADDING THE COONCETING STRING <connectionStrings> <add name="ErpConnection" connectionString="Data Source=MANVENDRA;Initial C...
Comments
Post a Comment