Impossible to solve Sharepoint dropdown behavior - sharepoint-2010

I am currently experiencing some very weird dropdown menu behavior in Sharepoint.
Summary of the issue
Dropdowns do not appear if I Ctrl+R to refresh the page. Dropdown items do appear if I click into the address bar and click enter. Also, if I make the page hit a breakpoint in developer tools while loading, the dropdown will work even when I hit Ctrl+R.
How to reproduce the issue:
Go to the website: http://www.jdaihelpdesk.org/default.aspx
Mouse over one of the menu items at the top, dropdown items will appear.
However, if you hit Ctrl+R to reload the page, when you mouse over one of the menu items, the dropdown will no longer appear.
Even weirder, if you open up developer tools and put a breakpoint on line 5 of the resource file titled http://www.jdaihelpdesk.org/ScriptResource.axd?d=mp6tevUL8oeNESOYJzVjF4zt3gpf2XdWLbE3BbLBQDYBVZVAQp00gRgopkUa1x9lC9s-iuzbDatvYvVbz7xnHLXzyr_vbt6Y91YZqrMVq_6N-PshJk3rZnu9fGlYq2Z8x9XfJo4ZhLF5WQffpPe1KcOEZvI1&t=2e2045e2
, hit Ctrl+R to refresh the page, after hitting continue, the menu item will work.
So it's like there's something to do with when resources are getting loaded or something but that's just a guess after hours of looking at this issue.
What's also weird to me is that hitting Ctrl+R will cause the dropdowns to not appear but clicking in the address bar and hitting Enter to load the page, the dropdowns will appear.
If anybody has any insights that would be awesome!

Related

How to unfocus from all inputs/elements in Selenium without tabbing out

I have a form where I fill in textboxes through selenium (java). Some of the textboxes dynamically generate extra content when you click on them and remove the content when you focus on something else. This is a problem when I automate because if I am focused on a text box and try to click on something else, when the page removes the content it doesn't register my click and I need to click again. This leads to flakey behaviour since I need to now consider whether I need to click or double click a button depending on what element I was focused on before.
I can't send a tab key to the text box because sometimes it will tab into another textbox that has the same dynamic generation behaviour, leading to the same scenario as before.
I tried clicking the page element but it also doesn't seem to work. I also tried clicking the root div. It just doesn't seem to register my click (I also tried jsclicks)
What I would like to do is have a general way to unfocus a text box after I fill it.
Thanks!

Show APEX$ROW_ACTION on button click in Oracle Apex

I have an editable Interactive Grid in a page. My page is read only on page load, and there is a separate button 'EDIT' in page, by clicking on which page becomes editable. At the moment, APEX$ROW_ACTION column of IG is visible on page load by default. I want to APEX$ROW_ACTION column only after user clicks on EDIT button.
NOTE : This EDIT button is not the default Edit button of IG
Sorry, but my Javascript is still too weak to solve this (I keep meaning to learn more!). How about going at this a different way?
What if you used 2 grids on the same page, one read-only and the other editable?
The page defaults to displaying the Read-only
They click the Edit button
That hides the Read-only and displays the Editable
This Apex Forum comment describes getting around the 1 IG per page limitation: https://community.oracle.com/tech/developers/discussion/comment/12587490#Comment_12587490

Is there a way to automatically change the selected menu page in a master detail project when the detail changes?

Background:
My project uses the "Master Detail" project from Xamarin.Forms, so it comes equipped with the hamburger menu button in the top left which is supposed to be the main source of navigation throughout the app. However, my app requires the user to go through multiple of those screens without the use of the hamburger menu. But when a user uses my own buttons to change the detail, the hamburger menu still says the user is on the previous page.
For example, a user is on Page A. They click a button outside of the menu which sends them to Page B. The menu will still show Page A.
My Attempt:
I really didn't know where to start, so I tried taking the MenuItemType and passing it through the following function:
// This changes the screen without changing the menu and it works.
((MasterDetailPage)Application.Current.MainPage).Detail = new NavigationPage(new PageB());
// This was my attempt to change the menu.
(Application.Current.MainPage as MenuPage).RootPage.NavigateFromMenu((id)MenuItemType.PageB);
But that returned a Null Reference Exception when run.
I've also tried manually calling the list view associated with the hamburger menu and changing the selectedItem property, but that didn't work either. Is there any way to change the selected menu?
For Clarity:
Since StackOverflow won't let me post a video, here's a link to how the app acts. As you can see, I use the Menu to go to the "About" Page. I click a button on the screen which takes me back to the "Browse" Page. However, when I open the menu, it still says "About" is selected. I can't reselect "About" until the menu moves away, meaning I have to reopen "Browse" despite already being on that screen.
What I'm looking for is a function which will automatically change the selected menu item to "Browse" when I press that button on the "About" Page. The app is currently using a Master Detail Page which has the "Detail" component changing from the About Page to the Browse Page. The menu page is a Content Page which came built with the app beforehand.

dojox form uploader button is clickable only on the border, but not on the full button

I am using IE8
I have created dojo button as below
It has displayed button "Select Files".
Problem
When I click on top border of button its working fine. When I click on any other places on button file picker dialogbox is not displaying.
When I right click on button and select zoom in option once, I am able to click on all the coordinates of button(after selecting zoom option, it works similar to html button).
Note: I have used flash for multiple file selection.
Please tell how to make this button work by clicking in any place.
Have you checked if there is other element's borders in front of the button? Try to check with the developer tools option activated on your browser and select "inspect element" (or similar). If another element is detected when you hover over the button, you have your answer.
Apart from that I have no more ideas.

Form sent to back on interaction with menu item

I've got two forms, one being frmMain and the other being frmDatasets. The idea is that frmDatasets is used to manage the application's datasets (it's a program for comparing sorting algorithms).
I have a MenuStrip on frmDatasets with a few items. I just decided to change the Add Dataset item to a drop-down menu with options for loading one from file, or generating one according to certain parameters. All well and good; just add the items, swap some icons around, and change the event handler's signature to handle the right Click event.
Except when I run the program, clicking on the Add Datasets top-level item for the first time sends frmDatasets to the back, displaying an inactive frmMain. Clicking the item again shows the dropdown menu as usual.
If I instead click another top-level menu item, that works just fine. But then simply hovering my mouse over the Add Dataset item causes the 'send to back' thing to happen.
I say "send to back", but it's really just putting it behind frmMain. It remains in front of other windows like Visual Studio and Firefox.
Anyone know what on Earth is going on with this form?
EDIT: If I show frmDatasets as a modal dialog, it stops the whole "sending to back" thing, but I still have to click the menu item twice before it shows the list.
EDIT2: Overriding the onClick event to call mnuAddDatasetDropDown.ShowDropDown removes the double-click issue, but it's only a solution if I keep the form as a modal dialog. Still gets sent to back. Overriding mouseEnter doesn't do anything to solve it.
Setting the TopMost property of frmDatasets from its Design view to 'true' fixed all of the problems I was having. No insight as to what was going on, unfortunately, but if anyone else is having this problem then hopefully it'll work for them too.