Generated Code for Button Bar - Not Working

Hi all,
I'm working with LightSwitch 2013 (Visual Studio 2013 Update 4), and I noticed that when I view my HTML5 client in Internet Explorer 11 and switch between tabs (in the HTML5 client), the buttons become barely visible (like they were disabled, but they're
still enabled). Is there a quick fix for this, like regenerating the javascript that was generated to do this?
Thanks,
Gareth
Edit: Here's a picture of what I mean. The button looks disabled, but is actually enabled. Any buttons that are disabled just show up as even less visible. Also, if I switch between tabs enough times, it'll fix the issue and look enabled again. Any advice
would be greatly appreciated. Thanks!

Have you added the button to the command bar for each tab or only the first tab?
If you want 'Add OS' available in more than one tab then you need to add buttons to all relevant tabs, but wire up to the same command and event handler in code behind.
Dave
Dave Baker | AIDE for LightSwitch | Xpert360 blog | twitter : @xpert360 | Xpert360 website | Opinions are my own. For better forums, remember to mark posts as helpful/answer.

Similar Messages

  • Pasting code for HTML Widget, not working!

    Hello,
    I recently watched the support video for widgets and Adobe Muse, and the video stated you simply copy the code for HTML Widget, and once you paste it into Adobe Muse, Muse would be able to automatically recognize that it is a widget and it would paste correctly. However, when pasting my HTML code into Muse I literally get the code. Nothing appears!
    Any help would be greatly appreciated! Thanks!
    Brandon

    Brandon,
    If the code you're pasting appears  to Muse to be valid HTML to embed, it should automatically paste as an HTML page item. If it's pasting as text, it may not be valid HTML, or Muse might not recognize it.
    You can also choose 'Insert HTML...' from the Object menu, and then paste your HTML into the dialog box.

  • Code for flash movie not working?

    ok, I have searched hi and low for this and found lots of great info from Wyodor on this forum but I just cannot get this to work! I have tried the code, replaced the paths and sizes relative, I have everything (swf flv) in the same directory on my server (not mobileme) but still nothing. All I see when I visit site is a grey box. What am I missing? It seems pretty straight forward. Please help! Thank you

    The URL appears in two places in the code. The most important one is after
    <embed src=
    Enter the URL to your flash file into the browser and it should play full screen on a page of its own if it is correct.
    <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve rsion=6,0,40,0"
    width="640" height="480"
    id="MovieName">
    <param name="movie" 
    value="http://www.mywebsite.com/FlashFolder/FlashFile.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#ffffff" />
    <embed src="http://www.mywebsite.com/FlashFolder/FlashFile.swf" quality="high" bgcolor="#ffffff"
    width="640" height="480"
    name="MovieName" align="" type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>

  • Code for acquiring data not working like i'd expect

    Hello everyone. I posted my code that collects voltages from an NI 9215 DAQ card. I'm wondering why it acts so interestingly. For instance, at frequencys that are multiples of ten the waveform graph is frozen in place, and at lower frequencys (2-3 Hz) the data is changing faster rather than slower. Take a look! I'd like any input you have.
    Attachments:
    Voltage Reader that displays increasing voltages.vi ‏23 KB

    You are acquiring 10,000 samples at a rate of 100,000 samples per second.    So you are acquiring data 10 times per second.  If you acquiring signals that are a multiple of 10 Hz, then you are gathering integral number of cycles and it will look stationary on your waveform graph.
    If you are looking at frequencies that are not a multiple of 10, or less than 10 Hz, then you are getting fractional or incomplete cycles in any given capture, and it will look like your sine wave is walking across the graph.

  • Purchased Activation Code for Aperture does not work

    I just installed Snow Leopard and experienced the issue with the old version of Aperture. So downloaded the trial version then bought the Activation Key for £69 but the Activation key they email ed me say "Invalid Code".
    I cut and paste and retried the install but to no avail. Emailed Apple Support and they sent me here to the forums because I quote
    "Hello Simon, My name is Brittany and I understand that you have not been able to activate or run Aperture. Please know, I can appreciate your concerns and I'm here to address them for you.
    As an iTunes Store Customer Support representative, I handle issues related to billing, downloading, customer accounts, and the items available on the iTunes Store. *The question you asked falls outside of my area of specialty*, but Apple does offer some resources that should help you...blah blah forums."
    How do I get a HUMAN to tell me how to get my money back or fix my problem. This is getting way too expensive.

    Since you paid in Pounds, I assume that you're in the UK. It appears that there's a toll in the UK.
    United Kingdom (44) 0844 209 0611**
    ** £0.05p per minute when dialled from a landline within the UK. Call charges may vary when calling from a mobile phone.
    http://www.apple.com/support/contact/phone_contacts.html

  • Link for source code for add-on not working

    I followed this link: https://addons.mozilla.org/en-US/firefox/addon/sabnzbdfox/?src=search (with the source download) and got a "404" (https://addons.mozilla.org/en-US/firefox/files/browse/76042/)
    Can I find the source code somewhere else and when I do, how do I update the broken link?

    Hi,
    You can also try after some time. To check for possible temporary network problems please see: http://status.mozilla.com/
    If the problem persists, please also try [https://addons.mozilla.org/en-US/firefox/files/browse/76042/ the link] in a [https://support.mozilla.org/en-US/kb/Managing-profiles new profile].
    [https://support.mozilla.org/en-US/kb/Profiles?s=profile&r=2&e=sph&as=s Profiles Howto]

  • Javascript code for showing time not working

    hi Gurus,
    i am changing the standard masthead of portal with the following java script. it comes for the first time, there is an auto refresh in the code. it refreshes once and then only the javascript is visible . All other parts of masthead goes off. What is wrong with this code
    <script language="JavaScript">
              var timerID ;
           function tzone(tz, os, ds, cl)
                this.ct = new Date(0) ;       // datetime
               this.tz = tz ;          // code
                  this.os = os ;        // GMT offset
                  this.ds = ds ;        // has daylight savings
                  this.cl = cl ;        // font color
           function UpdateClocks()
                   var ct = new Array(
                     new tzone('TYO: ', +9, 0, 'violet'),
                     new tzone('HKG: ', +8, 0, 'cyan'),
                     new tzone('MIL: ', +1, 0, 'yellow'),
                     new tzone('NYC: ', -5, 1, '#FFAA00'),
                     new tzone('LON: ',  0, 1, 'silver'),
                 new tzone(' LA: ', -8, 1, 'pink'),
                     new tzone('MUM: ', +5.30, 0, 'red')
          var dt = new Date() ;   // [GMT] time according to machine clock
          var startDST = new Date(dt.getFullYear(), 3, 1) ;
          while (startDST.getDay() != 0)
                startDST.setDate(startDST.getDate() + 1) ;
          var endDST = new Date(dt.getFullYear(), 9, 31) ;
          while (endDST.getDay() != 0)
                endDST.setDate(endDST.getDate() - 1) ;
          var ds_active ;         // DS currently active
          if (startDST < dt && dt < endDST)
                ds_active = 1 ;
          else
                ds_active = 0 ;
          // Adjust each clock offset if that clock has DS and in DS.
          for(n=0 ; n<ct.length ; n++)
                if (ct[n].ds == 1 && ds_active == 1) ct[n].os++ ;
          // compensate time zones
          gmdt = new Date() ;
          for (n=0 ; n<ct.length ; n++)
                ct[n].ct = new Date(gmdt.getTime() + ct[n].os * 3600 * 1000) ;
          document.write('<font face="verdana,arial,helvetica" size="-3" color="#000000">')
          document.write(ct[0].tz+ClockString(ct[0].ct))
          document.write(' ! ')
          document.write(ct[1].tz+ClockString(ct[1].ct))
          document.write(' ! ')
          document.write(ct[2].tz+ClockString(ct[2].ct))
          document.write(' ! ')
          document.write(ct[3].tz+ClockString(ct[3].ct))
          document.write(' ! ')
          document.write(ct[4].tz+ClockString(ct[4].ct))
          document.write(' ! ')
          document.write(ct[5].tz+ClockString(ct[5].ct))
          document.write(' ! ')
          document.write(ct[6].tz+ClockString(ct[6].ct))
          document.write("</FONT>")
          document.close()
                setTimeout("UpdateClocks()",1000);
        function ClockString(dt)
            var stemp, ampm ;
              var dt_year = dt.getUTCFullYear() ;
              var dt_month = dt.getUTCMonth() + 1 ;
              var dt_day = dt.getUTCDate() ;
              var dt_hour = dt.getUTCHours() ;
              var dt_minute = dt.getUTCMinutes() ;
              var dt_second = dt.getUTCSeconds() ;
            dt_year = dt_year.toString() ;
          if (0 <= dt_hour && dt_hour < 12)
                ampm = 'AM' ;
                if (dt_hour == 0) dt_hour = 12 ;
          else
                ampm = 'PM' ;
                dt_hour = dt_hour - 12 ;
                if (dt_hour == 0) dt_hour = 12 ;
            if (dt_minute < 10)
                dt_minute = '0' + dt_minute ;
          if (dt_second < 10)
              dt_second = '0' + dt_second ;
            stemp = ' ' + dt_hour + ":" + dt_minute + ampm ;
          return stemp ;                
    window.onload=UpdateClocks()
    //  End -->
    </script>
      Regards
    Venkat

    Hi Venkat ,
    I guess you are refering to the code at
    http://www.devasp.net/net/articles/display/403.html
    Tel me the requirement so that i can code and send you the javascript.
    thanx
    Pankaj

  • Redemption Code for PSE11 does not work - cannot obtain serial number

    What do I do if my Photoshop Elements 11 Redemption code doesn't work? I am trying to find a proper contact number and I can't. I need to use this code in order to get the serial number and install the product. Does anyone one have a solution? or a phone number?

    Redemption Code Help
    http://helpx.adobe.com/x-productkb/global/redemption-code-help.html

  • Serial Key code for Adobe Audition not working

    I purchases Adobe Audition CS6 last week and I keep getting the message “The serial number you entered is invalid. Please try again. Customer Service" The company Leximart that I bought CS6 provided me  with a cserial key code that doesn't seem to work. Leximart is impossible to get a hold of by phone and there is nobody live to talk to at Adobe. Any suggestions?
    Thanks.
    Brad

    Brad you can try registering the serial number to determine if it is valid.  You can find details on how to register the serial number at Find your serial number quickly.  If the serial number is unable to be registered then please contact the party which you purchased Creative Suite 6 from.

  • Alt+d shortcut for location bar not working

    Its not alt+d but alt+s

    Alt+s usually activates the History menu. If this is affecting other shortcuts, perhaps Firefox is having an issue with your keyboard, or with an anti-keylogger program.

  • My home button is not working sometimes and at the store they dont want to take it for repair because the problem did not show up at that time

    My home button is not working sometimes and at the store they dont want to take it for repair because the problem did not show up at that time

    When normally powering the phone, there would not be a loading bar, you would just see the Apple logo. You can try a reset of the phone, hold the sleep/wake and home buttons together until you see the Apple logo and then release. The phone will reboot.
    You can take the phone to Apple, by making an appointment at the Genius Bar to have the hardware checked. Apple handles warranty and post-warranty issues, not Verizon. Have Apple look at the hardware to see if there are any problems.

  • With version 5 of Firefox, if I open more than 1 session, most of the time I cannot see anything in the navigation bar and my back and forward buttons do not work.

    I open 1 session of Firefox 5.0.1 and everything seems to work fine. Then I open a second session of Firefox and most of the time the navigation bar does not show the page that I am on and the back and forward buttons do not work. When this happens, the first session always remains working. I am an internet marketer so I have at least 2 or 3 sessions going at any given time.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • Centre button is not working properly in my iphone . . what can i do for that ?

    centre button is not working properly in my iphone . . what can i do for that ?

    Get it serviced.

  • On my MacBook Pro, sometimes when I click to close tabs in Safari the button will not work.  I have to click on some other part of the screen and then it will.  This happens in other programs like Word/Excel for changing font, etc. Solution/Suggestions?

    On my MacBook Pro, sometimes when I click to close tabs in Safari the button will not work.  I have to click on some other part of the screen and then it will.  This happens in other programs like Word/Excel for changing font, etc. Solution/Suggestions?

    Start up in Safe Mode.
    http://support.apple.com/kb/PH4373

  • Save button is not working for ONE CLICK ACTION

    Hi All,
    We have embeded a custom table view in a standard component.While we are editing the first row of the table view by ONE CLICK ACTION & pressing the SAVE button of overview page,then the record is saved in the database. But if we edit any row other than the 1st one,the save button is not working.
    We have used transaction context here for simple object.
    lv_tx_ctxt = lr_ent_bt->get_transaction( ).
    my_tx_context->add_tx_context( lv_tx_ctxt ).
    Please suggest how we can focus on the current line which we are editing & can save the record in database?
    Thanks.

    Hi Hakan,
    Probabaly this is not my problem. I know that how bt one click we can get the desired row.
    Let me briefly explain you my requirement and currently where I am stuck.
    I have a assignment block ( custom) in the main overview page with a custom table view ( ie in the view we are displayng entries in the table view ) and the user can press edit button on any row and that will open the particular row in edit mode . User will change the value in any of the columns and press save button on the main component and the custom changes will be saved in the database.
    Now the problem that we are facing is when we are chnaging the first row it si working but when we are doing chnages in the 2nd row or 3rd row changes are not saved ( not even in the table view that is getting displayed) .
    *Let me briefly tell you the approach that we took  . Since our table view uses a simple object  ( which is not a related object with BTORDER so we need to explicitly save the simple object entities to transaction context and for doing that we have redefined the eh_onsave method in the overview page) .
    *Now the save button is in overview page so to pass the entry from our custom table view to overview we are using custom controller . The custom controller 's collection wrapper only has the first entry of the table view custom_controller->collection_wrapper->get_next is failing which is the reason why the 2nd entry is not getting saved.
    Can you tell me how i can get all the table entries in my custom controller's collection wrapper?
    Let me know if you have any other questions.

Maybe you are looking for

  • Adding Ripped CDs via iTunes 10.5 on iPhone 4 iOS5 not working

    Why can I no longer add my music from my ripped CD's to my iPhone's iPod player since upgrading to iTunes 10.5 and iOS5??  Is this a bug or is Apple now not going to allow people to add ripped music from CDs or downloads from the internet outside of

  • ERROR: user is not configured for keystore 'service_ssl'

    hi experts: System environment: pi7.0  j2ee sp09 ECC6.0 patch level11 Here is my scenarios.. ECC6.0-->(IDOC)XI(CIDX)-- >External system. External system-->(CIDX)XI(IDOC)-- >ECC6.0 1.we have got there certificates from external system (rootCA.DER,inte

  • Total number of users in NetPoint License has been exceeded

    I am keep getting this msg on my website. I goto admin > business partner > license users and delete all users except manager the msg goes away and after few hours it comes back again Total number of users in NetPoint License has been exceeded. Some

  • Webservices and XSQL

    Hi! I have a question: I would like to use Oracle's XSQL servlet. I have a .xsql file which calls a function and returns a data in XML format. Now how can I use this in weblogic using webservices? Anybody has an idea? Thanks in advance ..Madhuri

  • Database Upgrade from 10.2.0.3.0 to 10.2.0.4.0 for a EBS 12 database

    Hi, Is there any specific procedure like interoperability for upgrading an R12 database from 10.2.0.3.0 to 10.2.0.4.0. Currently I have plans to upgrade database from 10.2.0.3.0 to 10.2.0.4.0 and then upgrade apps from 12.0.4 to 12.0.6. Also I need t