Adding a new tab using client side API in Telerik MVC TabStrip control - telerik-mvc

Does anyone know how to add a tab in Telerik's MVC TabStrip using Client Side API ? There is nothing in documentation and no code in tabstrip javascript too. I am hoping some one might have done this before.
Thanks in advance !!

After googling a lot , i got this post. It solved my problem of adding new tab using client API. you will have to download telerik.extensions.js and register it in _layout.cshtml and then just call addTab on your tabstrip instance like this:
$("#customerTabs").data("tTabStrip").addTab({ text: 'customer #' + custId, html: "<div>some customer</div>"});

Related

WPF Webbrowser cannot display Angular

I am trying to embed an Angular web app in WPF.
I have followed the steps here to create a very basic angular application.
Then I created a brand new WPF application, added a WebBrowser control and set its Source property equal to the URL of the angular application.
I found the following post but it did not help.
I get the following error when the WPF application starts.
"Unable to get property 'apply' of undefined or null reference"
in the vendor.bundle.js
The default WebBrowser object that .Net applications are using it is IE7 I guess..
I've found a good answer here for making WebBrowser to use IE10 or IE11 (Edge).
Another solution is to use third-party WebBrowsers, this is an old article but I think it might help.
After trial and error the meta tag fixed it. Originally I was putting outside the head tag. Adding it to head tag fixed it.

notification bar in angular js

hey I am creating a web application for an e learning project.
For that I am doing a notification bar which must give the looks and feel of Facebook's notification bar. We are using angular material design for designing the site. does anyone have a working examples or code for this?
Please take a look at this one: https://github.com/cgross/angular-notify

Weird Content of Facebook share/like button preview from angular app

I have an issue with share/like button from Angular app. I finally made it working correctly with links but share/like preview if completely wrong. I tried XFBML.parse(), switching to html 5 mode, etc.
There are two complete enigmas:
1. I got "Given URL is not allowed by the Application configuration..." despite adding all possible variants to fb app setting.
When share preview appear - it has "Angular", but I never added it anywhere.
Here is the link
Would be grateful for any ideas...
Thx
The Facebook Scraper only looks at the HTML code your server delivers, it does not execute any JavaScript.
So if you want to share different articles, you need an individual URL for each article, that delivers the relevant meta data when requested from the server.
You can find some more explanation and hints on how to implement this in this article, http://www.michaelbromley.co.uk/blog/171/enable-rich-social-sharing-in-your-angularjs-app

Integrating kibana dashboards into an angularjs app

I have my ElasticSearch setup with kibana showing different panels. I have another angularjs app. I would like to receive input in a field, use angularjs and show kibana panels in my angularjs app itself.
Are there any tutorials/guides to achieve this?
I have googled quite a bit about this, but am unable to find any help.
You could also rephrase my question as "How do I embed a kibana dashboard in my AngularJS Single page website?"
In kibana4, the easiest way to embed a dashboard is using an iframe. Click the "Share" button in the top-right corner to get the appropriate iframe tag. Then edit it as needed to make it embed seamlessly. Check out the seamless attribute.
When I google it your question, I have found some git article
May be it will help you to
You can use iframe read this
https://github.com/elastic/kibana/issues/729

Ext.Net tabs and message bus

I am creating an Ext.Net project and I have used the group tab panel in the link
: http://examples.ext.net/#/TabPanel/GroupTabPanel/Overview/
The first thing is I want to add a new tab on each click of the sub menus ..
Also I want to be able to use the messages broadcasted from previous tabs using the message bus in these created tabs.
I am very lost here... Any help is appreciated.
The MessageBus samples in the Ext.NET Examples Explorer might help get you started, see
http://examples.ext.net/#/search/MessageBus
Other than that, your post is a little thin on details, so I'm not sure what else to recommend.

Resources