Kendo window 1st open and then load - window

I have a kendo window in my project. Now the content is coming form another domain. I used i-frame in the content template. Its working fine. But When i click the button to open the kendo window it coming but not smoothly. Its stucking. so I want, when I click the button window open smoothly and then load the content. I searched for it but did not find any solution. Its better if i can open the window first and show a loader until the content comes.
Please help me.

The problem can be solved by making the animation:false

A kendo window fires an event called "activate" when it has finished displaying its opening animation. You can catch this event and then load your data in a handler function. There is no need to deactivate the animation itself.

Related

Cypress - Vue Js Button click event is not working

I have Vue Js application in which there is a detail page which has multiple tabs in it.
When i am click on 2nd tab button click event not fires.
Can anyone please suggest the workaround? So that i can proceed.
By default selection on 1st tab and data loads immediately but when click on 2nd tab loader loading only but there is no response.
Any suggestion would be highly appreciated.

Custom button not displaying in Today Extension

I have some custom buttons in my host app that I'd like to use in the Today Extension.
They work just fine in the app but do not display in the widget.
The button on the left is my custom button class, the one on the right is a UIButton. If I change it to my custom class it too disappears.
Any thoughts why this might be happening?
----------------------EDIT------------------------
Well, somehow I managed to get it to display but sometimes it's not drawing the whole button and sometimes it's drawing the button incorrectly.
Any help would be appreciated! Thanks

The refresh icon of Telerik Grid can't rotate when clicking it to refresh grid

Use Telerik Grid control in my MVC project. When I try to click the refresh icon which at the left bottom of the grid to refresh the grid, I suppose the icon is rotating while the data is refreshing. But the icon isn't. Maybe the problem comes from the telerik.grid.min.js file. But I didn't find any useful solution. :(
Are you using Ajax Binding or Server Binding for your Grid ?
I think the icon doesn't do anything with Server Binding because as far as I know, this simply reload the page instead of refreshing the content of the Grid.
If you are using Ajax Binding, can you check if you have any kind of JS error in your browser's console ?

Image Flickering only in Firefox

I have a popop on my page with cross button image.
When I open the popup for the first time everything is fine.
But when I close the popup and open it again, the cross button image flickers.
How can I Fix this.
I am facing this problem only in firefox. Are there any configuration settings which i need to make?
Got the issue. A button click function was written twice because of which the popup was loading twice and the image flickering happened.

selenium WebDriver not finding elements on a modal

I am using selenium webdriver not straight selenium-rc
I have a modal login prompt that come up when you click the login button. Its just a simple div such as -> that has a few frame containers in it.
I can get selenium to open the modal and selenium can find the modal cause I check to see if it is up so it does no the container is open
enderedWebElement resultsDiv = (RenderedWebElement)driver.findElement(By.className("logincontentcontainer"));
But it cannot find any controls on the modal such as text box or buttons. I have tried looking by name, id, classname.... no luck. firebug see's the controls fine. I have several sleeps to make sure its not a race condition.
I should add the modal that comes up is a container with 2 iframes the controls I need are in 1 iframe what contains a form with the controls on that form. not sure if that matters
Are you switching to the frame before you try to find any elements in it? If you're not, that could be your problem.
driver.switchTo().frame("frameName");
http://seleniumhq.org/docs/09_webdriver.html#moving-between-windows-and-frames

Resources