Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
83 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
70 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
169 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
342 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
126 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
111 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
240 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
4 answers
107 views
Hi All,

I am using RadControls for ASP.NET Q3 2010. I have a radgrid which has filtering enabled. When toggling the filter button on for the first time, the text "select" is temporarily displayed where the filter control should be. The text is displayed for a moment then the filter controls are rendered correctly. See attachment. I am not sure what would cause this behavior.

How do I prevent "select" from being displayed at all when the filter controls are being rendered?

Regards,
Cliff
Radoslav
Telerik team
 answered on 25 Mar 2011
1 answer
68 views
Hi, 
I have used RadDockZone to perform drag and drop. The Drag and Drop works fine. But the problem is i couldn't save or maintain the order in which the final drag and drop leaves.
i.e if initially, the order is as 

Item A - dock[0]
Item B - dock[1]
Item C - dock[2]
Item D - dock[3]
After several drag and drop, the order is changed as
Item C - dock[2]
Item D - dock[3]
Item B - dock[1]
Item A - dock[0]

I couldn't save the position that 'Item C' is now in 1st position, 'Item D' in 2nd position...etc of the order.
Is there any way to save the actual position i.e the order ?


Pero
Telerik team
 answered on 25 Mar 2011
2 answers
333 views
Hi,

I have radgrid and "inPlace" edit mode. whenever i want to edit save and cancel display left side automatically. but i want to display right side in these two button. Please let me know how do we display in right side.

I have attached image also. please check and give me a tips for this one,

Thanks in Advance,
Dhamu.
Dhamodharan
Top achievements
Rank 1
 answered on 25 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?