Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
152 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
292 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
111 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
73 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
208 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
98 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
57 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
307 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
2 answers
137 views
Good afternoon,

I am working on an application that sends a message with one ore more file attached to it. I'm using a AsyncUpload control to accomplish the upload of the files while user can still be writting the message.

The problem is that, when deploying it, the following happens:
1. User chooses a file to upload: it begins uploading (progress bar starts moving and left icon remains orange)
2. After finishing upload, suddenly an exception is thrown. Exception can be one of these:
a) The proccess cannot access the file XXXXXX.doc because it is in use by other process: this only happens with small (200kb or less) files. Temporal file does not appear in the Temporary Filder.
b) Remote server said: NotFound: this happens with big files (9 MB more or less in our tests). In this case, we already find the file in the Temporary Folder. The fact is that the file there is ok. After changing its extension to ZIP (which was the file's extension), it works fine, so the file is correctly upload, but it stills throws an exception.

I've tried changing the security settings of the temporary folders, giving permissions to users, but nothing changes.

The curious thing is that this only happens in deplyment. Control works fine in local machine.

Do you have any idea about what I've done wrong?
Equipo Desarrollo
Top achievements
Rank 1
 answered on 25 Mar 2011
10 answers
169 views
All My RadGrid event SelectedIndexChanged don't work after 2010.2.826! Anybody can help me?
gezim
Top achievements
Rank 1
 answered on 25 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?