Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
853 views
Hi,
    I'm using a RadGrid with a popup form for editing and inserting records based on the excellent Edit Form types demo. Everything I used from the demo works fine but I ran into a problem with validation. Unlike the demo I'm using some controls that can only be validated using a custom validator function (RadEditor and RadRating).
 
At first, I put the functions in the user control (ascx file) but this is obviously not the thing to do because I got an error when the functions were called saying that they were undefined.

I moved the functions to the parent aspx file (with the gridview in it) and now the functions are recognised OK. The snag no is that I don't know how to access the values I want to validate. I had already found out that the standard approach (args.value) doesn't work because the value isn't sent to the function from these controls. I found the following example on a forum somewhere but it only works when the script is in the ascx file.

$find("<%= rr_Q1a.ClientID %>").get_value()


What syntax do I need to gain client-side access the values of the controls that are in the ascx file from the parent aspx file? or is there another way I should do this?
Geoff
Top achievements
Rank 1
 answered on 07 Nov 2013
5 answers
48 views
Hi,

Any idea why the following clientscript always returns 0?
var oExplorer = $find("<%= RadFileExplorer1.ClientID %>");
    alert(oExplorer.get_listView().get_currentPageIndex());

Thanks,

Marc
Vessy
Telerik team
 answered on 07 Nov 2013
2 answers
91 views

Hi: 

How do I rename a PivotGridAggregateField header so it doesn’t says “Sum of ‘Datafield’”?

I am using ASP.NET 4.5, Windows 8, Internet Explorer 10.0.9200.16721, Telerik v.2013.2.717.45, C#.

The provided help will be appreciated.

 

Thanks!

Jose



Jose
Top achievements
Rank 1
 answered on 07 Nov 2013
7 answers
127 views
Using a pretty simplistic RadRotator (v 2011.1.315.35), I have text-only items where you see one at a time, scrolling up.  Everything looks fine as the items rotate, but when I mouseover an item, the alignment of the item shifts up and bunches the text (if it happens to wrap).  What is the deal?  This was noticed in both IE8 and FF.

<telerik:RadRotator ID="radrotAlerts" runat="server" Skin="Hay" Width="650px" Height="50px" ItemWidth="650" ItemHeight="50"
    ScrollDirection="Up" ScrollDuration="1000" FrameDuration="3000" RotatorType="AutomaticAdvance">
    <ItemTemplate>
        <div style="width:650px; height:50px; vertical-align:middle; text-align:left;">
            <asp:Label ID="lblAlert" runat="server" Visible='<%# string.IsNullOrEmpty(Eval("AlertUrl").ToString()) ? true : false %>'>
                <%# Eval("AlertText") %>
            </asp:Label>
        </div>
    </ItemTemplate
</telerik:RadRotator>

Attached are screenshots, one how it looks when mouse is NOT over item, one when it is.
Slav
Telerik team
 answered on 07 Nov 2013
1 answer
65 views
Hi,
How to set the page number in pdf export.?
Princy
Top achievements
Rank 2
 answered on 07 Nov 2013
1 answer
121 views
Hi,
i have used GridClientSelectColumn with multi row selection. The selection works fine, but if i click any other row all oder selected rows are deselected and only the current row is selected. How to overcome this? When i select a row i want only that to be unchecked. Please help.
Princy
Top achievements
Rank 2
 answered on 07 Nov 2013
1 answer
74 views
Hi Team,
I am using Telerik RadProgressBar. I would like to know is there is any way to change the CurrentOperationText during the radAsyncUpload. 

I tried the following

  function updateUploadVideoProgress(source, eventArgs) {
            // alert("Hi2");
            var progressData = eventArgs.ProgressData();
            progressData.CurrentOperationText = "Step 1: Uploading files to the server.."

            //source.Localization-CurrentFileName="Data";

        }

But CurrentOperationText is not replicated in the Progress Bar. Let me know if you have any solutions for this. 

Thanks in advance for the reply

Regards, 
Mohan
Hristo Valyavicharski
Telerik team
 answered on 07 Nov 2013
1 answer
136 views
 
Hi I am very new to Scheduler control can anyone tell me how do i get start and end time  and also date  when i select the  the time say 4 pm in the code behind and then wheni save and when i try to retrieve it i am getting different time  this is how i am doing can any one tell me what is the problem
 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadScheduler1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1">
                    </telerik:AjaxUpdatedControl>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
    </telerik:RadAjaxLoadingPanel>
    <div class="exampleContainer">
        <telerik:RadScheduler runat="server" ID="RadScheduler1" Width="750px" DayStartTime="08:00:00"
            DayEndTime="18:00:00" TimeZoneOffset="03:00:00" OnAppointmentInsert="RadScheduler1_AppointmentInsert"
            OnAppointmentUpdate="RadScheduler1_AppointmentUpdate" OnAppointmentDelete="RadScheduler1_AppointmentDelete"
            
            DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start" DataEndField="End"
            DataRecurrenceField="RecurrenceRule" DataRecurrenceParentKeyField="RecurrenceParentId"
            DataReminderField="Reminder" DayView-ReadOnly="False">
            <AdvancedForm Modal="true"></AdvancedForm>
            <TimelineView UserSelectable="false"></TimelineView>
            <TimeSlotContextMenuSettings EnableDefault="true"></TimeSlotContextMenuSettings>
            <AppointmentContextMenuSettings EnableDefault="true"></AppointmentContextMenuSettings>
            <Reminders Enabled="true"></Reminders>
        </telerik:RadScheduler>
    </div>

protected void RadScheduler1_AppointmentInsert(object sender, SchedulerCancelEventArgs e)
        {
            Appointments.Add(new AppointmentInfo(e.Appointment));
            DateTime start = e.Appointment.Start;
            DateTime end = e.Appointment.Start.AddMinutes(((RadScheduler)sender).MinutesPerRow);
            string startdate = e.Appointment.Start.ToString();
        }

Kate
Telerik team
 answered on 07 Nov 2013
3 answers
259 views
Hi,

I have a simple radgrid project which all works fine from visual studio, my problem is when I publish it I lose the skin, i.e. the screen appears in text only. The skin DLL is in the bin folder so not sure whats gone wrong here. Anyone seen this before?

Thanks

Mick
Venelin
Telerik team
 answered on 07 Nov 2013
1 answer
418 views
Hi,

I want to open Power Point file (.ppsx or .pps) in Browser.
I have tried many methods.
But all methods lead me to download the file not to show in the browser.

It should not be downloaded.have to be shown in browser itself.

help me to get this done.

Thanking you,

Regards,
AGM Raja
Shinu
Top achievements
Rank 2
 answered on 07 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?