Click here to Skip to main content
15,886,724 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,
We recently upgraded our application from .net 2.0 to 4.5. As a result of which we had to use IE11. The problem I am facing is that certain buttons and an address which is in the Master Page in the application do not show up on the page. It gets displayed on if I turn on Compatibility View which is not recommended. It uses a Css Class bluebutton which is being used by other buttons too and they are getting displayed on the page.
Below is the css class,

CSS
input.bluebutton
{
   font-size:.875em;
   font-family:Arial;
   color:white;
   width:auto;
   height:22px;
   background: #606060 url(../../images/BlankBlueButton61x22RepeatX.gif) 0px 0px repeat-x scroll;
   border:1px none solid;
   border-collapse: collapse;
   padding: 0px 0.5em 0px 0.5em;
}



Below is the HTML tag of one of the pages,
VB
<asp:Button ID="ButtonSearch" runat="server" CssClass="bluebutton" CausesValidation="false"
                               meta:resourcekey="ButtonSearch" OnClick="ButtonSearchClick" />


Please let me know how do i go about this and get it working?
Thanks in advance! :)
Posted
Comments
Richard Deeming 29-Sep-15 11:32am    
Use the F12 developer tools in IE11 to inspect the space where the button should be. Is it included in the generated markup? Has it generated the markup you were expecting? Are there any other CSS rules applied to it?
Karan Chhabria 29-Sep-15 11:41am    
Nope. No other CSS and also it aint there in the generated markup. But after switching on Compatibility View its there. Any idea what can i do for the buttons to display? I tried the meta tag in the config but that did not work either.
Richard Deeming 30-Sep-15 8:11am    
Strange. Does it work if you remove the meta:resourcekey attribute and just set the text to a static value?
Karan Chhabria 1-Oct-15 2:30am    
That did not make a difference either.
Karan Chhabria 3-Oct-15 14:58pm    
I found something strage here. While viewing the source code withought compatibility mode the last line of code is,
<input type="submit" name="ctl00$ContentPlaceHolder1$ButtonSearch" value="Search" id="ContentPlaceHolder1_ButtonSearch" class="bl
(there is nothing after the 'bl')
But on viewing the source code with compatibility mode on the entire code shows up.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900