We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Reload tabitem content

Thread ID:

Created:

Updated:

Platform:

Replies:

121220 Nov 19,2015 06:43 AM Nov 24,2015 06:31 AM ASP.NET Web Forms 3
loading
Tags: Tab
Jorge Pampin
Asked On November 19, 2015 06:43 AM

Hello,

How to reload the tabitem content by javascript? The content is loaded from an url.

Thanks!

Arun Palaniyandi [Syncfusion]
Replied On November 20, 2015 05:36 AM

Hi Jorge,

Thanks for contacting Syncfusion support,

Query:” How to reload the tabitem content by javascript? The content is loaded from an url.”

The content is loaded from the url by using the Url property that is set in the ej:tabitem tag. Thus, the tab content loaded from a url can be reloaded by using theShowReloadIcon property. When this property is set as true, then a refresh icon will appear in the tabitems and by clicking on it the contents will be refreshed.

Please find the attached sample,


http://www.syncfusion.com/downloads/support/forum/121220/ze/TabSamplenew-417130232


Regards,

Arun P.


Jorge Pampin
Replied On November 23, 2015 03:02 AM

Hello,

That is OK. But, I need refresh all or some tabs programmatically by javascript with a code like this: tabobject.items[12].refreshContent();

Thanks!

Arun Palaniyandi [Syncfusion]
Replied On November 24, 2015 06:31 AM

Hi Jorge,

Thanks for the update.


As mentioned earlier, content has been loaded from the given url by using Url property in the tab control. The tab content loaded from a url can be reloaded programmatically by using the javascript Ajax function and Tab ClientsideOnActive event. First, we got the Active index value through OnActive event, and then by button click event, the url value has been updated to the Tab contents, and thus the value of the particular tabitem is reloaded.


Please find the attached sample,

http://www.syncfusion.com/downloads/support/forum/121220/ze/TabSample1-448471572



Please let us know if you have further queries.


Regards,

Arun P


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;