i have a menu, what i want is that when i click on parent item of menu then only subitem should display,mean i dont want to display subitem on mouseover. what should i do.Is there any property should i set or i have to write code for it .
I am using asp.net2.0 , C#. I am binding menu control with sitemap to display menus and submenues. Which also restrict access and display of menu or submenu based on user's roles. I want to know Is it Possible to show/ Hide submenu based on sql tables with existing sitemap method
Is it OK to use threading.sleep in an intranet web application to display AJAX loading (in production environment)? Off course, the application works fine without it but all works too quick for the end user or even a developer to notice any difference.What is the recommended approach ?
My web application is make time to open First page due to various data control on the page and values are coming to that control from database so i want to show the loading message of gif image during page loading delay. I have written this code in my master page but that image is not showing the application.
My problem is that I have a grid view that show the data from database.In my gridview i add a column name date .like eg You knw that when we send a scrap to anyone then show time how much time to send a scrap.
I have a client request that all times be displayed in Pacific Time Zone, regardless of client settings. I'd like to avoid a scenario where I have to call a function for every time display and instead have a single point where I can make the switch.
I'm thinking a custom culture might do the trick, but I wanted to ask before I set off down a potentially blind alley (or miss something trivially easy).
I have an ASP.NET website that worked fine using and debugging in VS2008. I went through the upgrade process opening the solution in VS2010. I can run the site, but as I make changes in the app_code folder classes, they don't seem to commpile and warn me of compile-time errors. As soon as I get to a point that calls the class, the errors show up. Sounds JIT I guess, but this isn't how it was working in 08. Is there an option that was changed in the upgrade process? This is a large project, I really don't want to break something and not find out until some obscure page is opened.
I have a Panel that is hidden to start with on one of my pages. But once a user posts data to the server, I make the Panel visible to display a success message. I do this by calling Panel1.Visible = true in the function I call for the data submission. I was wondering if there was any way to only display that Panel for a couple seconds by setting a delay or something so it doesnt just stay there until the page is refreshed or they navigate away.The code is below
I made two web user controls that i want to show on web form. On web form there is PlaceHolder. I know how to load control but there is problem when i want to show both of them in same time. It seems that first shows control1 and after that control2 even I have put break between them. Control1 somehow disappears. Here is piece of code:
I've written a 'register' aspx page and it works fine. Except, while testing it, if I start typing a name in the textbox, and a name with the same 1st letter already has been typed in there before, it keeps showing of and I would like it not to. Its like the autocomplet option of a combobox in winforms VB.
to turn of this feature so no one can see what a previous user has typed in the textboxes?
I am working on a website at the moment, I am using .NET 4 and VB. My site is contained within a Master Page and all working OK. I am using an ASP:MENU control which is driven by a web.sitemap file and works a treat. I have had an idea of something I would like to know but I am struggling to get it going correctly (not sure if it is even possible) What I am after doing is having the main categories of my website across the top horizonally (this part is no problem) and the sub menu items going vertically but down the left side of the page such as:
Logo Here Menu Head 1 Menu Head 2 Menu Head 3 Sub Menu Head 1 Sub Menu Head 2 Sub Menu Head 3
Does anyone have any idea if such a thing is possible or not?
We are facing an issue related to positioning of submenu in IE7.The submenu is hiding or else its overlapping Main menu.We have tried with offset values in order to set the positioning of submenu and tried with various combinations also.But its not working.