Hi,
Im trying to implement a tab menu just like the one in stackoverflow. I created html list and style them to look like tab menus using CSS. I put the html list on the master page. Now the problem is that How do you change the color of the list once it's clicked by the user? For example, If you click the stackoverflow "Users" tab menu...
I have this in my CSS:
.MainMenu
{
position: absolute;
top:105px;
left:15px;
background-color: #67E300;
color:White;
border-style:double;
border-color:White;
list-style-type:none;
}
And this inside of the MasterPage:
<div class="MainMenu">
<uc2:MainMenu ID="MainMenu1" runat="server" />
...
Hi
Can anyone tell me why a masterpage applied to a MOSS publishing site does not get applied to any non publishing pages within the same site - very strange behaviour?
...
Is there away to set a background image on a webpage when the webpage is based on a masterpage. Notice its not the background of the masterpage i want to change, but the background of the page which use the masterpage.
...
I'm trying use jQueryUI tabs in a content control. The code below works on a page that doesn't use a MasterPage. When I use it in a content control there is a large gray space between the tabs and the content in them. How do I get rid of this?
I'm using jquery calendars and accordions with no problems in the content pages.
There is...
I would like to create in my master page a control that depending on the rendered viewpage will change a css file
I was thinking to make a specific controller "CssController" and call this CssController from the src attribute of the css link. This controller will be in charge of choosing the right css and sending it back with text/css h...
Trying to set the value of a literal user control on my child master page via the code behind of the same master page.
Here is example of the code I am using:
Global.master
<form id="form1" runat="server">
<div>
<asp:ContentPlaceHolder id="GlobalContentPlaceHolderBody" runat="server">
</asp:ContentPlaceHolder>
</div>
</form>
...
All of the web forms / pages that my project extend on a derived class for the default page class.
I.e. instead of
public partial class myfirstpage:System.web.ui.page
{}
i have public partial class myfirstpage:myderivedclass
{}
However in the codebehind of the masterpage, if i do 'this.page' it assumes im still using system.web.u...
HI
I am going to create a website, So I need to have a master page for all my own pages.
But its difficult to design it from scratch, Is there any template I use and just changing
for example the colors, font sizes, ...?
...
It seems like I can't set the id or name of the form in my masterpage. [it's always "aspnetForm"]
Is there a way to override the uniqueID property of form?
I tried to create a class and inherit from htmlform, but then i can't register it on my mastrepage, [unknown server tag ... ]
im registering it like this
<%@ Register TagPrefix="...
I am trying to use the ProfilePropertyLoader to display a welcome message in this format:
<SPSWC:ProfilePropertyLoader runat="server"/>
Welcome,
<SPSWC:ProfilePropertyValue PropertyName="FirstName" ApplyFormatting="false" runat="server"/>
<SPSWC:ProfilePropertyValue PropertyName="LastName" ApplyFormatting="false" runat="server"/>!
wh...
Hi,
I've got a master page setup with a contentplaceholder control inside the title tag as so:
<head id="head1" runat="server">
<style type="text/css">
body { font-family: Tahoma; font-size: 9pt; }
</style>
<title><asp:contentplaceholder id="title" runat="server" /></title>
</head>
That contentplaceholder is implemented inside ...
Ok So i have written methods to override the LoadPageStateFromPersistenceMedium and SavePageStateToPersistenceMedium methods. now the problem is that i am using a masterpage, so how do i maintain using my masterpage and still inherit from System.Web.UI.Page?
Please bear in mind that the .vb Code behind the masterpage already inherits Sy...
I'm trying to decide the best way to provide templates for a bunch of not very technical web editors. Their tool will be Expression Web 3 (finally migrating away from Frontpage). They maintain two websites sites that have around 9,000 pages each. (fun, eh?)
My big hesitation about dynamic web templates is how pages get updated. If I...
Does anybody have advice on moving a master page from one solution / application to another?
I have copied a master page from an existing solution to a new one.
The original solution builds and runs fine.
In the new solution the page causes build errors
These are primarily 'variable' not declared.
I have commented out all of the ser...
Calling a function from the MasterPage in a Page is quite straigt forward but how do I call it for a UserControl:
Adding <%@ MasterType VirtualPath="~/MasterPage.master" %>, doesn't work on UserControls.
So this.Page.Master.MyFunction() fails :(
...
So I have a user control in my master page. When it's viewed in IE7 (or IE8 Compatibility mode), it renders behind the page content from the ContentPlaceHolders. I've tried manually setting the z-index of every element in sight, and none of it will put the control in front. Has anyone else encountered this? It works in Chrome, Firefo...
What is the base class of master page & User Control in asp.net c#?
...
Hi all,
I have a usercontrol used in a masterpage.
I have added a page with the masterpage.
Now I need to call a method of the user control from the page.
How to do this? Please help.
...
I never saw that problem and I have no idea what is causing it.
I got something like this code in my masterpage
<div class="myClass1">
<a href="~/#link" runat="server" title=" <%$ Resources: myRess1 %>">
<asp:Literal runat="server" Text="<%$ Resources: myRess1 %>" /><br />
<img class="myClass2" src="/MasterPage/imag...