Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
182 views
Hi,

I'm trying to get multiple maps showing on the same page and looking to handle it in twitter bootstrap tabs.  The issue I'm facing is that the map is cut off when navigating to a second tab, I have tried calling the resize function without any success.  My markup is like this

<div class="centered-pills">
    <ul class="nav nav-pills" id="myTab">
        <li class="active">
            <a href="#response" data-toggle="pill" >Response</a>
        </li>
        <li><a href="#eng" data-toggle="pill">Eng</a></li>
        <li><a href="#bias" data-toggle="pill">Bias</a></li>
        <li><a href="#sus" data-toggle="pill">Sus</a></li>
    </ul>
</div>
     
<div class="tab-content">
    <div class="tab-pane active" id="response">
        <telerik:RadMap runat="server" ID="RadMap1" Zoom="2" Height="600px" MinZoom="2" MaxZoom="2" Pannable="false" CssClass="Map" >
            <ClientEvents OnShapeCreated="shapeCreated" OnShapeMouseEnter="shapeMouseEnter" OnShapeMouseLeave="shapeMouseLeave" />
                <LayersCollection>
                    <telerik:MapLayer ClientDataSourceID="RadClientDataSource1" Type="Shape" Opacity="1" TitleField="name" ValueField="response" Key="response" />
                </LayersCollection>
            <CenterSettings Longitude="32" Latitude="7" />
        </telerik:RadMap>
    </div>
 
    <div class="tab-pane" id="eng">
        <telerik:RadMap runat="server" ID="RadMap2" Zoom="2" Height="600px" MinZoom="2" MaxZoom="2" Pannable="false" CssClass="Map" >
            <ClientEvents OnShapeCreated="shapeCreated" OnShapeMouseEnter="shapeMouseEnter" OnShapeMouseLeave="shapeMouseLeave" />
                <LayersCollection>
                    <telerik:MapLayer ClientDataSourceID="RadClientDataSource1" Type="Shape" Opacity="1" TitleField="name" ValueField="eng" Key="eng" />
                </LayersCollection>
            <CenterSettings Longitude="32" Latitude="7" />
        </telerik:RadMap>
    </div>
 
    <div class="tab-pane" id="bias">
        <telerik:RadMap runat="server" ID="RadMap3" Zoom="2" Height="600px" MinZoom="2" MaxZoom="2" Pannable="false" CssClass="Map" >
            <ClientEvents OnShapeCreated="shapeCreated" OnShapeMouseEnter="shapeMouseEnter" OnShapeMouseLeave="shapeMouseLeave" />
                <LayersCollection>
                    <telerik:MapLayer ClientDataSourceID="RadClientDataSource1" Type="Shape" Opacity="1" TitleField="name" ValueField="sus" Key="sus" />
                </LayersCollection>
            <CenterSettings Longitude="32" Latitude="7" />
        </telerik:RadMap>
    </div>
 
    <div class="tab-pane" id="sus">
        <telerik:RadMap runat="server" ID="RadMap4" Zoom="2" Height="600px" MinZoom="2" MaxZoom="2" Pannable="false" CssClass="Map" >
            <ClientEvents OnShapeCreated="shapeCreated" OnShapeMouseEnter="shapeMouseEnter" OnShapeMouseLeave="shapeMouseLeave" />
                <LayersCollection>
                    <telerik:MapLayer ClientDataSourceID="RadClientDataSource1" Type="Shape" Opacity="1" TitleField="name" ValueField="bias" Key="bias" />
                </LayersCollection>
            <CenterSettings Longitude="32" Latitude="7" />
        </telerik:RadMap>
    </div>
</div>



$('#myTab a').click(function (e) {
    e.preventDefault();
    $(this).tab('show');
})

any help would be appreciated
Ianko
Telerik team
 answered on 19 Feb 2015
1 answer
53 views
Hi,

I am using Telerik RadHtmlChart  control in my page to display reports. In our phone app we are using Telerik RadChart and also TrackBall feature is enabled. I want to create the same thing in my web page also. How can I implement track ball in my page having RadHtmlChart (AreaSeries). Is trackball feature is available in RadHtmlChart control?  Any one please help. Thanks in advance.
Danail Vasilev
Telerik team
 answered on 19 Feb 2015
1 answer
294 views
Is there a RAD NumericUpdown control for ASP.net? Can one be created? Please advise. Thanks.
Marin
Telerik team
 answered on 19 Feb 2015
12 answers
399 views

Hi,

I have a pivot grid where some of the fields holds "long" texts. Sometimes the “rows” in the grids are not aligned correctly with the “column rows” – especially when the text wraps. I tried my example in a completely empty project on a page having only the pivot grid but the problem does not go away (no CSS or other layout applied).

(IE9)

Vasil
Telerik team
 answered on 19 Feb 2015
1 answer
118 views
Greetings,

I am trying our the RadMediaPlayer and love the idea of having the poster before the video begins. However in order to use this I also need to poster to show after the video completes. Does anyone know how I can accomplish this? Truly I can't be the only one who has ever thought of this?! 

I personally think it should be a configurable option that supports a different poster option. Maybe even with URL support similar to the banners.
Eyup
Telerik team
 answered on 19 Feb 2015
4 answers
174 views
Getting below error while binding Combo Box on demand in RadGrid with BatchEdit Mode. Please help

 The target &#39;ctl11$RadGridSearchResult$ctl11_RadGridSearchResult_ctl00_Actplc$Actplc&#39; for the callback could not be found or did not implement ICallbackEventHandler. 

public class CreateRadComboTemplate : ITemplate
    {
        private string tempName;
        private int catId;
        public CreateRadComboTemplate(string templateName, int catId)
        {
            this.tempName = templateName;
            this.catId = catId;
        }

        public void InstantiateIn(System.Web.UI.Control container)
        {
            RadComboBox rcBox = new RadComboBox();
            rcBox.ID = this.tempName;
            rcBox.ItemsRequested += rcBox_ItemsRequested;
            rcBox.EnableAutomaticLoadOnDemand = true;
            container.Controls.Add(rcBox);
        }

        void rcBox_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
        {
            //throw new NotImplementedException();
        }
    }
Jaya
Top achievements
Rank 1
 answered on 19 Feb 2015
3 answers
169 views
Hello,

I want to know if is possible to set the Location-CheckAll text in the code behind ?

For exemple :

Page.ascx :
...
<telerik:RadListBox ID="lstBoxFluide" CheckBoxes="true" ShowCheckAll="true" Width="220px"
                                        AutoPostBack="true" Height="100px" runat="server" OnItemCheck="LstBox_ItemCheck" OnCheckAllCheck="LstBox_CheckAllCheck"
                                        OnClientSelectedIndexChanging="OnClientSelectedIndexChanging">
</telerik:RadListBox>
...


Page.cs
...
lstBoxFluide.setLocalization-CheckAll = "Tous les fluides";
..


Thank
Ivan Danchev
Telerik team
 answered on 19 Feb 2015
8 answers
499 views
Hi dear friends!

Do you have a sample of asp.net webforms page populating a radgrid with entity framework objects in code behind. Example:

    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object senderEventArgs e)
        {
            ClientsContext db = new ClientsContext();
            var query = from b in db.Clients orderby b.LastName select new { Client = b.ClientIdFirst = b.FirstNameLast = b.LastNameCounty = b.CountyName, City = b.City };
            GridView1.DataSource = query.ToList().Take(100);
        }
    }
}

Your support will be greatly appreciated.

G
Kostadin
Telerik team
 answered on 19 Feb 2015
2 answers
123 views
Hello,

I would like to know if you have any idea about the following issue :

After an insert , i have some CRUD method to insert or deleting an appointement . In our system , the ID stored is a long and Outlook generate a string (guid?)

The thing is if i want to synchronize both systems , i need to match on the ID but in this case , they are different .

It seems that my insert method is executed first (Debug), and then the Exchange provider insert the new appointment (successfully) .

Is there a way to get the newly guid ID created by the ExchangeProvider ? In that case , it will be easier to create an ExternalID on our database .

Thanks a lot for your help,

Issou     
Ismael
Top achievements
Rank 1
 answered on 18 Feb 2015
2 answers
166 views
Hi Team,
I need your help to populate the data on RadSlidingPage once any row or data insertion happaned from the Child Page.

Idea - 
RadSlidingPage has TreeView. Under the treeview, there is Combobox. This combobox will be listing all drivers.
I have attached an image for the reference.

I am using Telerik Version 2014 Q1. I kept RadSlidingPage in masterpage. I have a child page where I am doing DB interaction through Insertion, Edit or Deletion operation. If we do any insertion of driver details. RadSlidingPage has to get refresh or reload. Jus moment before added driver should be listed in RadslidingPage's combobox. I trying to do with javascript but unable to get it.

Please help to achieve this. Thanks in advance. 
Vessy
Telerik team
 answered on 18 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?