iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
How can i set a value with a client script in a WebInput-Field of WebDesktopManager-Window ?
Let's say i have 2 windows in a WebDesktopManager. Both are using IFrames. Now i click on a button in one window, i want to write something in a WebInput-Field of the other window.
How does it work ?
Hi,
It's because the second window hasn't finish load the content. Here I attached my modified sample. Hope this helps.
Best Regards,
Gordon Tumewu
You can use the cross IFrame to access another component in other IFrame. Here I attached my simple sample.
Hope this helps.
Hi Gordon,
i did the same in my project (see attached file):
1 var webGrid = ISGetObject("WebGrid3");2 var selRow = webGrid.GetSelectedObject().GetRowElement();3 var wd = window.parent.ISGetObject("WebDesktopManager1").Windows.GetNamedItem("SCSProject");4 var bp_id = window.parent.frames[2].ISGetObject("bp_id");5 bp_id.SetValue(selRow.keyValue);6 wd.ShowAndActivate();
in line 4 i got the error message that the object does not support this property or method. The wd.ShowAndActivate() works.
Hi Holger,
Is it possible to attach the HTML structure that you have? I need to check and inspect the page because I am affraid that the structure in your page and my sample is different, that's why I need to check it first.
Attached the code. I wanna write the value in field bp_id.
I have modified my sample by changing the Child2.aspx to your page. Here I attached my simple sample.
the problem was that i set the second window on 'invisible'. But even if i do a wd.ShowAndActivate(); before setting the value, it crashes....
If i didn't hide it it works...
Is there a workaround ?
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname