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
Hi
how do i update the text shown on the screen client side of a Pane Item? It doesnt seem to work with the .Text field.
Eric
Hello,
You couldn’t change the text of Pane Item by using .Text field.However you could change the text by using SetText() function.Here’s the snippet example, how-to use SetText() function:
var WebPaneManager1 = ISGetObject("WebPaneManager1"); WebPaneManager1.RootGroupPane.Panes.GetNamedItem("Pane0").SetText("New Text");
Hope this helps.Thank you.Regards,Hans.
that doesnt work. I get:
Microsoft JScript runtime error: Object doesn't support property or method 'SetText'
FYI i am able to enable and disable the same items, but just not change the text.
I am adding the code below
WEP1.Panes.GetNamedItem(pane).PaneItems.GetNamedItem(item).SetText(theText);
This is a WebExplorerBarItem and its deep in other panes.
I’m sorry for this misunderstanding. To set / modify text in Pane Items. You could use the example snippet code below:
function ChangeBarItemText() { var explorerPane = ISGetObject("WebExplorerPane1"); var panes = explorerPane.Panes; var paneItems = panes[0].PaneItems; paneItems[0].GetElement().childNodes[1].data = " New Text"; }
Or you could see the sample, how-to set text of PaneItems, in our WebDesktop Samples.In WebDesktop Samples, please open “ObjectModel.aspx” (in WebExplorerPane folder)
Hope this one helps. Thank you.Regards,Hans.
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