Getting <parsley:ContextBuilder from popup window - apache-flex

I'm using
<parsley:ContextBuilder config="{Parsley_Config}"/>
in my main application. The problem is popup window cannot detect the configuration. Any kind help is appreciated.

There is a section about it in the Parsley documentation :
http://www.spicefactory.org/parsley/docs/2.4/manual/view.php#popup

help for this topic - how to handle popup and windows using parsley
http://flexfinds.blogspot.co.uk/2012/10/parsley-and-popups.html

Related

How to setFocus on Apache Royale Jewel Button?

All is in the title...
I would like to trigger at application startup this definition in css :
.jewel.button:focus
But I don't see any setFocus or focus property on j:Button
Could you tell me how to do ? Thanks
Regards
UPDATE: This is no longer right. Recently SetFocus bead was removed and StyledUIBase got "setFocus" method. Use it instead of the code below.
Use the Basic bead SetFocusrecenlty added:
<j:Button text="Hello!" emphasis="secondary">
<j:beads>
<js:SetFocus enableFocus="true"/>
</j:beads>
</j:Button>

KendoUI: exact time rendering in scheduler

I know that RadScheduler (also Telerik) has an option 'Exact time rendering' (http://demos.telerik.com/aspnet-ajax/scheduler/examples/exacttimerendering/defaultcs.aspx) but does this also exist in KendoUI Scheduler ?
Have been searching the documentation but was unable to find anything.
This feature is called snap in the Kendo UI Scheduler. Here is a live demo: http://demos.telerik.com/kendo-ui/web/scheduler/move-resize.html (try unchecking the checkbox)

Radeditor on google chrome not working

I have a telerik rad editor. My application runs in .net 2.0 environment. The telerik version is : 2012.3.1016.35. The rad editor is not enabled on chrome only. I cannot type into it.Works fine in all other browsers. Upgrading to new telerik is not an option. Because this is an old client and changing will/may affect other styling things.
So what are my options. I posted this on telerik, but no response. If you need more information, please let me know. Thanks.
EDIT:
ON checking the console I got an error. Please find the image attached to see the error.
SOLUTION:
I got it. I had a line like below to open a rad window:
rwSC.VisibleOnPageLoad = True
This was causing the problem. Sometimes it would open fast and the control would load and I can place my cursor within the rad editor within the rad window and sometimes cannot. So I replaced that with this
Javascript.RegisterStartupScript(Me, "NewSC", "setTimeout(""$find('" & rwSC.ClientID & "').show();"", 500);", True)
And now it works. The rad editor within the radwindow is enabled and I can edit it.
Is this what you have: http://feedback.telerik.com/Project/108/Feedback/Details/125713?
If so, try the JS workaround there

Custom back button in asp.net application

I have application that is working in popup. Is there a easy way to do manual back button, as popup windows doesn't have them?
Thanks.
make use of javascript history object that will work for this
function goBack()
{
window.history.go(-2)
}
In JavaScript, history.go(-1); will have the same effect.

identify client web browser in flex

How do we identify the user's web browser in flex ? Based on the browser I have to display some text in my flex application.
Any help would be appreciated.
Thanks
Short answer is to use ExternalInterface to call JavaScript code.
I would take a look at these pages from the documentation for more in depth information:
http://livedocs.adobe.com/flex/3/html/help.html?content=18_Client_System_Environment_7.html
http://livedocs.adobe.com/flex/3/html/19_External_Interface_04.html
http://livedocs.adobe.com/flex/3/langref/flash/external/ExternalInterface.html
Yes, Javascript code gives you access to Navigator object, which inturn can give you the browser details.
Here's an example I obtained on Googling
http://www.tharas.in/2009/12/getting-client-browser-environment-in-flex/
From ActionScript,
var result:String = ExternalInterface.call("eval", "navigator.userAgent");
which gets the value for the browser name, stores it in result.

Resources