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

Hi!

Radgrid is populated from Database in code behind using "NeedDataSource" event.

CombBox provides the filter for the RadGrid (also get's it's data from the RadGrid's "NeedDataSource" event).

With Viewstate enabled everything works fine.

Question is how can I still filter when Viewstate is disabled on the Grid?

 

Thanks in advance for your help!

Tom

Eyup
Telerik team
 answered on 17 Jun 2020
2 answers
123 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
543 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
703 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
190 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
338 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
308 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
120 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?