Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
86 views
Is there a way to cancel the finish button click event server side if there is an error and it will keep the fields from being cleared?
Tina
Top achievements
Rank 2
 answered on 16 Apr 2015
2 answers
1.2K+ views

I'm using the NavigateUrl to open a new page. That new page contains some javascript like

$(document).ready(function () {
    alert("ready!");
});
The alert dialog never displays when the window is opened.

Should I not expect the ready function to fire? Is there an alternative? I'm (re)using this window to open many different pages, but only one is trying to use the ready function.

 

Jay
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 16 Apr 2015
8 answers
196 views

Hello

 I've successfully added a resource field called "Assigned" to my radscheduler and I've tried setting the style of the appointments via the resource mapping but it does not work.

I've followed the guides and i've even tried changing it via the vb code and all of my efforts seem to be ignored for some reason.

 I was wondering if there is anything i've overlooked or something that would override my settings.

 The radscheduler code in my project is as follows;

 

<telerik:RadScheduler ID="RadScheduler1" runat="server" DataDescriptionField="Description" DataEndField="Endtime" DataKeyField="ID" DataReminderField="Reminder" DataSourceID="SqlDataSource1" DataStartField="Starttime" DataSubjectField="Subject" BorderStyle="None" Culture="en-GB" FirstDayOfWeek="Monday" LastDayOfWeek="Friday" SelectedView="TimelineView" ShowFooter="False" ShowHoursColumn="False" EnableDescriptionField="True" AllowDelete="False" BackColor="#EEEEEE" EnableRecurrenceSupport="False" ShowViewTabs="False" StartInsertingInAdvancedForm="True" RowHeight="30px" OnAppointmentDataBound="RadScheduler1_SchedulerDataBound" AllowInsert="False" Height="340px" TimelineView-HeaderDateFormat="d" RowHeaderWidth="46px" >
    <ExportSettings>
        <Pdf PageTopMargin="1in" PageBottomMargin="1in" PageLeftMargin="1in" PageRightMargin="1in" AllowAdd="True" AllowModify="True" PageHeight="297mm" PageWidth="210mm" PaperSize="A4"></Pdf>
    </ExportSettings>
    <ResourceTypes>
        <telerik:ResourceType DataSourceID="SqlDataSource1" ForeignKeyField="UserID" KeyField="UserID" Name="Assigned" TextField="Assigned" />
    </ResourceTypes>
    <ResourceStyles>                                                                                             
        <telerik:ResourceStyleMapping Type="Assigned" Text="DW" ApplyCssClass="CatCheckBox1" BackColor="#3366FF" />
        <telerik:ResourceStyleMapping Type="Assigned" Text="NR" ApplyCssClass="rsCategoryBlue"/>
        <telerik:ResourceStyleMapping Type="Assigned" Text="JK" ApplyCssClass="rsCategoryDarkGreen"/>
        <telerik:ResourceStyleMapping Type="Assigned" Text="MG" ApplyCssClass="rsCategoryGreen"/>
        <telerik:ResourceStyleMapping Type="Assigned" Text="NSG" ApplyCssClass="rsCategoryDarkRed"/>
        <telerik:ResourceStyleMapping Type="Assigned" Text="AR" ApplyCssClass="rsCategoryOrange"/>
        <telerik:ResourceStyleMapping Type="Assigned" Text="NN" ApplyCssClass="rsCategoryPink"/>
        <telerik:ResourceStyleMapping Type="Assigned" Text="AMK" ApplyCssClass="rsCategoryRed"/>
        <telerik:ResourceStyleMapping Type="Assigned" Text="EN" ApplyCssClass="rsCategoryViolet"/>
        <telerik:ResourceStyleMapping Type="Assigned" Text="SD" ApplyCssClass="rsCategoryYellow"/>                            
    </ResourceStyles>
    <Localization AdvancedNewAppointment="New Schedule" AdvancedEditAppointment="Edit Schedule" AdvancedFrom="Received Date" AdvancedSubjectRequired="Please provide a schedule subject" AdvancedTo="Promised Date" ContextMenuAddAppointment="New Schedule" HeaderAddAppointment="Add Schedule" HeaderAgendaAppointment="Schedule" HeaderDay="1 Day" HeaderWeek="7 Day" />
    <TimelineView HeaderDateFormat="dd-MM-yy" NumberOfSlots="7" ShowInsertArea="False" />
    <WeekView UserSelectable="False" />
    <DayView UserSelectable="False" />
    <MultiDayView ReadOnly="True" ShowHoursColumn="False" />
    <MonthView UserSelectable="False" VisibleAppointmentsPerDay="3" />
    <AgendaView ReadOnly="True" ResourceMarkerType="Bar" />
    <AppointmentContextMenuSettings EnableDefault="False" />
    <TimeSlotContextMenuSettings EnableDefault="False" />
    <Reminders Enabled="True" /> 
</telerik:RadScheduler>

Thanks

Mark
Top achievements
Rank 1
 answered on 16 Apr 2015
1 answer
81 views
I need to provide a drag/drop mapping between elements of two lists or even two trees by dragging.
Does telerik provide anything like what is asked in this post: http://forums.asp.net/p/1169599/2157868.aspx#2157868?
 I don't want to drop elements from one tree to another but instead allow the user to "connect" elements of two different trees via a line. I found a similar question in a thread from 2009 that didn't have any satisfactory replies but I was hoping that the answers may have changed in the last 5 years.  Thanks!
Aneliya Petkova
Telerik team
 answered on 16 Apr 2015
2 answers
255 views
I have a rad grid that I bind with 2 data tables.  I need to add a custom row and merge the cells of that row, add a background color and text that spans the row.  Any suggestions on how to accomplish this?
Mark
Top achievements
Rank 1
 answered on 16 Apr 2015
10 answers
375 views
I have a radgrid that is invisible and need to export it to excel.  It works great if I set the visible property to true but I don't want the user to see this grid as it is a combination of 2 grids that the user does see.
Mark
Top achievements
Rank 1
 answered on 16 Apr 2015
1 answer
555 views

I need to update the radWindow control from a button that is located internally in the radwindow.

The scenario I have is as follows:
Since a main form I call radwindow and it displays me another form, which contains a textbox and a radgrid. When I digit something in the textbox and press down on the button to add, I need to reload the radwindow like the effect of having the radwindow.

As I do this?

sorry for my english, is not very good xD!! 

Thank you for your help.

Marin Bratanov
Telerik team
 answered on 16 Apr 2015
35 answers
2.6K+ views
Hi all,

You guys have helped me out tremendously in getting my radwindow working.  I now have another question.  When I am finished with my pop-up radwindow I click a button that closes the pop-up and returns to the parent page.  How can I make the parent page postback and refresh?

Thanks,
Bob
Marin Bratanov
Telerik team
 answered on 16 Apr 2015
1 answer
112 views

Hello,

 I have a Master RadGrid that has a nested (child) RadGrid inside its NestedViewTemplate.  The nested RadGrid contains multiple GridTemplateColumns.  Inside one of these GridTemplateColumns I have a LinkButton (or it can it a label, it doesn't matter).  I am trying to create a scenario where when the user's mouse rolls over this LinkButton a ToolTip appears that will display information about the specific LinkButton text, and when the user rolls away the tooltip disappears.  The information on the tooltip will be obtained from a database query that will require an ID to be passed to it as a parameter.

I have seen a few examples of using the ToolTipManager and binding it to specific controls in a RadGrid, but none of the examples cover "Nested" RadGrids or how to send parameters.  I've seen an example where it's possible to open a WebUserControl inside a ToolTip, but I have not been able to get it to work.

Is what I want to do even possible or do I have to use something like a RadWindow or JavaScript?  I'd rather use the Telerik controls if possible.  I'd really appreciate any help (such as an example code).

Thanks.

Marin Bratanov
Telerik team
 answered on 16 Apr 2015
2 answers
350 views
hello,
I am using the trial version of the latest Asp.net AJAX controls.  I'm attempting to get the RadAsyncUpload Custom Handler example working but am stuck with a http 500 "internal error" error.  I cannot get around this error.  I've tried recreating the project from scratch, etc. -- no luck.  My project is, I believe, a duplicate of the example files.  I tried to attach a zip of my project but it is 16 megs (2meg limit).  How can I get a zip of my project to you?  Many thanks -- john
Peter Filipov
Telerik team
 answered on 16 Apr 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?