Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
117 views
Are 2+ GB file uploads possible using the Telerik upload control?

Also, a timeline for implementing this (if not already) would be appreciated. With the advent of IIS7 and the currrent modern browsers there doesn't seem to be a good reason why this isn't possible.
Genady Sergeev
Telerik team
 answered on 09 Jul 2012
5 answers
393 views
Hi,

is there a way to disable the collapse / expand button in the GridGroupHeaderItem in the RadGrid? Or hide it entirely?

/Lars
Shinu
Top achievements
Rank 2
 answered on 09 Jul 2012
2 answers
518 views
Hi,

Trying to use an updatePanel in a ListView, I've got a problem

If I'm using this code on a page, it's working fine :
<asp:linkButton ID="Button1" Text="Time display" OnClick="Button1_Click" runat="server"  />
<br />
<asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" ChildrenAsTrigger="true" runat="server">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="Button1" />
    </Triggers>
    <ContentTemplate>
        <asp:PlaceHolder ID="monPh" runat="server"></asp:PlaceHolder>
    </ContentTemplate>
</asp:UpdatePanel>

And the code.behind
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs)
    Dim myUC As Control = LoadControl("/usercontrols/BrowseMedia/browseDetails.ascx")
    monPh.Controls.Add(myUC)
End Sub

The control "BrowseDetails.ascx" just displays the current date/time (eg now()).

But, trying to include this in a RadListView, it doesn't work at all. Am I doing something wrong or isn't is possible ? 

Thank you,
Andrey
Telerik team
 answered on 09 Jul 2012
1 answer
211 views
Hi,
I have a rad grid that contains two columns for StartDate and EndDate with RadDatePickers.
i want to compare that the date selected in "EndDate" should not be less than the date selected in "StartDate"
or start date should be less than end date.
How can i compare the both the dates in grid.My column type is GridTemplateCoulmn and both the Start and End date pickers are in ItemTemplate.
below is my code.

                 <telerik:GridTemplateColumn HeaderText="Start" UniqueName="fispersrt" DataField="fispersrt"
                                Visible="true" FilterControlWidth="78%" AllowFiltering="true">
                                <ItemTemplate>
                                    <telerik:RadDatePicker ID="rdDtStrtpkr" runat="server" SelectedDate='<%#Eval("fispersrt")%>'>
                                    </telerik:RadDatePicker>
                                </ItemTemplate>
                                <FooterTemplate>
                                    <telerik:RadDatePicker ID="rdDtFootrStrtpkr" runat="server">
                                    </telerik:RadDatePicker>
                                </FooterTemplate>
                            </telerik:GridTemplateColumn>
                            <telerik:GridTemplateColumn HeaderText="End" UniqueName="fisperend" DataField="fisperend" FilterControlWidth="78%" AllowFiltering="true">
                                <ItemTemplate>
                                    <telerik:RadDatePicker ID="rdDtEndpkr" runat="server" SelectedDate='<%#Eval("fisperend")%>'>
                                    </telerik:RadDatePicker>
                                </ItemTemplate>
                                <FooterTemplate>
                                    <telerik:RadDatePicker ID="rdDtFootrEndpkr" runat="server">
                                    </telerik:RadDatePicker>
                                </FooterTemplate>
                            </telerik:GridTemplateColumn>

Thanks in Advance.
Shinu
Top achievements
Rank 2
 answered on 09 Jul 2012
1 answer
64 views
Hi,
I've just started using RadCharts.
A legend is rendered like image and I can't to select text from the legend and for instance to copy. 
Is any way to render the legend as text?
Peshito
Telerik team
 answered on 09 Jul 2012
4 answers
155 views
Hi

I have created a image gallery using RadListView ClientSide Binding. I am using the ASMX webservice to populate the data. I assume the call is asynchronious so I need to show some LoadingPanel to user to wait for response. I tried using the RadAjaxLoadingPanel, but didnt work I think because of the client side binding .

Is there any way to do it?? 


Thanks

Vitalij
Vitalij
Top achievements
Rank 1
 answered on 09 Jul 2012
2 answers
129 views
Firstly I thought that I have a problem with RadTabStrip (this question) but after simplifying the question I found out that the problem is arising from RadGrid so here is the code to reproduce the problem :

Here is the web form code :

<body>
    <form id="form1" runat="server">
    <div>
        <asp:Button runat="server" ID="b1" OnClick="b1_OnClick" Text="Create Grid" />
        <asp:ScriptManager runat="server">
        </asp:ScriptManager>
        <asp:PlaceHolder runat="server" ID="ph1"></asp:PlaceHolder>
    </div>
    </form>
</body>

And here is the code behind :

protected void b1_OnClick(object sender, EventArgs e)
{
    var grid = new RadGrid
                   {
                       AllowSorting = true,
                        
                       DataSource = new List<string> { "abc", "def", "ghi", "klm" }
                   };
 
    ph1.Controls.Add(grid);
}

When I sort the only column of the grid column it causes the grid to disappear ! Is there any scientific reason for this disappearing ?

What have I missed in my code ?

Thank you for your consideration.


MahMah
Top achievements
Rank 1
 answered on 09 Jul 2012
4 answers
220 views
Guys I have a field called emp_DOB

I want to add a template field and show the age, how can I do this? I am using the Rad grid

Matt
Jayesh Goyani
Top achievements
Rank 2
 answered on 09 Jul 2012
1 answer
70 views
Hi,

I am trying to validate the columns in an inserted row client side and can't figure out how to get a reference to the individual columns in the inserted row.

I have tried the function listed below but it returns 'undefined'

   function SaveNew(sender, eventArgs) {
        var masterTable = $find("<%= rgvMainGrid.ClientID %>").get_masterTableView();
        //gets the HTML object of the insert item opened in the current GridTableView
        var insertedItem = masterTable.get_insertItem();
        alert(insertedItem[1]);

    }


I have seen an example where the javascript is added in the code behind and the column values are sent to the client but there are about 20 columns I want to validate and just want to be able to create the script on the page.

Any assistance would be appreciated.
Thank You
Shinu
Top achievements
Rank 2
 answered on 09 Jul 2012
10 answers
204 views
Hi,

Just tried to put a simple RadScheduler with webservice binding in an usercontrol, but get a javascript error when loading the page. the error says "The server method 'GetAppointments' failed." the "OnClientRequestFailed" is fired as well. If I put the same radscheduler control directly in a aspx page, it works fine. Is there any specific settings for such scenario?  Thanks in advance.

ascx code:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Scheduler.ascx.cs" Inherits="Usercontrols_Scheduler" %>
 
<telerik:RadScheduler ID="RadScheduler1" runat="server"AppointmentStyleMode="Default"
    SelectedView="WeekView" Width="100%" Height="100%" Culture="en-AU" WeekView-HeaderDateFormat="d/MM/yyyy"
    TimelineView-HeaderDateFormat="d/MM/yyyy" TimelineView-ColumnHeaderDateFormat="ddd d/MM"
    AdvancedForm-ZIndex="7002">
    <AdvancedForm Modal="true" />
    <TimelineView NumberOfSlots="7" />
    <WebServiceSettings Path="../SchedulerWebService.asmx" ResourcePopulationMode="ServerSide" />
</telerik:RadScheduler>

aspx page (parent page):
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="Forms_MasterData_test" %>
 
<%@ Register Src="../../Usercontrols/Scheduler.ascx" TagName="Scheduler" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1">
    </telerik:RadScriptManager>
    <div>
        <uc1:Scheduler ID="Scheduler1" runat="server" />
    </div>
    </form>
</body>
</html>


Jason Li
Top achievements
Rank 1
 answered on 09 Jul 2012
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?