Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
67 views
I have a RadGrid with some BoundColumns and standard filter that automatically filter data in the datasource. Another column shows data that is not into the bound datasource. I'm using the ItemDataBound event to fill it. The automatic filter, of course, doesn't work on it. I'm trying to create a filter template that looks like the filter of the other columns. I put a RadTextBox in it and now I'd like to put the filter button that shows the menù with the filter options as is is in the others. Is there a way to use the filter menù of the grid or I have to manually create a menù with the same look and functions?
Is there a sample somewhere?
Thank you
Kostadin
Telerik team
 answered on 20 Nov 2012
6 answers
250 views
Somebody knows how I keep a RadPanelBar expanded after refresh ?
Vikram
Top achievements
Rank 1
 answered on 20 Nov 2012
9 answers
158 views
Hi, after upgrading to the latest version 2012.2.918.40, Radchart on my designer shows Parameter is not valid for Radchart.
When executing the problem, it throws Unable to cast object of type 'Telerik.Charting.ChartXAxis' to type 'Telerik.Charting.ChartYAxis'.

Used to work well before...

Any advice appreciated. Thanks!

Regards
cwk
theBoss
Top achievements
Rank 2
 answered on 20 Nov 2012
2 answers
123 views
I'm trying to display a modal RadWindow over a page. Some part of this page is an XBAP which has been loaded inside an iframe.
The part of the RadWindow which is intersecting with the XBAP is hidden behind it.
I want the RadWindow to be the top most when opened.

Kindly suggest a solution to this problem.
Amol
Top achievements
Rank 1
 answered on 20 Nov 2012
2 answers
142 views
Hello,

I have a radcontextmenu that targets a RadDock and I'm trying to make the right click work for ipad. I saw the implementation in a radtree, but I'm trying to adopt it without success.

Thanks,

Rod

function pageLoad() {
                var isMobileSafari = (navigator.userAgent.search(/like\sMac\sOS\sX;.*Mobile\/\S+/) != -1)
                if (isMobileSafari) {
                    var ctx = document.getElementById("<%= RadDock1.ClientID "%>);
                    ctx.addEventListener('touchstart', handleTouchStart, false);
                    ctx.addEventListener('touchend', handleTouchEnd, false);
                }
            }
 
            var lastContext = null;
            var longTouchID = 0;
            var menuShown = false;
 
            function longTouch() {
                longTouchID = 0;
                menuShown = true;
 
                var ctx = document.getElementById("<%= radMenu1.ClientID "%>);
                ctx.show();
            }
 
            function handleTouchStart(e) {
                longTouchID = setTimeout(longTouch, 1000);
            }
 
            function handleClick(e) {
                if (menuShown) {
                    menuShown = false;
                    document.body.removeEventListener('click', handleClick, true);
                    e.stopPropagation();
                    e.preventDefault();
                }
            }
 
            function handleTouchEnd(e) {
                if (longTouchID != 0)
                    clearTimeout(longTouchID);
                if (menuShown) {
                    document.body.addEventListener('click', handleClick, true);
                    e.preventDefault();
                }
            }
AMS
Top achievements
Rank 1
 answered on 20 Nov 2012
3 answers
138 views
Hi,

I have an Issue in GridDropDownColumn .. I want to set the (DataSourceID ,, ListTextField ,, ListValueField)
in Code-behind Dynamicaly for each Row based on some Condition.

the following Code is Changing the values of each Property but It's not binding or Reflecting anything..

Designer:
<telerik:GridCheckBoxColumn DataField="IsCustomer" SortExpression="IsCustomer"
    UniqueName="IsCustomer" DataType="System.Boolean" ReadOnly="true" Visible="false" >
</telerik:GridCheckBoxColumn>
 
<telerik:GridDropDownColumn DataField="CustomerID" UniqueName="CustomerID" 
    EnableEmptyListItem="True" >
    <HeaderStyle Width="120px" />
    <ItemStyle Width="120px" />
</telerik:GridDropDownColumn>
 
<telerik:GridDropDownColumn DataField="ContactID" UniqueName="ContactID"
     EnableEmptyListItem="True" >
    <HeaderStyle Width="100px" />
    <ItemStyle Width="100px" />
</telerik:GridDropDownColumn>

Code :
Protected Sub rgOpportunities_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles rgOpportunities.ItemDataBound
    If (TypeOf e.Item Is GridDataItem) Then
        'If (TypeOf e.Item Is GridEditFormItem AndAlso e.Item.IsInEditMode) Then
        Dim editFormItem As GridDataItem = CType(e.Item, GridDataItem)
        Dim Cus As GridDropDownColumn = CType(rgOpportunities.MasterTableView.Columns(8), GridDropDownColumn)
        Dim Con As GridDropDownColumn = CType(rgOpportunities.MasterTableView.Columns(9), GridDropDownColumn)
        If DirectCast(editFormItem("IsCustomer").Controls(0), CheckBox).Checked = True Then
            Cus.DataSourceID = "odsCustomer"
            Cus.ListTextField = "Name"
            Cus.ListValueField = "CustomerID"
            Con.DataSourceID = "odsContact"
            Con.ListTextField = "Name"
            Con.ListValueField = "ContactID"
        Else
            Cus.DataSourceID = "odsLeadHdr"
            Cus.ListTextField = "Name"
            Cus.ListValueField = "LeadHdrID"
            Con.DataSourceID = "odsLeadDtl"
            Con.ListTextField = "Name"
            Con.ListValueField = "LeadDtlID"
        End If
    End If
End Sub

Thanks..
Shinu
Top achievements
Rank 2
 answered on 20 Nov 2012
1 answer
243 views
I cannot get the events to fire??? Thoughts?


SERVER SIDE
protected void rtvLyst_NodeClick(object sender, Telerik.Web.UI.RadTreeNodeEventArgs e)
{
e.Node.Text = "NodeClick fired for this node";
}


CONTROL
<div class="lystList" style="display:none; min-width:100px; min-height:200px;">
<telerik:RadTreeView ID="rtvLyst" runat="server" OnClientNodeClicked="ClientNodeClicked" OnNodeClick="rtvLyst_NodeClick">

</telerik:RadTreeView>
</div>


CLIENT SIDE
function ClientNodeClicked(sender, eventArgs) {
var node = eventArgs.get_node();
alert("You clicked " + node.get_text());
}
Princy
Top achievements
Rank 2
 answered on 20 Nov 2012
1 answer
111 views
Hi,
I want to hide/disable the edit button dependent on what is in the row. Hypothetically speaking if there was one column (showing complete and uncomplete), and the edit button column, i only want the edit button to appear or be enabled on rows that were uncomplete.
Many Thanks
Ryan 
Shinu
Top achievements
Rank 2
 answered on 20 Nov 2012
3 answers
242 views
Hiya,
I am new to the Telerik tools.
 
Need to use LINQ with the RadGrid to present data in a parent/child view. Is this possible? I have spent quite while trying to get it to work. Single (parent) table works fine.

I have read the tutorial and searched the forums but cannot find a reference that says the LINQ is supported at this stage by RadGrid.

Brad
Tommy
Top achievements
Rank 1
 answered on 19 Nov 2012
2 answers
151 views
In the grid I'm running, the paging is mostly default.  The paging buttons are on the left hand side of the grid.  

On the far right hand side of the grid is the display of number of items in number of pages.

Is there any way to control that?  

(What I'd ideally like to do is have it left aligned, right up against the buttons.)
Boris
Top achievements
Rank 1
 answered on 19 Nov 2012
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?