Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
168 views

I need to create a wpf diagram designer which consist multiple layers design (user can add layers according to their need, can switch among layers and can also show/ hide layers) and each layer can have different diagram but they are part of single design. Now my question is that how we can create multiple layers like we have different layers in Photoshop where layers are used to work on individual parts of an image while not affecting other parts. And the same thing I have to create in wpf diagram designer if it's possible or also looking for any alternative solution.... 

Lancelot
Top achievements
Rank 1
 answered on 17 Apr 2013
3 answers
69 views
Hi,

I seem to have noticed that in the Q1.2013 release the action of visible on the RadGrid has changed. I am discovering that every bound column with the visible="false" attribute, which used to work previously, now returns  

I am having to change all of these columns to Display="false" instead, which fixes the issue where I need to access those columns, but I have over 100 pages which use grids and all of them have until now been using visible="false"

Is this change of behavior deliberate in this release? Is there anything I can do as a work around short of searching for all occurences within grids and changing them from visible to display?

David Penny
Maria Ilieva
Telerik team
 answered on 17 Apr 2013
10 answers
449 views
Hi all,

I have a scenario with the radButton radio buttons. When I press one, the postback is done (=ok) but after the postback the buttons are all unchecked.

<telerik:RadButton ID="rbt_Toggle_OrgPers_Orga" Value="1" ToggleType="Radio" ButtonType="StandardButton" GroupName="Toggle_OrgPers" ToolTip="Organisation" Width="56px" Height="56px" Icon-PrimaryIconUrl="~/Style/img/office_building_48.png" UseSubmitBehavior="false" AutoPostBack="true" Icon-PrimaryIconWidth="44" Icon-PrimaryIconHeight="48" Icon-PrimaryIconTop="3" runat="server" />
<telerik:RadButton ID="rbt_Toggle_OrgPers_Male" Value="2" ToggleType="Radio" ButtonType="StandardButton" GroupName="Toggle_OrgPers" ToolTip="Male" Width="56px" Height="56px" Icon-PrimaryIconUrl="~/Style/img/male_48.png" UseSubmitBehavior="false" AutoPostBack="true" Icon-PrimaryIconWidth="44" Icon-PrimaryIconHeight="48" Icon-PrimaryIconTop="3" runat="server" />
<telerik:RadButton ID="rbt_Toggle_OrgPers_FMle" Value="3" ToggleType="Radio" ButtonType="StandardButton" GroupName="Toggle_OrgPers" ToolTip="Female" Width="56px" Height="56px" Icon-PrimaryIconUrl="~/Style/img/Female_48.png" UseSubmitBehavior="false" AutoPostBack="true" Icon-PrimaryIconWidth="44" Icon-PrimaryIconHeight="48" Icon-PrimaryIconTop="3" runat="server" />

This scenario is within a usercontrol that is within a ajax updatepanel.

Why is the button not selected (checked) on postback?

Erik
Danail Vasilev
Telerik team
 answered on 17 Apr 2013
1 answer
77 views
Hello,

I am rather new to this, so if this is not the right place for this question, please let me know where and how I should proceed.
I have a problem since the last upgrade (v2013.1.403.40).
I have the following:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default3.aspx.cs" Inherits="Default3" %>
<%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <script>
        function someCallback(panelId) {
            var panel = $find(panelId);
            if (panel) {
                panel.set_value('');
            }
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <telerik:RadDatePicker ID="RadDatePicker1" runat="server" OnSelectedDateChanged="datechanged"
            AutoPostBack="true" EnableViewState="true" >
        </telerik:RadDatePicker>
        <telerik:RadXmlHttpPanel ID="rxhp" runat="server" Value="" OnServiceRequest="serviceRequest"
            RenderMode="Block" EnableClientScriptEvaluation="true" Width="100%">
            <br />
            <input runat="server" id="test_input" type="text" />
        </telerik:RadXmlHttpPanel>
    </div>
    </form>
</body>
</html>

with this code:

using System;
using Telerik.Web.UI;
using Telerik.Web.UI.Calendar;
 
public partial class Default3 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        this.test_input.Attributes.Add("onclick", string.Format("someCallback('{0}');", this.rxhp.ClientID));
        if (!IsPostBack)
        {
            RadDatePicker1.SelectedDate = DateTime.Now;
        }
    }
    protected void datechanged(object sender, SelectedDateChangedEventArgs e)
    {  
    }
    protected void serviceRequest(object sender, RadXmlHttpPanelEventArgs e)
    {  
    }
}

My problem is that whenever the service request is made (in this case onclick on the input) also the SelectedDateChanged event of the date picker is raised and the selected date is null.
Can you possibly tell me what can cause this or how to fix this?
Vasil
Telerik team
 answered on 17 Apr 2013
2 answers
144 views
I'm not seeing functional support for IE10 drag-and-drop in 2013.1.  Specifically, the following test returns FALSE in IE10:

Telerik.Web.UI.RadAsyncUpload.Modules.FileApi.isAvailable()

Am I doing something wrong, or should I not expect this to work in IE10?
David
Top achievements
Rank 1
 answered on 17 Apr 2013
1 answer
114 views
I have an issue where I have a radcombobox on a web user control inside a radgrid. The radgrid is inside a radmultipage. I am using a radajaxpanel as well. I noticed that the selectedindexchanged event of the combobox is not triggering. Furthermore, once I move the radgrid outside of the multipage, it is working fine. Is this a bug? I do need to use a multipage so is there a way for me to get this to work? See code snippets below.

Thanks!

ASPX:


    <telerik:RadAjaxPanel ID="rpnlTest" runat="server" Width="100%">
        <telerik:RadTabStrip ID="rtabRegistration" runat="server" Skin="Windows7" MultiPageID="rmpTest">
            <Tabs>
                <telerik:RadTab Text="Step 1" PageViewID="rpvStep1" Value="Step1">
                </telerik:RadTab>
                <telerik:RadTab Text="Step 2" PageViewID="rpvStep2" Value="Step2">
                </telerik:RadTab>
            </Tabs>
        </telerik:RadTabStrip>
        <telerik:RadMultiPage ID="rmpTest" runat="server">
            <telerik:RadPageView ID="rpvStep1" runat="server" TabIndex="0" Selected="true" >
<asp:Panel ID="pnlTest" runat="server" Visible="false">
<telerik:RadGrid ID="rgrdTest" runat="server" AutoGenerateColumns="false">
                                <MasterTableView AutoGenerateColumns="false" CommandItemDisplay="Top">
                                    <Columns>
....
                                    </Columns>
    <EditFormSettings EditFormType="WebUserControl" UserControlName="test.ascx">
                                        <EditColumn UniqueName="EditCommandColumn1">
                                        </EditColumn>
                                        <PopUpSettings Modal="true" Width="800px" />
                                    </EditFormSettings>
                </asp:Panel>
            </telerik:RadPageView>

ASCX source:


            <telerik:RadComboBox ID="rcbTypeBusActivity" runat="server" AutoPostBack="True" MarkFirstMatch="true" 
                OnSelectedIndexChanged="rcbTypeBusActivity_SelectedIndexChanged" >
                <Items>
                    <telerik:RadComboBoxItem Text="Individual" Value="Individual" />
                    <telerik:RadComboBoxItem Text="Business Entity" Value="Business Entity" />
                    <telerik:RadComboBoxItem Text="Industry" Value="Industry" />
                    <telerik:RadComboBoxItem Text="Other" Value="Other" />
                </Items>
            </telerik:RadComboBox>

ASCX code:

    protected void rcbTypeBusActivity_SelectedIndexChanged1(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
    {
        pnlIndividual.Visible = false;
        pnlIndustry.Visible = false;
        pnlOther.Visible = false;
        if (e.Value == "Individual" || e.Value == "Business Entity")
            pnlIndividual.Visible = true;
        else if (e.Value == "Industry")
            pnlIndustry.Visible = true;
        else
            pnlOther.Visible = true;
    }
Maria Ilieva
Telerik team
 answered on 17 Apr 2013
1 answer
181 views
Hi.
I have the problem that the RadCombobox with Autocomplete has some strange behaviours. The dropdown is shown correctly when it is displayed below the input field but if there is not enough space and it jumps above the input field, I have the following problem which is shown in the attached picture. I know that the picture looks a bit strange but you can see that after some value was entered the dropdown is pinned to the top (which is not the right place!).
Is that a bug or did I something wrong in my code?
Thanks for your help.

All the best,
Jochen

Jochen
Top achievements
Rank 1
 answered on 17 Apr 2013
7 answers
156 views
Hi,

I have a paged RadGrid databound to a view. I catched the event ItemDataBound, and I translate fields in this method.

My filter works well, but with the non-translated label. How can I do to use the translation in my filter? I want to filter after databinding. Do I need to filter client side or can I do it server-side ?

Thanks in advance
Marin
Telerik team
 answered on 17 Apr 2013
25 answers
735 views
All comboboxes in my project result in above JScript exception with VS2010 final and RadControls_for_ASP.NET_AJAX_2010_1_415_dev.msi installed. The exception happens when I select a value and the combobox makes a ajax postback to the server for updating other fields at the same form.

Got any clues about what is happening ?

VS2010 points to this JScript function as beeing the bad guy:
_removeDropDown:function(){
var _3c=this.get_dropDownElement().parentNode;
_3c.parentNode.removeChild(_3c);
if(this._disposeChildElements&&typeof (Sys.WebForms)!="undefined"){
Sys.WebForms.PageRequestManager.getInstance()._destroyTree(_3c);
}

I have upgraded this project from VS2005 and RadControls_for_ASP.NET_AJAX_2009_2_826_dev.msi



Radoslav
Telerik team
 answered on 17 Apr 2013
2 answers
227 views
I'm working with a RadGrid that is databound on the Client Side through a Web Method.  I'm trying to get the Enter Key to fire the Filter command but without a postback. I have managed to hook the onkeypress event for the rgFilterBox class inputs. Is there a way that I can then trigger a Filter Command so that the OnCommand even is fired with the FilterExpression argument?

Thanks

Steve
Jayesh Goyani
Top achievements
Rank 2
 answered on 17 Apr 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?