Join
Log In
> -->>
Log Out
Support
Help
Conduit
Mobile
Wibiya
How It Works
Benefits
Features
Showcase
Contact Us
Conduit API
Introduction
HTML App
Using Advanced APIs
Introduction
+ Methods
EBOpenPopHtml
Introduction
+ Methods
AddAlert
AddApplicationMenuItem
AddCommandMenuItem
AddGadget
AddGadgetMenuItem
AddLinkButton
AddLinkMenuItem
AddRadioStation
AddRSS
GetAllToolbarsInfo
GetInfo
GetSupportedUserAddMenu
IsSupportedFunction
IsVisible
Refresh
Developing the game
+ Methods
ChangeHeight
ChangeSize
CloseFloatingWindow
GetCurrentHeight
Gadget
Introduction
HTML Apps Height
XML Specifications
Code Usage
Create HTML component
Error Code Table
Glossary
Code Example
+ Methods
CrossDomainHttpRequest
GetInfo
SendNotification
RegisterForMessaging
SendMessage
JSInjection
ChangeWidth
DeleteGlobalKey
DeleteKey
GetCurrentWidth
GetMainFrameTitle
GetMainFrameUrl
GetSearchTerm
GetVersion
OpenGadget
RefreshComponentById
RefreshToolbar
RetrieveGlobalKey
RetrieveKey
SelfNavigate
StoreGlobalKey
StoreKey
Code Usage
+ Events
EBKeyChanged
EBTabRestored
EBDocumentComplete
EBGlobalKeyChanged
EBNavigateComplete
EBSearchTermChanged
Code Usage
Flash plugin behavior
Embeding Flash
+ ASP.Net
+ ExternalMenu
+ Constructors
ExternalMenuCtor
+ EM_Button
EM_Button
+ Properties
ButtonTooltip
DefaultButtonText
DefaultIconUrl
+ EM_Menu
+ Constructors
EM_MenuCtor
EM_Menu
+ EM_MenuItem
+ Constructors
EM_MenuItemCtor
+ EM_Data
EM_Data
+ EM_Link
+ Constructors
EM_LinkCtor
EM_Link
+ Enums
LinkType
+ Properties
Target
Url
+ EM_PopHtml
+ Constructors
EM_PopHtmlCtor
EM_PopHtml
+ Properties
Height
Url
Width
+ Enums
DataType
+ Properties
Link
PopHtml
Type
EM_MenuItem
+ Properties
Caption
Data
IconUrl
+ EM_Separator
+ Constructors
EM_SeparatorCtor
EM_Separator
+ Properties
Caption
Hint
IconUrl
MenuItems
+ Enums
MenuType
ExternalMenu
+ Methods
GetXml
+ Properties
Button
ExternalInterval
Menu
Type
Live Demo Usage
Targets
Detecting Flash version
Conduit API
Code Usage
Security Settings
Show Hide mechanism
Where to go from here
Facebook
Toolbar
Case Study
Introduction
Introduction
Online users
Add user Login
Add Quick Search
Add user Messages
HTML Apps -> RefreshComponentById
- Description
Instantly refreshes a specific toolbar component by componentId.
- Syntax
RefreshComponentById(componentId)
- Parameters
Parameter
Description
Range
Type
componentId
The unique component id that is meant to be refreshed.
not null or empty string
String
- Return Value
Description
Type
True – in case the component was found, otherwise false
Boolean
- Remarks
This function can be used both with the HTML component and with the gadget window.
*Notice: API methods must be invoked after the web page has triggered the "onload" event.
- Code Example
- Isolating the unique component id
To use this function, you’ll first need to isolate the componentId of the component you wish to refresh. To isolate the componentId:
Go to
https://accounts.conduit.com/login/
.
Login to your toolbar, and click the "My Toolbar" tab.
Move your mouse over the desired component, and from the drop down menu, click "Edit".
Copy the value of the ”compid” parameter from the resulting URL that appears in the address bar.
For example , in the following URL:
http://accounts.conduit.com/Components/LinkButton/?compid=128987022666281850
The compid is 128987022666281850.
Important note
: Do not call this function from the component you wish to refresh.
- Code Usage
See code usage for HTML component
See code usage for gadget