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

How to change Some columns in RadGant to ReadOnly ="true"

Colums  Default

and Colums GanttCustomField

 

bassam
Top achievements
Rank 1
Veteran
 answered on 16 Jun 2020
3 answers
522 views

Is there a way to determine the parent radwindow of a rad button contained in a contenttemplate in client-side javascript?

e.g. if I have two radwindows, each with a radbutton, and each radbutton calls a common OnClientClicking event, is there a way to determine the parent window from the button object in the common code?

 

<telerik:radWindow runat="server" ID="radwindow1">
 <contenttemplate>
  <telerik:radbutton id="radbutton1" runat="server" onclientclicking="CommonFunction" />
 </contenttemplate>
</telerik:radwindow>
<telerik:radWindow runat="server" ID="radwindow2">
 <contenttemplate>
  <telerik:radbutton id="radbutton2" runat="server" onclientclicking="CommonFunction" />
 </contenttemplate>
</telerik:radwindow>
 
<script>
function CommonFunction(button, eventArgs) {
 var radWindow = ...how to determine which radwindow from the button element? ...
}
</script>
Vessy
Telerik team
 answered on 16 Jun 2020
14 answers
1.4K+ views
Hi,

I suppose to create a grid template column in code behind with dropdown in edit item template and label in item template as usual. I'm new telerik.. Plz help me...
Rumen
Telerik team
 answered on 16 Jun 2020
5 answers
693 views

Hi,

 

I can't get the buttons to work with toggletype Radio when I generate them in a repeater list.

Buttons are the same as from your demo,

Please see for example here: http://eschpla.ontwikkelruimte.nl/nl/schoenen/ballerinas/blauw/lolo-capri-ballerina-donkerblauw-suede-3341

Upper list is from repeater, second from your demo.

Any clue why the first set isn't working properly?

 

Thanks,

Marc

Peter Milchev
Telerik team
 answered on 16 Jun 2020
1 answer
181 views

When I take a Radmenu on master page and a Radgrid on .aspx page my Radgrid's headercontext filter opens from the top of the page otherwise it goes inside the Radmenu. How I resolve it?

Following is the Screen Shot of my problem's output:-

Doncho
Telerik team
 answered on 16 Jun 2020
6 answers
316 views
Hi,
I have some problem with the radgrid's header context menu. when i put my cursor over the Column option ,the submenu list displays not very well at some time. When the grid header is near the Brower's top border ,when I right  click on the header of the grid the context menu popup,and then I move my mouse to the Columns option the submenu display.But ,the submenu displays too high ,and some items are hidden in the topframe(page navigation menu), also it can not see the top small triangle which is use to slide .Can you understand my issue? It only happens when the two condition are satisfied:1、 grid header displays near the boundary of the frame or Brower 2、right click the top part of the header (top means the position higher than the header text ).

My wonder is Can I fix the position that the submenu displays ? Ex. make the top of the submenu align at the Columns options ,make their's top inline.

Thank you very much~
Eyup
Telerik team
 answered on 16 Jun 2020
8 answers
1.1K+ views
I'm using the radgrid and have it as a databound columns.  How can i insert a tooltip on a specific column where each row passes its unique id to web service for the text?

I'm having trouble figuring out how to procede and can't find an example similar to this.  Thanks.
Albert Shenker
Top achievements
Rank 1
Veteran
Iron
 answered on 15 Jun 2020
6 answers
293 views
When first loading the demo page (http://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx), strictly using a keyboard with no mouse, we have no issue using the <Tab> key to tab through every element on the web page to get to the Editor.  Once you get to the Editor's toolbars and start tabbing all the way into the content area, you cannot <Tab> to the "Design", "HTML", "Preview" tabs below the content area.  You can <Shift> + <Tab> to go back up, but you cannot <Tab> past the content area.  Is there a special key combination I am not aware of to be able to escape the content area?
Rumen
Telerik team
 answered on 15 Jun 2020
8 answers
115 views

Hello,

I have a weird problem. I want to start using the multicolumncombobox. But when I have multicolumncombobox and kendogrid on one page, calling data("kendoGrid") on the grid DIV will return undefined. If i remove the multicombo, it returns object of the kendogrid. This is a simplified situation, in our project I get errors from kendo JS library, when I need to open a dialog with kendogrid or when I use maskedtextbox. Because both need to reference some object using jQuery data() function. Am I doing something wrong?

This is my test code, button returns kendogrid object, but only with multicombo commented out:

using System;
using System.Configuration;
using System.Web;
using Telerik.Web.UI;
 
public partial class TEST1 : System.Web.UI.Page
{
    protected void Page_Init(object sender, EventArgs e)
    {
        System.Web.UI.Page currentPage = (System.Web.UI.Page)HttpContext.Current.CurrentHandler;
        RadScriptManager RadScriptManager = (RadScriptManager)currentPage.FindControl("RadScriptManagerMain");
        RadScriptManager.Scripts.Add(new System.Web.UI.ScriptReference((String.Format("~/js/jquery.min.js?{0}", ConfigurationManager.AppSettings["Application_Version"]))));
        RadScriptManager.Scripts.Add(new System.Web.UI.ScriptReference((String.Format("~/js/jszip.min.js?{0}", ConfigurationManager.AppSettings["Application_Version"]))));
        RadScriptManager.Scripts.Add(new System.Web.UI.ScriptReference((String.Format("~/js/kendo.all.min.js?{0}", ConfigurationManager.AppSettings["Application_Version"]))));
    }
}
<%@ Page Title="TEST1" Language="C#" AutoEventWireup="true"
    CodeFile="TEST1.aspx.cs" Inherits="TEST1" %>
<!DOCTYPE html>
<html>
    <head runat="server">
        <title>TEST1</title>
    </head>
    <body>
        <telerik:RadScriptManager runat="server" EnableScriptCombine="false" ID="RadScriptManagerMain"
            LoadScriptsBeforeUI="true" OutputCompression="AutoDetect" AsyncPostBackTimeout="36000" ScriptMode="Release">
        </telerik:RadScriptManager>
        <div id="multicombo">
            <telerik:RadMultiColumnComboBox ID="RadMultiColumnComboBox1" runat="server"
                GroupByField="Country" Filter="Contains"
                DropDownWidth="500" Height="400" Width="100%" Placeholder="select from the dropdown or type"
                DataTextField="ContactName" DataValueField="CustomerID" MinLength="3" EnforceMinLength="false">
                <WebServiceSettings Select-ContentType="JSON" ServiceType="OData"
                    Select-Url="https://demos.telerik.com/kendo-ui/service/Northwind.svc/Customers">
                </WebServiceSettings>
                <ColumnsCollection>
                    <telerik:MultiColumnComboBoxColumn Field="CustomerID" Title="ID" />
                    <telerik:MultiColumnComboBoxColumn Field="ContactName" Title="Name" />
                </ColumnsCollection>
            </telerik:RadMultiColumnComboBox>
        </div>
        <br />
        <div id="kendogrid"></div>
        <br />
        <button onclick="getdata()">Call data("kendoGrid) on grid</button>
        <script>
            $(document).ready(function () {
                $("#kendogrid").kendoGrid({
                    columns: [{
                        field: "FirstName",
                        title: "First Name"
                    },
                    {
                        field: "LastName",
                        title: "Last Name"
                    }],
                    dataSource: {
                        data: [{
                            FirstName: "Joe",
                            LastName: "Smith"
                        },
                        {
                            FirstName: "Jane",
                            LastName: "Smith"
                        }]
                    }
                });
            });
 
            function getdata() {
                alert($("#kendogrid").data("kendoGrid"));
            }
        </script>
    </body>
</html>
Miroslav
Top achievements
Rank 1
 answered on 15 Jun 2020
5 answers
218 views

Hi,

if I close RadWindow and then reopen it using .setVisible(true) on client side - close button in window title not working anymore. Is it possible to fix this?

here a sample page, press open, close window, press reopen, try to close - nothing happens.

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
    <script type="text/javascript">
        function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow;
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow;
            return oWindow;
        }
        function TestCloseDates() {
            var manager = GetRadWindowManager();
            var oWnd = manager.getWindowById('wndDates');
            oWnd.setVisible(true);
            //oWnd.restore();
            oWnd.setActive(true);
        }
    </script>
</head>
<body>
    <form id="Form1" method="post" runat="server">
        <input type="button" value="Open" onclick="window.radopen('', 'wndDates');"  />
        <input type="button" value="Reopen" onclick="TestCloseDates();"  />
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
        <telerik:RadWindowManager ID="wnd1" runat="server">
            <Windows>
                <telerik:RadWindow Height="365px" Width="375px" ID="wndDates" runat="server" ReloadOnShow="True" >
                    <ContentTemplate>
                        Hi There!
                    </ContentTemplate>
                </telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>
    </form>
</body>
</html>

Thanks,

Alex

 

Vessy
Telerik team
 answered on 12 Jun 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?