Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
106 views
Is this possible?  I see the grid has a oncolumnsreorder event but I'm having trouble getting it to fire.  I can't find any documentation on it either.  My columns have reorderable set to true.  They are auto generated columns though.
-DJ-
Top achievements
Rank 1
 answered on 25 Mar 2011
1 answer
207 views
I have a Rad Combo box in my page that calls a method to populate the data from wcf webservice. I don't have any issue when I run this from VS but in dev and test server I get this error message popop "The Server method 'mymethodname' failed.
The website is using custom authentication. If I change it to Windows authentication, the error goes away.

Could some one please help me.

Thanks,
Manasi
Top achievements
Rank 1
 answered on 25 Mar 2011
1 answer
160 views
Hi all,

I have server-side and client-side code which can control the enabled state of a RadDateTimePicker. It loads as disabled.

When I execute the server-side code "RadDateTimePicker1.Enabled = true" the input field becomes enabled, but the icons continue to have the look of disabled icons. How can I change these icons to enabled? 

Thanks,

Sean

EDIT:

I got the functionality achieved with this:

if( (sender as CheckBox).Checked )
{
    RadDateTimePicker1.DatePopupButton.CssClass = "rcCalPopup";
    RadDateTimePicker1.TimePopupButton.CssClass = "rcTimePopup";
    RadDateTimePicker2.DatePopupButton.CssClass = "rcCalPopup";
    RadDateTimePicker2.TimePopupButton.CssClass = "rcTimePopup";
     
}
else  
{
    RadDateTimePicker1.DatePopupButton.CssClass = "rcCalPopup rcDisabled";
    RadDateTimePicker1.TimePopupButton.CssClass = "rcTimePopup rcDisabled";
    RadDateTimePicker2.DatePopupButton.CssClass = "rcCalPopup rcDisabled";
    RadDateTimePicker2.TimePopupButton.CssClass = "rcTimePopup rcDisabled";
}
Maria Ilieva
Telerik team
 answered on 25 Mar 2011
3 answers
101 views
Browser: FireFox 3.6.15

Call image editor on an image.
Scale the image.
Click Restore Image.
Scale the image again.

Error message:
Value should be of type decimal

Please respond what action to take.

Marc
Dobromir
Telerik team
 answered on 25 Mar 2011
3 answers
95 views
I have used the radgrid to show some data to my customer, when I enable the 'AllowScroll' and 'UseStaticHeaders' function, there is a display problem in IE8 as attached image. The last part of the header and footer disappear.

I have tested for firefox 3.5.2, all things work fine. My Telerik.Web.UI.dll file version is 2010.2.929.35.

Here is some code for my grid

.ascx part:

<asp:Panel id="TelerikSummaryReportsPanel" runat="server" style="margin-top:10px;">
    <telerik:RadGrid ID="gridReports_Telerik" runat="server"  
                EnableAjaxSkinRendering="true"
                GridLines="Horizontal" CellPadding="0" BorderStyle="None"
                ClientSettings-AllowColumnHide="true" ClientSettings-EnableRowHoverStyle="true"
                ShowStatusBar="true" ShowHeader="true" AllowSorting="true"
                ShowFooter="true" RegisterWithScriptManager="true"
                EnableViewState="true"
                AllowFilteringByColumn="true"
                AllowMultiRowSelection="true">
        <GroupingSettings CaseSensitive="false" />
        <ClientSettings>
            <Scrolling EnableVirtualScrollPaging="false" />
            <Scrolling AllowScroll="true" UseStaticHeaders="true" />
            <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
            <Resizing AllowColumnResize="true" EnableRealTimeResize="true"  ShowRowIndicatorColumn="true"
                      ResizeGridOnColumnResize="true" AllowRowResize="false" ClipCellContentOnResize="false" />
            
        </ClientSettings>
    
    </telerik:RadGrid>
    
</asp:Panel>

And I control the height in the C# code, if no height setting or it is larger than the actual height of data, no problem occurs.

.ascx.cs file:

    protected void gridReports_DataBound(object sender, EventArgs e)
    {
        RadGrid Grid = (RadGrid)sender;

        int rowCount = Grid.Items.Count;
        if (rowCount > 25)
        {
            gridReports_Telerik.Height = 700;
        }
    }

What can I do or test to solve this problem? Thanks a lot if you can give some advice
Pavlina
Telerik team
 answered on 25 Mar 2011
2 answers
194 views
Hi,

How would we disable viewstate for all controls in an application?

Is there a list of which radcontrols uses viewstate and what they store in it?

Thanks.
Patrice Boissonneault
Top achievements
Rank 1
 answered on 25 Mar 2011
10 answers
373 views
Hello,

I saw in this post that the planned GANTT Chart functionality was mentioned. I wanted to find out more information about the projected availability of the Gantt Chart functionality in RadScheduler.

Thanks.
Mark
Top achievements
Rank 2
 answered on 25 Mar 2011
4 answers
143 views
I was using asp update panel before but because of some problems with telerik components i changed update panel with rad ajax panel... now i have troble with client side validators

they are not working correctly..please someone help...how will i validate my page client-side...i've tried many senerios...but nothing worked..

i saw web service validation but how can i apply this to any control..demo is not clear????
Pako
Top achievements
Rank 1
 answered on 25 Mar 2011
2 answers
128 views
Hello,

I have a requirement that needs comboboxes in the tabs(instead of Text) and I need to display the data  as per the selection on that particular tab, I don't know if it is feasible, I was planning on using Ajax controls for this page, I am just wondring if the tab strip supports it, if not what are the alternatives.

I am adding a screenshot that would give you a rough idea on the requirements. Your input is greatly appriciated.

Thanks,
SC
Srujana
Top achievements
Rank 1
 answered on 25 Mar 2011
9 answers
293 views
I'm having trouble implementing a solution similar to the example from the second grid on the following page to do a "between" filter on a date column in a RadGrid.

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/filtertemplate/defaultcs.aspx

As far as I can tell I have implemented all the relevant stuff from the example and the only difference is I'm using an EntityDataSource instead of a SqlDataSource.  However, when I select a date from either box I get the following error.

The datetime literal value '2010-06-02' is not valid. Near line 6, column 17.

 

I used the small example below to reproduce the error.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> 
<%@ 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"> 
 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> 
    <div> 
        <telerik:RadGrid ID="gvWorkItem" runat="server" AutoGenerateColumns="False" DataSourceID="edsWorkItem"   
            GridLines="None" AllowFilteringByColumn="True">  
            <MasterTableView DataKeyNames="WorkItemID" DataSourceID="edsWorkItem">  
                <Columns> 
                    <telerik:GridBoundColumn DataField="WorkItemID" DataType="System.Int32" HeaderText="#"   
                        ReadOnly="True" SortExpression="WorkItemID" UniqueName="WorkItemID" /> 
                    <telerik:GridBoundColumn DataField="Description" HeaderText="Description"   
                        SortExpression="Description" UniqueName="Description" /> 
                    <telerik:GridBoundColumn DataField="DueDate" DataType="System.DateTime"   
                        HeaderText="Due Date" SortExpression="DueDate" UniqueName="DueDate">  
                        <FilterTemplate> 
                            <telerik:RadDatePicker ID="FromDatePicker" runat="server"   
                                ClientEvents-OnDateSelected="FromDatePicker_DateSelected" /><br /> 
                            <telerik:RadDatePicker ID="ToDatePicker" runat="server"   
                                ClientEvents-OnDateSelected="ToDatePicker_DateSelected" /> 
                            <telerik:RadScriptBlock ID="RadCodeBlock1" runat="server">  
                                <script type="text/javascript">  
                                    function FromDatePicker_DateSelected(sender, args) {  
                                        var tableView =   
                                            $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");  
                                        var ToPicker =   
                                            $find('<%# ((GridItem)Container).FindControl("ToDatePicker").ClientID %>');  
                                        var fromDate = FormatSelectedDate(sender);  
                                        var toDate = FormatSelectedDate(ToPicker);  
                                        tableView.filter("DueDate", fromDate + " " + toDate, "Between");  
                                    }  
                                    function ToDatePicker_DateSelected(sender, args) {  
                                        var tableView =   
                                            $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");  
                                        var FromPicker =   
                                            $find('<%# ((GridItem)Container).FindControl("FromDatePicker").ClientID %>');  
                                        var fromDate = FormatSelectedDate(FromPicker);  
                                        var toDate = FormatSelectedDate(sender);  
                                        tableView.filter("DueDate", fromDate + " " + toDate, "Between");  
                                    }  
                                    function FormatSelectedDate(picker) {  
                                        var date = picker.get_selectedDate();  
                                        var dateInput = picker.get_dateInput();  
                                        var formattedDate = dateInput.get_dateFormatInfo().FormatDate(date,   
                                            dateInput.get_displayDateFormat());  
                                        return formattedDate;  
                                    }  
                                </script> 
                            </telerik:RadScriptBlock> 
                        </FilterTemplate> 
                    </telerik:GridBoundColumn> 
                </Columns> 
            </MasterTableView> 
        </telerik:RadGrid> 
        <asp:EntityDataSource ID="edsWorkItem" runat="server" ConnectionString="name=WorkDataEntities"   
            DefaultContainerName="WorkDataEntities" EntitySetName="WorkItems" /> 
    </div> 
    </form> 
</body> 
</html> 
Radoslav
Telerik team
 answered on 25 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?