Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
224 views

I cannot get this to work with masterpage and radajaxmanagerproxy:

https://demos.telerik.com/aspnet-ajax/tooltip/examples/targetcontrolsandajax/defaultvb.aspx?product=tooltip

the tooltips are dissappearing immediately after the usercontrol is loaded into the tooltip, so I guess AJAX is not running properly.

.

Any suggestions?

 

Thanks,

Marc

Fit2Page
Top achievements
Rank 2
Bronze
Iron
Iron
 answered on 20 Jun 2016
1 answer
219 views
Hello, in my OnSelectedIndexChanged function I want to get some custom attributes from the item selected. ((RadComboBox)sender).SelectedItem is null and the event argument seems to only have the text and value properties available. Is there any way to do this?
Ivan Danchev
Telerik team
 answered on 20 Jun 2016
6 answers
239 views

Pretty simple issue here: when my RadMap is rendered, the markers don't appear.

If I hover over the point where they should be, I see the pop-up, but I cannot get the physical pinTarget or pin markers to show on the map. I've tried implementing various ways according to the demos and nothing is working. I'm looking to implement via Server-Side Data Binding; I've literally copied the code exactly from the demo and pasted into my solution and it will not work. I am currently running Telerik version 2016.1.113.40

Any help would be greatly appreciated.

 

Thanks!

Ianko
Telerik team
 answered on 20 Jun 2016
1 answer
120 views

Hi,

 

I am New to this forum and use of Telrik product also.

We have a application developed around 5 years back and i see Telerik controls are used in the box. to migrate the running application from the existing server to new server do we need to install Telerik software on the new server as well?, we are not changing/enhancing anything in the existing application.

I would appreciate your help.

 

Thanks,

PC Rao

 

Marin Bratanov
Telerik team
 answered on 20 Jun 2016
3 answers
122 views
Hi Telerik team,

I have a Treeview, and the user can drag & drop items from other controls onto it, and then I create a user control dynamically and add it to the node. Also, the user can move these nodes up and down with drag & drop, and everything works fine so far. One type of user control that is created in this process, contains another treeview. Drag & drop from other controls to this 'child' treeview also works fine, but now this node cannot be be moved up and down, as the drag no longer works for this node.

In summary, when node 'A' in treeview 'tvA' contains in its nodeTemplate, a user control which has another treeview, 'tvB', the drag does not work for node 'A'. Everything is created from code behind. I haven't tested to see if it works when done from markup, but that wouldn't work for me anyway.

Thanks for your help,
Regards,
Safa
Peter Milchev
Telerik team
 answered on 17 Jun 2016
1 answer
253 views
I am using RadDiagram. It looks like the control doesn't offer the ability of changing font sizes for the texts in shapes. Is there any workaround to change font sizes?
 
Vessy
Telerik team
 answered on 17 Jun 2016
9 answers
324 views

I'm trying to use RadListView with client side binding, everything works well, including the filters, bu they are always concatenated as ANDs and I need some of them to be ORs, so I'm trying to use the builder() featured in this article:
http://www.telerik.com/blogs/client-side-databinding-with-radlistview-for-asp-net-ajax---part-3#filtering

Here's an example of the JSON source this is filtering:
[{"OpportunityId":1,"OpportunityTitle":"\r\nMainframe Programmer for Giftware, Jewellery & Tableware","OpportunityType":"Realocation","ClientImageUrl":"/Client/Images/intel.jpg","ClientName":"Intel","PublishDate":"2016-04-27T00:00:00","PublishDaysSince2000":5961,"ExpiryDaysSince2000":6046,"CountryName":"Portugal","CityName":"Braga","SkillsList":[11,12,13],"Skills":"-11-12-13-","Salary":15000,"ContractTypeId":6,"ScheduleTypeId":2,"CityId":9,"ClientId":7,"ExperienceLevelId":null,"AcademicLevelId":3,"Reference":"AI5MU5PK3CWD","RequestDateDays":5961,"OpportunityStateId":4,"ManagerId":123,"RecruiterId":123,"CategoryId":20},{"OpportunityId":2,"OpportunityTitle":"Microprocessor Researcher","OpportunityType":"Project","ClientImageUrl":"/Client/Images/intel.jpg","ClientName":"Intel","PublishDate":"2016-04-27T00:00:00","PublishDaysSince2000":5961,"ExpiryDaysSince2000":6046,"CountryName":"Portugal","CityName":"Algarve","SkillsList":[11],"Skills":"-11-","Salary":15000,"ContractTypeId":4,"ScheduleTypeId":2,"CityId":10,"ClientId":7,"ExperienceLevelId":null,"AcademicLevelId":3,"Reference":"6PPH62GCRGWP","RequestDateDays":5961,"OpportunityStateId":3,"ManagerId":123,"RecruiterId":123,"CategoryId":21}

...

if I use the add: filterExpressions.add("OpportunityId", Telerik.Web.UI.RadListViewFilterFunction.Contains, 2); the filtering works as expected with ANDs, but no matter what expression i put using the builder, no records ever show.

i.e. if I use this filter: filterExpressions.add("OpportunityId", Telerik.Web.UI.RadListViewFilterFunction.GreaterThanOrEqualTo, 2);

all items with id > 2 show up, but if I use this filter: filterExpressions.build().greaterThan("OpportunityId", 2);

nothing shows up, and the same items should be showing up because its the same expression

attached is a print of what chrome shows as the tree for the filterExpressions object, when using a composite builder expression with one OR

Maria Ilieva
Telerik team
 answered on 17 Jun 2016
12 answers
236 views
Hi,

I've gotten a simple radmenu to work fine on my development computer, but when it is uploaded to the production machine, the RadMenu will not respond to postback.  The radmenu is embedded in a master page that will then control what web pages the user goes to based on the selection from the menu.  Right now the 'Login' and 'Default' pages don't have anything but a marker to see if they load...

I'm just trying to get the basic framework working before fleshing out the menus and pages...

Since it works in VS2010 on my dev machine, I can't see why I would be having trouble on the production computer... (2008R2/ IIS7)

See below for code sample.

Thanks so much for looking at it... I'm stumped.

Master.Master
<%@ Master Language="VB" CodeFile="Master.master.vb" Inherits="Master" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
    <head runat="server">
        <title> Pc. </title>
        <link href="~/Styles/Pc/Site.css" rel="stylesheet" type="text/css"/>
        <asp:ContentPlaceHolder id="head" runat="server">
        </asp:ContentPlaceHolder>
    </head>
    <body>
        <script type="text/javascript"> var flag = false;</script>
        <script type="text/javascript">
            var AjaxIsActive = false;
 
            function RequestSent() {
                if (!AjaxIsActive) {
                    AjaxIsActive = true;
                }
                else {
                    alert('Wait for Page to Load');
                    return false;
                }
            }
 
            function ResponseEnd() {
                AjaxIsActive = false;
            }
        </script>
 
        <form id="form1" runat="server">
            <center>
                <div id="Header">
                    <telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
                    </telerik:RadScriptManager>
                    <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Office2010Blue" EnableRoundedCorners="true"/>
                    <table id="header">
                        <tr>
                            <td align="left" style="width:300px">
                                <img src="./Images/Pc/Logo.png" alt=""/>
                            </td>
                            <td valign="bottom" align="right">
                                <table>
                                    <tr>
                                        <td>
                                            <telerik:RadMenu ID="Menu1" Runat="server" EnableRoundedCorners="true">
                                            </telerik:RadMenu>
                                        </td>
                                    </tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </div>
                <div>
                    <asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
 
                    </asp:ContentPlaceHolder>
                </div>
                <asp:Label ID="Label1" runat="server" Text=""></asp:Label>
            </center>
        </form>
        <script type="text/javascript"> flag = true;</script>
    </body>
</html>


Master.Master.VB
Imports System
Imports System.Web.UI.WebControls
 
Imports Telerik.Web.UI
 
Partial Class Master
    Inherits System.Web.UI.MasterPage
 
    Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
  
        If Not IsPostBack Then
            Menu1.LoadContentFile("~/App_Data/InMenu.xml")
        End If
 
        If HttpContext.Current.User.Identity.IsAuthenticated = True Then
            Try
                Menu1.FindItemByText("Login").Text = "Logout"
            Catch
            End Try
            'MenuToggle("Gap", True, True)
        End If
        ' Label1.Text += "1"
    End Sub
 
    Private Sub MenuToggle(ByVal theButton As String, ByVal theStatus As Boolean, ByVal theVisibility As Boolean)
        Menu1.FindItemByText(theButton).Enabled = theStatus
        Menu1.FindItemByText(theButton).Visible = theVisibility
    End Sub
 
    Protected Sub Menu1_ItemClick(sender As Object, e As Telerik.Web.UI.RadMenuEventArgs) Handles Menu1.ItemClick
        Label1.Text += "2"
        Select Case e.Item.Text
            Case "Login" : Response.Redirect("~/Login.aspx")
            Case "Logout" : FormsAuthentication.SignOut()
                Response.Redirect("~/Default.aspx")
        End Select
        Label1.Text += "3"
    End Sub
End Class

Nencho
Telerik team
 answered on 17 Jun 2016
3 answers
187 views

In the following masterpage setup AJAX is working correctly but the LoadingPanel is not showing:

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" Skin="Default" runat="server" />

<telerik:RadAjaxManager EnableAJAX="true" ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RecordOverview">
            <UpdatedControls>
           <telerik:AjaxUpdatedControl ControlID="RecordOverview" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

<asp:contentplaceholder id="RecordOverview" runat="server"></asp:contentplaceholder>

 

Any clue?

 

Marc

Maria Ilieva
Telerik team
 answered on 17 Jun 2016
3 answers
66 views

In a page, we have 9 tabs and we are using radtabstrip and rad multipage to implement this functionality. Now Users are asking split tabs into 3 section and display the pages associated to that below the tab selection as shown in attached images.

Is itpossible to achieve this with single Radtabstrip and rad multipage? if yes can you share a sample code?

Since this is an existing functionality it will be too much work to split into multiple tabs. Also, for some users we need to hide some tab, so it should automatically shift to above tabstrip.

 

 

Ivan Danchev
Telerik team
 answered on 17 Jun 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?