Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
295 views
hi all,

well i have a question, i am using a telerik RadGrid to bind the data from the server end and i need the filter that data on the client end without hitting the server again i.e. without getting the data back from database.

i know it is possible with using columns and binding the data back with GridBoundColumn but my problem is that i am using ItemTemplate within which i am creating the table to make it look just like my client needs, so is it possible to filter the data in the ItemTemplate without columns(gridboundcolumns).

i hope i make sense out of it.

Thanks in advance, 

waiting for the possible solution asap.

Gaurav Sharma
Eyup
Telerik team
 answered on 10 May 2012
3 answers
253 views
Hello,

As I know it is not possible to upload the whole folder/directory using RadAsyncUpload control.
However, when I drag and drop folder, it is accepted, but upload fails of course.

Is there any way to cancel drop folder event?

I tried something like this:
function OnClientFileUploaded(sender, eventArgs) {
   if (eventArgs.get_fileInfo().ContentLength == 0 && eventArgs.get_fileInfo().ContentType == null) {
                $("#" + "<%= hfRemoveFileIndex.ClientID %>").val(eventArgs.get_fileInfo().Index);
                $("#" + "<%= btnRemoveFile.ClientID %>").click();          
            }
        }
And on server side
protected void btnRemoveFile_OnClick(object sender, EventArgs e)
{
    int indexID = int.Parse(hfRemoveFileIndex.Value);
    RadAsyncUpload1.UploadedFiles.RemoveAt(indexID);
}
But then all uploaded files are lost, not just the problematic folder.

Alternately I when process uploaded files I can ignore those where the ContentLength is 0, but this also makes problems when user wants to upload empty file.

Thanks
Marko
Plamen
Telerik team
 answered on 10 May 2012
9 answers
363 views
I am using the RadTabastrip on demand load example. I have one RadDatePicker in the first usercontrol, which works fine. I want to have 2 raddatepickers in second usercontrol, but when second user control loads by clicking on the second tab, javascript needed to show the popup calender for those 2 raddatepickers does not load, so the raddatepickers don't work.
Can you please suggest how can I make that work?

Thanks.
Om
Top achievements
Rank 1
 answered on 10 May 2012
1 answer
118 views
I am using the office2010black skin with my radbuttons.  I wanted the button to stay the orange color it turns to after the user clicks on it.   how do I do this?
Slav
Telerik team
 answered on 10 May 2012
7 answers
150 views
Hi,

I am using RadScheduler with websevice (v.2012.1.411). I use args.get_schedulerInfo() to pass extra info to the webservice on event OnClientAppointmentsPopulating,  it is working well.

But when I try to use args.get_schedulerInfo() in event OnClientAppointmentWebServiceInserting, It pops up javascrip undefined error. I checked the online document http://www.telerik.com/help/aspnet-ajax/p_telerik_web_ui_radscheduler_onclientappointmentwebserviceinserting.html , This property should be supported in this event. here is the code,
function OnClientAppointmentWebServiceInserting(sender, args) {
    var schedulerInfo = args.get_schedulerInfo();
    alert(schedulerInfo);
    var userName = '<%=UserName %>';               
    schedulerInfo.UserName = userName;
}

Thanks in advance

Jason
Peter
Telerik team
 answered on 10 May 2012
1 answer
100 views
Hi,
        I have a Radcombo radItem and in item request event , binding the data according to the search type. My issue is , search a word with "fruit basket" and populate all  item name including the fruit basket . but i removing the fruit basket from search area then item populate first with name include "Fruit" and after sometime combo populate item with no search condition.....  Loading message notification not showing while deteting the text from search area.... this is my issue...  Please help.....

Thanks in advance
Jesmon Joseph
Ivana
Telerik team
 answered on 10 May 2012
1 answer
95 views
Here is my code :

<%@ Page Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false" CodeBehind="Calendar.aspx.vb" Inherits="Digicontacts_Web_Final.Calendar" %>

<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>

<asp:Content ID="content1" ContentPlaceHolderID="MainContent" runat="server">

    <div id="settings-container">
    <script type="text/javascript">
        
        function rebindScheduler() {
            var scheduler = $find('<%=RadScheduler1.ClientID %>');
            scheduler.rebind();
        }
    
    
    </script>
    <telerik:RadPanelBar runat="server" ID="RadPanelBar1" Width="200px"
            Skin="Transparent">
            
                <Items>
                    <telerik:RadPanelItem runat="server" Text="Mes Agendas" ForeColor="#404040">
                        <Items>
                            <telerik:RadPanelItem runat="server" ForeColor="#404040">
                                <ItemTemplate>
                                    <div class="rpCheckBoxPanel">
                                        <telerik:RadTreeView ID="RadTreeView2" Runat="server" CheckBoxes="True"
                                            DataSourceID="SqlDataSource1" DataTextField="calendar_name"
                                            TriStateCheckBoxes="False">
                                        </telerik:RadTreeView>
                                        <asp:SqlDataSource ID="SqlDataSource1" runat="server"
                                            ConnectionString="<%$ ConnectionStrings:vicidial_V4ConnectionString %>"
                                            ProviderName="<%$ ConnectionStrings:vicidial_V4ConnectionString.ProviderName %>"
                                            SelectCommand="SELECT calendar_name FROM digi_calendar"></asp:SqlDataSource>
                                        
                                    </div>
                                </ItemTemplate>
                            </telerik:RadPanelItem>
                        </Items>
                    </telerik:RadPanelItem>
                </Items>
            </telerik:RadPanelBar>
     </div>
    <div id="scheduler-container">
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
            ConnectionString="<%$ ConnectionStrings:vicidial_V4ConnectionString2 %>"
            ProviderName="<%$ ConnectionStrings:vicidial_V4ConnectionString2.ProviderName %>"
            SelectCommand="SELECT id, start_date_time, end_date_Time, subject, description, location FROM digi_calendar_events">
        </asp:SqlDataSource>
        <telerik:RadScheduler ID="RadScheduler1" runat="server" Culture="fr-FR"
            DataDescriptionField="location" DataEndField="end_date_Time" DataKeyField="id"
            DataSourceID="SqlDataSource1" DataStartField="start_date_time"
            DataSubjectField="subject" EnableDescriptionField="True" Height="600px"
            Width="1000px">
        </telerik:RadScheduler>
     </div>

</asp:Content>

I would like to view by appointment only if I check the box on my agenda but I do not know.
Can you help me?
Ivana
Telerik team
 answered on 10 May 2012
3 answers
102 views
i am using a popup web control as the edit form for my rad grid. i added  a RadAjaxLoadingPanel and a RadAjaxManager to display progress for a slow-loading combobox. now, when i attempt to close or click "cancel" in my web control i get the error below:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: A control with ID 'ctl00$ContentPlaceHolder1$RadGridProductionOrders$ctl00$ctl06$Detail10$ctl12$EditFormControl$RadComboBoxItemCodeFilters' could not be found for the trigger in UpdatePanel 'ctl00$ContentPlaceHolder1$RadGridProductionOrders$ctl00$ctl06$Detail10$ctl12$EditFormControl$PanelMainPanel'.
Andrey
Telerik team
 answered on 10 May 2012
1 answer
129 views
Hi,
Is there any way we can re-arrange Fields on New/Edit Appointment window? 
I need "Description" after the "Subject" and  after "All Day" Checkbox


Thanks in advance
Plamen
Telerik team
 answered on 10 May 2012
1 answer
185 views
I am having a RadGrid on my page.

This grid is having a GridBoundColumn of type "DateTime" with the CurrentFilterFunction="EqualTo" with in-place filter for the columns. My requirement is not to use the DatePicker icon to select date rather allow user to write text directly into filter through the column. But while trying with the filter functionality typing any non-datetime text into the column filter control and clicking enter postbacks the page but it does not filters, the same data remains there in the page, whereas it should filter and should show no data for any non-datetime entry into filter control.

Here is my RadGridBound column's source:-

<telerik:GridBoundColumn UniqueName="DOB" DataField="DOB" HeaderText="DOB"
                       CurrentFilterFunction="EqualTo" ShowFilterIcon="False" AutoPostBackOnFilter="True"
                       DataFormatString="{0:d}" DataType="System.DateTime">                       
                       <ItemStyle HorizontalAlign="Right" />
                       <HeaderStyle HorizontalAlign="Right" Width="100px" />
                       <FooterStyle HorizontalAlign="Right" />                       
                   </telerik:GridBoundColumn>

Can anybody have any idea for solving this issue.
Thanks in advance.
Vasil
Telerik team
 answered on 10 May 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?