IE8 ,Google Chrome and Safari browsers not showing Dynamic Child Menu.

This  problem i have  faced  while developing a  page where i had to generate a dynamic  MENU ,comprising  of  data  coming  from  two  different tables that  were accumulated by  establishing  a RELATION  between  them  from  their  datasets. Now ,all it  was displaying was  a WHITE  background  for the Sub-Menus  in IE8 , Google Chrome and  Safari .

          So  , to  overcome  this  issue,  we need  to  add  a  ClientTarget property in  our  pages. But what  exactly  does  ClientTarget  property do ?  and  the  answer is "It Gets or sets a value that allows you to override automatic detection of browser capabilities and to specify how a page is rendered for particular browser clients."

  It  goes  like  this ,

 <% @ Page Language="C#" AutoEventWireup="true"  ClientTarget="uplevel" %>

 

In the Code-Behind Page, write this

Menu1.DynamicMenuStyle.CssClass = "DynamicMenuZIndex";  //  Menu1  is  the  name of  the MENU

 

StyleSheet.css

.DynamicMenuZIndex
{
    z-index: 999;
}

 

 After  adding  this , run  the application  and  see  the result..

Hope this  helps..

Please  do spare  some time  to write some  comment  regarding  this  post.

 

 


Tags: , , , , , ,
Categories: Browser

1551 Comments
Actions: E-mail | Permalink | Comment RSSRSS comment feed

Comments

October 31. 2009 06:32

cash loans

I always wanted to write in my site something like that but I guess you'r faster Smile

cash loans

November 15. 2009 03:16

payday loans

Thank you for your help!

payday loans

January 5. 2010 01:37

WI Payday Loans

Thank you for your help!

WI Payday Loans

Add comment




  Country flag

biuquote
  • Comment
  • Preview
Loading



 


© Copyright 2009. www.onlineasp.net All Rights Reserved.