On load event in aspx page

I am using your sample with
<body onload="GetMap();">
    <div id='mapDiv' style="; width:900px; height:600px; "></div>
</body>
within <asp: Content></asp: Content>
and getting error message "Element 'body' cannot be nested within element 'div'."
I am not very knowledgeable regarding JavaScript. The map works but would like to position it say within a table.
with thanks in advance.

The <asp:Content> would be rendered inside of a body tag of a page already. Adding a body tag to the content would create a second body tag and throw this error.
There are a couple of ways to go about this. One method is to add JavaScript for loading the map after the div inside the <asp:Content> tag. You will want to add some logic to make sure the Bing Maps script reference has fully loaded. This might look
something like this:
<asp:Content>
<script type="text/javascript" src="http://ecn.dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=7.0"></script>
<div id='myMap' style=';width:900px;height:600px;'></div>
<script type="text/javascript">
var map = null;
function GetMap()
if(map == null && isLoaded()){
map = new Microsoft.Maps.Map(document.getElementById("myMap"), {
credentials: "YOUR_BING_MAPS_KEY"
}else{
setTimeout('GetMap();', 100);
function isLoaded(){
return typeof(Microsoft) != 'undefined'
&& typeof(Microsoft.Maps) != 'undefined'
&& typeof(Microsoft.Maps.Map) != 'undefined';
GetMap();
</script>
</asp:Content>
You could also inject JavaScript into the page on PageLoad and have it load the map.
http://rbrundritt.wordpress.com

Similar Messages

  • Crash when calling Clipboard.GetContent() in Page Loaded event

    Hello
    I found a crash when using
    Clipboard.GetContent() method ,
    the steps to reproduce this are very simple:
    -create C# Windows store application ,
    -add loaded event for main page
    -call Clipboard.GetContent()  inside it(loaded event handler).
    -run the application as release Ctrl+F5 , the application will crash , note that when you run as debug no problems
    -this problem appears not on GetContent() only , it appears when you use any method of ClipBoard class indside main page loaded event.
    Is this bug? , if yes , what is the workaround for this.

    Hi shaker,
    Firstly, I have to say that, yes, I can reproduce your issue on my side.
    However, as far as I know that the Clipboard operations are used to enable users to cut, copy, and paste data, but why you just call the Clipboard.GetContent() method in the Grid_Loaded event? Could you please show me more information
    about your requirement so that I can better understand your scenario?
    Thanks.
    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Develop and promote your apps in Windows Store
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

  • Having trouble loading ASPX pages from one website, only in firefox, only on one computer.

    I am having an issue where firefox will not load an aspx page, from one computer. It seems to work fine on everything else. I have disabled the virus scanner, firewall and web filter. It works fine on other browsers, on the same computer.
    I've tried clearing the cookies, cache and offline storage. I also uninstalled and reinstalled firefox and tried loading the page in firefox safe mode.
    Any ideas?
    [http://blog.acadianacomputerrepair.info/portals/blog/images/firefoxwontloadaspx/firefoxbrowser.jpg Firefox ScreenShot]

    Do you have that problem when running in the Firefox SafeMode? <br />
    [http://support.mozilla.com/en-US/kb/Safe+Mode] <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    If not, see this: <br />
    [http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes]

  • Page load event

    I'm new to JSF and am looking for something equivalent to the OnPageLoad() event that exists in the ASP.Net world. Basically I want to do some initialization code, maybe prep some variables to be bound to controls, etc.
    Does JSF expose an event that allows me to do this? I've read about an OnPageLoadBegin(FacesContext) event, but I tried putting code in there and placing a breakpoint - but the breakpoint never gets triggered.
    Thanks
    David

    From what I read in those links, there is a serious limitation to JSF in the fact that there is no true "page load" event.
    Consider the following example : We have a "main page" that asks a user to log in with a username and password. But if the user has been to the site before, we will store their login ID in a cookie so that when they come back, the "login" input field will be pre-populated with their info. Pretty basic and standard stuff so here.
    So I want a "page load" event where I can get the request cookie map, do a lookup on our cookie, and Set the value on the input field with the value of the cookie.
    Without a page-load event, I don't see how this is possible.
    Any suggestions/workarounds?
    TIA
    David

  • Page not loading - Events, To-do list, Notes

    Hi,
    I am having this error of not loading events, to-do list or notes pages. It gives me following message.
    "Sorry, we're having some problems bringing you this page. It's our fault not yours, so please try again later."
    I saw similar posts regarding this on this discussions forums. Some suggested solutions were to change browser agent and clear browswer cache.
    I already tried signin into Ovi using different browsers (FF, IE, Opera and Chrome) on different computers. I still get the same error message.
    Also, when I try to sync Notes to my Nokia N82, Phones gives me an error message "System Error". Device firmware is V 30.0.019.
    Anybody else get this error? Any solutions?
    Your help will be really appreciated since I have important information on my notes.
    Thank you.

    Did the problem appear just now or have you had it since beginning?
    Are you using any specific language or charactersin your devices or are they all in english?
    For me the cache clear has always helped but as you mentioned, you have already tried that. so it sounds like there is something wrong with your account? Did you try to contact Nokia?

  • First time Report aspx page load fine close Second time it asking parameter

    Hi
    Please go to
    http://viewer.zoho.com/docs/da5aaag (or)
    http://www.megaupload.com/?d=HQCSMQNA
    it has my Crystal report aspx page and aspx.cs page sourceu2026!
    Note: Save image in the above url and Zoom it see clear code
    My Problem:-
    Its working fine, but have small problem let me know why the problem occur
    When I first load the page it show data fine in crystal report viewer and if I select from dropdwonlist it showing data based on dropdownlist value working fine.. when I close the page and come back agaion it asking paramter why its asking parameter in second time when I come to same page in first time its working fine.. second time it asking parameter.. let me know where im wrongu2026
    Edited by: gopihere on Oct 30, 2010 10:51 AM
    Edited by: gopihere on Oct 30, 2010 1:03 PM

    You are setting the CrystalReportViewer1.ReportSource in multiple sections of code on this page. I'm not quite sure what you are attempting to accomplish here? In my opinion, your ConfigureCrystalReports() should accept a report filename, or something similar. Then use that info to load the report and throw it into Session. Then the last line of ConfigureCrystalReports can set the ReportSource.
    If you can tell us what you are trying to do we might be able to give you some advice. But at this point I'd just say start over on this page.

  • Prompts to open or save aspx page instead of loading page

    On some ASPX pages (Particularly SharePoint) Firefox prompts me to save or open file with Visual Studio.

    Thanks for the reply. I found the answer. The problem was that I was attempting to configure session state in SharePoint according to Microsofts directions. Turns out that the directions given do not work and actually corrupt your SharePoint environment.
    Thanks again for the assist.

  • How to call Web Services (with javascript) in a view load event ?

    Hello to the expert community,
    I'm looking for a piece of javascript code allowing to call Web Services in a view load event ?
    Any ideas will be really appreciated.
    Regards.
    Have a nice week.

    Thank you for your answer, dongmei.
    It seems that the MethodResultTableDataProvider does not return the response of the web service as a value field if the WSDL contains only one result element.
    E.g. from WSDL of the USWeather Web Service which returns theGetWeatherReportResult string:
    <?xml version="1.0" encoding="utf-8"?>
    <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s="http://www.w3.org/2001/XMLSchema" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="http://www.webserviceX.NET" xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://www.webserviceX.NET" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
      <wsdl:types>
        <s:schema elementFormDefault="qualified" targetNamespace="http://www.webserviceX.NET">
          <s:element name="GetWeatherReport">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="ZipCode" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="GetWeatherReportResponse">
            <s:complexType>
              <s:sequence>
                <s:element minOccurs="0" maxOccurs="1" name="GetWeatherReportResult" type="s:string" />
              </s:sequence>
            </s:complexType>
          </s:element>
          <s:element name="string" nillable="true" type="s:string" />
        </s:schema>If I drag the web service method on the page and I should be able to select the response value in the Bind to Data dialog box. But there is no value field. Value fields only occur if the web service returns more than one value.
    The question is how can I get the response GetWeatherReportResult from the service.

  • Using powershell to deploy provider-hosted app and specify remote Url instead of using appinv.aspx page

    Hello all,
    Could you possibly help me with provider-hosted app development/deployment process.
    We developed SharePoint provider-hosted app that works just fine in development environment. Now we need to automate it's installation in test environment via powershell.
    In AppManifest.xml that we are deploying we have key instead of explicit URL:
    <App xmlns="http://schemas.microsoft.com/sharepoint/2012/app/manifest" Name="ShowAllRoomsApp" ProductID="{922a18aa-5592-b59a-4da9-4791baef02e7}" Version="1.0.0.0"
    SharePointMinVersion="15.0.0.0">
      <Properties>
        <Title>SomeTitle</Title>
        <StartPage>~remoteAppUrl/Pages/Default.aspx?{StandardTokens}</StartPage>
    If we use as
    https://technet.microsoft.com/en-us/library/jj655398.aspx recommends, we cannot specify Redirect Url as we can do this on
    /_layouts/appinv.aspx
    So now it seems like the only way to deploy this kind of solution is using appinv.aspx page.Or must we apply this URL in AppManifest on developing stage in Visual Studio?
    What did I miss?
    P. S. Even if I use /_layouts/appinv.aspx after powershell commandlets, I get error.

    hi,
    to deploy provider hosted app you need 2 things
    1. Client ID
    2. Redirect URL.
    What you can do you can generate app from visual studio using clientID and URL from developer enviornment.
    Now a app file is just a simple compressed zip file if you rename it as .zip and extract you will find AppManifest
    inside it. So to create an app for Testing enviornment what you have to to Get the CLient ID (from AppRegNew.aspx) in testing enviornment. Unzip .App file change the AppManifest with testing client ID and URL than again zip file and rename as .app.
    Now if you upload this file it will work.
    To automate this scenerio i have created a simple windows Application in which i Pass the Client ID and StartURl and an App File it unzips the app file make changes to app and again zip it.
    public static class AppPackageHelper
    public const string StartUrlExpression = "{0}?{1}";
    public const string StandardToken = "{StandardTokens}";
    public static string Publish(string appPath, string ClientId,string StartUrl)
    string tempDir = string.Empty;
    string outPutFile = string.Empty;
    try
    string parentDir = System.IO.Path.GetDirectoryName(appPath);
    outPutFile = System.IO.Path.Combine(parentDir, ClientId + "-Winshuttle.app");
    tempDir = System.IO.Path.Combine(parentDir, ClientId.ToString());
    Directory.CreateDirectory(tempDir);
    int lastInd = appPath.LastIndexOf('.');
    string tempPath = string.Empty;
    string targetFilePath = string.Empty;
    string cabPath = System.IO.Path.Combine(tempDir, System.IO.Path.GetFileNameWithoutExtension(appPath) + ".cab");
    FileInfo fInfo = new FileInfo(appPath) { IsReadOnly = false };
    File.Copy(appPath, cabPath);
    XDocument doc = null;
    string appManifest = string.Empty;
    using (ZipArchive zipArch = ZipFile.Open(cabPath, ZipArchiveMode.Update))
    appManifest = string.Format(@"{0}\AppManifest.xml", Directory.GetParent(cabPath).FullName);
    ZipArchiveEntry manifestEntry = zipArch.Entries.LastOrDefault(e => e.Name.ToLower() == "appmanifest.xml");
    manifestEntry.ExtractToFile(appManifest);
    doc = XDocument.Load(appManifest);
    XNamespace ns = doc.Root.GetDefaultNamespace();
    string defaultUrl = string.Format(StartUrlExpression, StartUrl.TrimEnd('/'), StandardToken);
    doc.Descendants(XName.Get("StartPage", ns.NamespaceName)).First().Value = defaultUrl;
    doc.Descendants(XName.Get("RemoteWebApplication", ns.NamespaceName)).First().Attribute(XName.Get("ClientId")).Value = setupInfo.ClientId.ToString();
    doc.Save(appManifest);
    if (manifestEntry != null)
    manifestEntry.Delete();
    zipArch.CreateEntryFromFile(appManifest, "AppManifest.xml");
    int totEnt = zipArch.Entries.Count;
    for (int e = 0; e < totEnt; e++)
    if (zipArch.Entries[e].Open().Length == 0)
    //if (zipArch.Entries.Count > totEnt && e >= totEnt) break;
    //zipArch.CreateEntry(zipArch.Entries[e].FullName);
    File.Delete(appManifest);
    if (File.Exists(outPutFile))
    File.Delete(outPutFile);
    File.Move(cabPath, outPutFile);
    return outPutFile;
    catch
    throw;
    finally
    if (System.IO.Directory.Exists(tempDir))
    System.IO.Directory.Delete(tempDir, true);
    return outPutFile;
    using System.IO.Compression.FileSystem.dll.
    Also if you want to do it using powershell You need to do the same thing unzip-> changes values-> zip
    So basic thing is You need to ahve only valid AppManifest file which contains 2 valid values Client Id and StartUrl
    if you changes it inside appmanifest manuall than it will also work. Using above code you can create a console Application to do it. You can use powershell it just that i dont know how to zip unzip in powershell but i am pretty sure you can easily find it
    on searching.
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • Question about including JQuery in a Survey list DispForm.aspx page

    In SharePoint 2010, I was able to hide the links for editing, deleting... an existing survey entry in the DispForm.aspx page using the following technique:
    1 - Save jquery .js file to the Style Library in the top level site
    2 - Save the .js file that has the jquery code to hide the link in the Style Library in the top level site
    3 - Reference the .js files in the DispForm.aspx page like this:
    <asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server">
     <script type="text/javascript" language="javascript" src='<asp:Literal runat="server" Text="<%$SPUrl:~SiteCollection/Style Library/jquery-1.5.0.min.js%>"'></script>
     <script type="text/javascript" language="javascript" src='<asp:Literal runat="server" Text="<%$SPUrl:~SiteCollection/Style Library/hideedit.js%>"'></script>
    </asp:content>
    The hideedit.js file contains the following:
    $(document).ready(function(){
        $('#ctl00_m_g_d3bec7ca_bd25_448d_8874_da35856854c5_ctl00_ctl01_ctl00_toolBarTbl').hide();
    I am trying to use this same technique in SharePoint 2013 but it is not working.
    It appears that neither of the js files are loading properly.
    As a test, I put the following in the hideedit.js:
    alert('test');
    $(document).ready(function(){
        alert('from jquery');
    Neither of the alerts are displayed when navigating to the DispForm.aspx file.
    How do I get JQuery loaded in a survey DispForm.aspx file in SharePoint 2013?

    Have you tried this within Designer?  Copy the DispForm, edit it and add the JD references below the PlaceHolderMain section and then save.  Set this as the default Displat Form and your changes should load.
    Steven Andrews
    SharePoint Business Analyst: LiveNation Entertainment
    Blog: baron72.wordpress.com
    Twitter: Follow @backpackerd00d
    My Wiki Articles:
    CodePlex Corner Series
    Please remember to mark your question as "answered" if this solves (or helps) your problem.

  • Read sharepoint list items and display it inside a div in aspx page

    So I have this sample aspx page with this design:
    <div class="column1">Events</div>
    <div class="column2">Details</div>
    <div class="column3">Contact</div>
    Now, I want to dynamically change the words (Events, Details, COntacts) depending on the content of my "Columns" sp list.
    how can I do this?
    ----------------------- Sharepoint Newbie

    Place the label controls in the div tags  like
    <div class="column1">Eventslabel</div>
    <div class="column2">Detailslabel</div>
    <div class="column3">Contactlabel</div>
     public void ReadList() {  
      // Use using to make sure resources are released properly  
      using(SPSite oSite = new SPSite(pathToSite)) {  
        using(SPWeb oWeb = oSite.AllWebs[nameOfWeb]) {   
          // Alternately you can use oSite.RootWeb if you want to access the main site  
          SPList oList = oWeb.Lists[listName];  // The display name, ie. "Calendar"  
          foreach(SPListItem oItem in oList.Items) {  
            // Access each item in the list...  
           //Bind the values to label
            // etc....  

  • CrystalReportViewer Not Visible/Empty in ASPX Page??!!

    Hi,
    I have an aspx page that creates a report object, sets parameters and then sets the report source on a CrystalReportViewer control on my page.  I can step through the code and see that it is getting the report file, setting parameters, there are records returned to the report object but when it sets the report source on the viewer control and the page is done loading, the page is completely blank.
    I am using Visual Studio 2013 and Crystal Reports 2011 (v13) on a Windows 2008 R2 64-bit server. The target framework is .NET 4.0 and the target platform is Any CPU.  Any help trying to figure this out would be great.  I've been stuck on this for over 2 weeks now.
    I have attached the web.config and the aspx page and it's code behind below.
    Thanks,
    David

    Hi David,
    Please don't post the same question in multiple forums. Wastes every ones time.
    Thanks

  • Show applet in aspx-page

    I'm not sure I'm posting this question at the correct place but here we go...
    I'd like to show the output of a java-file (with a few other java-files) on my website. So I made an applet which works well in a normal html-file in a directory on my computer. But how do I make the same inside the aspx-page? I tried several things. I packed all the java-files in a jar, I signed it, I placed all of it on my site and made the call like this:
    <applet code="/JavaSpil/Collision"
    archive="/CvWebsite/JavaSpil/javaspil.jar"
    width="200" height="200">
    </applet>
    which produces this error:
    Java Plug-in 1.6.0_15
    Using JRE version 1.6.0_15-b03 Java HotSpot(TM) Client VM
    load: class /JavaSpil/Collision not found.
    java.lang.ClassNotFoundException: .JavaSpil.Collision
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://localhost:55063/JavaSpil/Collision.class
    at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 7 more
    Exception: java.lang.ClassNotFoundException: .JavaSpil.Collision
    How can I make things work?
    Thanks in advance!
    Best regards,
    Kenneth Andersen
    Edited by: cogitans on Oct 6, 2009 4:49 AM

    I'm not sure I'm posting this question at the correct place but here we go...
    I'd like to show the output of a java-file (with a few other java-files) on my website. So I made an applet which works well in a normal html-file in a directory on my computer. But how do I make the same inside the aspx-page? I tried several things. I packed all the java-files in a jar, I signed it, I placed all of it on my site and made the call like this:
    <applet code="/JavaSpil/Collision"
    archive="/CvWebsite/JavaSpil/javaspil.jar"
    width="200" height="200">
    </applet>
    which produces this error:
    Java Plug-in 1.6.0_15
    Using JRE version 1.6.0_15-b03 Java HotSpot(TM) Client VM
    load: class /JavaSpil/Collision not found.
    java.lang.ClassNotFoundException: .JavaSpil.Collision
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed:http://localhost:55063/JavaSpil/Collision.class
    at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 7 more
    Exception: java.lang.ClassNotFoundException: .JavaSpil.Collision
    How can I make things work?
    Thanks in advance!
    Best regards,
    Kenneth Andersen
    Edited by: cogitans on Oct 6, 2009 4:49 AM

  • Capture PDF Events in Web Page

    Hi Team,
    I am not sure whether this is the right forum for my requirement. Provide me the correct location incase this is not the one.
    I have the following requirements
    To embed a pdf document in a web page (build using asp.net)
    Capture the page navigation events. This is to ensure the user visits the last page of the pdf document.
    First requirement can be easily solved by using a iframe. But that will leave me having no control over the pdf document.
    Hence I am looking for any control which takes the file path and displays the pdf document and the control also raises the events(next button clicked, previous button clicked, etc).
    Any help in this regard will be grateful.
    regards,
    Chandra.

    Thanks Leonard for your useful inputs.
    One more request.
    If I embed the PDF (containing acrobat javascripts) in a webpage, then can the javascript in the PDF communicate with the Web Pages javascript running in the browser. Something like pdf javascript function invoking the page's javascript function(to notify an event like Nth page loaded).

  • Click event on sub page menu makes my master page menu go away..???

    I've populated a menu using xml retrieved from a stored procedure and all is working great, except when I select an item from the sub menu and call a click event and it makes my main menu on my site.master go away and shifts the current aspx page up.
    <asp:Menu ID="mnu_catproj" runat="server" BackColor="#B5C7DE" DynamicEnableDefaultPopOutImage="False" DynamicHorizontalOffset="2"
    DynamicPopOutImageTextFormatString="" Style="position: relative;" Font-Bold="True" Font-Italic="False" Font-Names="Verdana" Font-Size="X-Small"
    ForeColor="White" Orientation="Horizontal" StaticEnableDefaultPopOutImage="False" StaticSubMenuIndent="10px" >
    <DataBindings>
    <asp:MenuItemBinding DataMember="Category" TextField="#InnerText" ValueField="#Value" />
    <asp:MenuItemBinding DataMember="Project" TextField="#InnerText" />
    </DataBindings>
    <DynamicHoverStyle BackColor="#CC9900" ForeColor="#0000CC" />
    <DynamicMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
    <DynamicMenuStyle BackColor="#B5C7DE" />
    <DynamicSelectedStyle BackColor="#507CD1" />
    <StaticHoverStyle BackColor="#284E98" ForeColor="White" />
    <StaticMenuItemStyle HorizontalPadding="5px" VerticalPadding="2px" />
    <StaticSelectedStyle BackColor="#507CD1" />
    </asp:Menu>
    Protected Sub mnu_catproj_MenuItemClick(sender As Object, e As MenuEventArgs) Handles mnu_catproj.MenuItemClick
    lblCategory.Text = mnu_catproj.SelectedItem.Parent.Text.ToString()
    lblProject.Text = mnu_catproj.SelectedItem.Text()
    btnMD_submit.Enabled = True
    End Sub
    I know the click event is calling the subroutine but the Master Page menu goes away
    <asp:Menu ID="MainMenu" runat="server" DataSourceID="XmlDataSource1" Font-Names="Verdana" ForeColor="#333399" ScrollDownImageUrl="/Images/menuSeparator.gif" StaticPopOutImageUrl="/Images/menuSeparator.gif" Orientation="Horizontal" DynamicPopOutImageUrl="~/Images/triangle-16.gif" ItemWrap="True" CssClass="menuStyle" Height="27px">
    <DataBindings>
    <asp:MenuItemBinding DataMember="Menu" Depth="0" TextField="text" Selectable="False" />
    <asp:MenuItemBinding DataMember="SubMenu" Depth="1" NavigateUrlField="url" TextField="text" ValueField="url" />
    <asp:MenuItemBinding DataMember="SubMenu" Depth="2" NavigateUrlField="url" TextField="text" ValueField="url" SelectableField="url" />
    <asp:MenuItemBinding DataMember="SubMenu1" NavigateUrlField="url" TextField="text" ValueField="text" ToolTipField="#Value" TargetField="target" />
    </DataBindings>
    <DynamicHoverStyle BackColor="#003399" Font-Size="X-Small" ForeColor="White" Font-Bold="False" />
    <DynamicMenuItemStyle HorizontalPadding="10px" VerticalPadding="5px" BackColor="#E5E5E5" BorderColor="#999999" BorderStyle="Solid" BorderWidth="0.01em" Font-Size="X-Small" ForeColor="Black" />
    <DynamicMenuStyle BackColor="#E5E5E5" />
    <DynamicSelectedStyle BackColor="#507CD1" Font-Size="X-Small" />
    <StaticHoverStyle BackColor="#FF9900" ForeColor="White" Font-Bold="False" />
    <StaticMenuItemStyle HorizontalPadding="15px" VerticalPadding="4px" />
    <StaticMenuStyle CssClass="menuStyle" />
    <StaticSelectedStyle BackColor="#FFCC66" />
    </asp:Menu>
    finally: this works fine in Firefox browser but not in IE or Chrome

    Hi DeanO78O,
    This forum is to discuss problems of Windows Forms. Your question is not related to the topic of this forum.
    You could  post it in the dedicated ASP.Net Forum
    http://forums.asp.net for more efficient responses, where you can contact ASP.NET experts.
    Best regards,
    Youjun Tang
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

Maybe you are looking for

  • Dynamically creating components on the page gives problems

    Hello, we are creating a number of custom UI components dynamically on the page, depending on informations we only know at runtime (for some reasons, we could not just create them statically and hide and show them dynamically- please don't suggest do

  • SD-FI interface table(s)

    Dear CRM experts, I seek your kind advise on the following matter: On billing we wish to update the FI with an information from the SD as the 'assignment'. In the ECC we had done through a sort key and neceeeary entering of the "field's" value in the

  • Create new MySQL Database with SQL

    I have a simple question, :-) how can I create a new MySQL Database with SQL - (JDBC) can you show me a code example? tank you ...

  • File to File transfer without design content

    Hi, Thanks a lot for the responses.I have a new scenario with me. Scenario : We came to know that in XI, with out defining any design content, the file transfer can be achieved. This way, the scenario can be configured directly in Integration Directo

  • WLST assign WTCServer (weblogic 9.2MP2)

    using weblogic 9.2MP2 on both unix/windows.... configuring offline with WLST script and using the assign command to associate resources. works fine except for with the WTCServer bean. the python script first creates the WTCServer bean and directly af