i m want to bind asp.net menu control from database and some of static value both, i know how to bind menu from DB and also know how to static bind the data in Menu, but i want two add two static record in menu control and after that i want to bind data from DB in menu control, and than again three static record bind in menu..... i think a lot about this and finally i thought to add my static data in dataset at particular positons, but problem is that i dont know how to bind static data in dataset at particular 1st 2nd and 4th,5th,6th pos.
How to call different images in <asp: Image> tag for every row of gridview.I used below code as per my requirement (HTML code):
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Caption="Customer List" EmptyDataText="You have deleted all records in customer list"> <RowStyle Height="40px" /> <Columns> <asp:TemplateField> <ItemTemplate>
Only difficulty im facing is how to bind different images in "ImageUrl" for every row of Gridview.Note: Images are not saved in DB.
Builder ( Main UL , without href ) Create Builder ( Navigates to CrtBuilder.aspx) Remove Builder ( Navigates to RmvBuilder.aspx) Supplier (Main UL) Create Supplier ( Navigates to CrtSupplier.aspx ) Remove Supplier Navigates to RmvSupplier.aspx
Now if a user clicks on CreateBuilder Menu then the user must see the site map in my breadcrumb like this :
Home > Builder > Create Builder
same way for supplier :
Home > Supplier > Create Supplier
remember ( on clicking Home the page must navigates to abc.aspx)
For the ASP.NET Menu Server Control whose RenderMode is set to "List", there is an "Orientation" property which decides whether the menu would render as a horizontal or a vertical menu. I have compared the two HTML source code and was unable to find out which part of the HTML/CSS code set the orientation of the menu(unordered list).
i am using ajaxtoolkit:combobox and i tried to bind data to this control in code behind file.but it is taking 3 to 4 mints to bind data and display the page. I am providing my aspx code and code behind code here
Code behind code: [Code]....
GetPrograms() method will return almost 6000 records. to load the control it is taking almost 4 minuts..
We have to develop an application which has a Vertical left pane menu control which displays all the web pages (A,B,C say). Now if user is in page A and filled some data and clicks on menu control to go to page B, all the data in page A needs to be saved. Also if all the required field in page A are not filled and user navigated to page B, there will be one ! sign after the menu so that user can understand that there some some more fields need to be filled up.
We are planning to place the menu control in the Mater page. Please give me some direction to do this. My question is:
1. If user change menu (In Master Page), how should we save data?
2. How should we display the ! in the menu control?