Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
39 views
Attached are two screenshots using the RadGauge and RadChart. When in compatibility mode the gauge is offset but the chart is not effected in the same way. Is this a known issue and is there a way to keep this from happening?
John
Top achievements
Rank 1
 answered on 10 Jun 2013
1 answer
190 views
Hi, I am using load on demand with radcombobox. I have my OnItemsRequest handler and everything fine except for one little detail that I dont know how to overcome. When there is a postback to the server, the radcombobox items are lost which might make sense as they are kept in client side to improve performance, as it is stated here (from the following link)
http://www.telerik.com/community/forums/aspnet-ajax/combobox/radcombobox-items-disappearing-after-postback.aspx

"Hi Rajeev,

Is it possible that you are loading the items on demand (via callback, in the ItemsRequested event). If this is the case, then you should keep into account that the items added this way persist only at the client-side. This is done for a better performance. These items will disappear after postback. If you need the items to persist at the server, you need to add them outside the ItemsRequested event.  "

I would like to know how I could persist these items so that after the postback they are still there.
msigman
Top achievements
Rank 2
 answered on 10 Jun 2013
2 answers
125 views
Trying to move rows between two grids all client-side.

This is what I've been trying. I get the correct number of rows in the second grid, but no data.

function onMoveAssets() {

    var radGrid = $find('<%= AssetGrid.ClientID %>');

    var grid2 = $find('<%= SelectedAssets.ClientID %>').get_masterTableView();

    var selectedItems = radGrid.get_masterTableView().get_selectedItems();

    grid2.set_dataSource(selectedItems);

    grid2.dataBind();

}

George Handlin
Top achievements
Rank 1
 answered on 10 Jun 2013
6 answers
338 views
Hi friends, I am having different user controls that load up grid views form SPes on the dashboard. I am using this control to display all such widgets on the dashboard page. Now (most likely) as this control has been built with this scenario in mind, would it be possible to load each widget asynchronously on the dashboard ?

Thanks,
-Aarsh
Slav
Telerik team
 answered on 10 Jun 2013
1 answer
93 views
I'm working on a Dot Net 4.0 C# web app.  I already have a RadEditor in there with a keydown event handler to detect text changes (for queries when I hit the cancel button.)  Everything is working fine.  

I'm thinking about adding a mouseover event handler as well but I'm looking at your documentation here (http://www.telerik.com/help/aspnet-ajax/editor-attacheventhandler.html).

I was wondering what you meant by 'depending on the browser'?  Is this page up to date?  (Just tried.  Can't seem to get it to work.)

(I should also mention that my current declaration looks like this:     editor.attachEventHandler("keydown", function (sender, e)
keydown, not onkeydown, yet this part seems to be working perfectly.)
Ivaylo
Telerik team
 answered on 10 Jun 2013
0 answers
292 views
Hi All,

We are using a telerik datepicker control, we have got a "Stack overflow" issue  when setting the date with "set_selectedDate"  in IE8.

Is there any other way to fix this issue. Here, is my javascript code.

And, please help me out over this

var expiraryDateToSet = new Date(Date.parse(formatedEffectiveDate));
expiraryDateToSet.setFullYear(expiraryDateToSet.getFullYear() + parseFloat(durationYear.value));
durationYearsHidden.value = durationYear.value;                           
datePickerExpirary.set_selectedDate(expiraryDateToSet);
durationMonthsHidden.value = '';

Vinay
Top achievements
Rank 1
 asked on 10 Jun 2013
1 answer
89 views
Hi there,

I am using the RadTreeView for a vertical navigation (similar to the one on http://demos.telerik.com/aspnet-ajax/treeview/examples/overview/defaultcs.aspx). I notice that on that page the current page continues to be selected when you traverse through the Tree. I am trying to achieve the same result, but currently when I traverse my tree, it deselects my current node.

Is there a setting I have missed?

<telerik:RadTreeView ID="RadTreeView1" runat="server" DataSourceID="menu" Skin="custom" OnClientNodeClicked="ClientNodeClicked" MultipleSelect="true" OnClientLoad="ParentHighlight"></telerik:RadTreeView>
<telerik:RadSiteMapDataSource ID="menu" runat="server" SiteMapFile="site.sitemap" ShowStartingNode="false" />

Boyan Dimitrov
Telerik team
 answered on 10 Jun 2013
2 answers
80 views
Hi,

I am using trial version of SPRadGrid control. I am getting following js error on loading page:

Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; Trident/5.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; InfoPath.3; .NET4.0C; .NET4.0E; .NET CLR 3.0.30729)
Timestamp: Thu, 6 Jun 2013 11:17:37 UTC
Message: Syntax error
Line: 2
Char: 1
Code: 0
URI: https://xxx.abc.com/_vti_bin/Telerik.Ajax.SharePoint/gridbindingservice.svc/javascript/js

Please help how to correct this error. Additionally, I am trying to use with client-side binding. But when I enable WebService Binding, it does not load data and shows loading image indefinitely.

Thanks,
Garima

Tsvetoslav
Telerik team
 answered on 10 Jun 2013
1 answer
559 views
I've read this: http://www.telerik.com/help/aspnet-ajax/upload-uploading-large-files.html and have set httpRuntime as described and it works. However, this opens it up for the whole application. I would prefer to limit it to just the pages where I'm doing uploads, as in

<location path="PageWithUpload.aspx">
    <system.web>
        <httpRuntime executionTimeout="1800" maxRequestLength="2097151" />
    </system.web>
</location>
but that doesn't seem to work. Should it, or is there another way to do it?
Hristo Valyavicharski
Telerik team
 answered on 10 Jun 2013
13 answers
192 views

Requirements

RadControls  version

 2012.3.1016.40

.NET version

 4.0

Visual Studio version

 2012

programming language

 c#

browser support

all browsers supported by RadControls


PROJECT DESCRIPTION                                    

I want to dynamically load control into the appointment template at runtime. but I cannot seem to figure it out

here is my markup:
<telerik:RadScheduler runat="server" ID="RadScheduler1" Height="100%" SelectedView="TimelineView" ShowFooter="false" DayStartTime="07:00:00" DayEndTime="18:00:00" FirstDayOfWeek="Sunday" LastDayOfWeek="Saturday" EnableDescriptionField="true" DataSubjectField="Title" DataKeyField="ItemId" DataStartField="StartDate" DataEndField="EndDate" AllowDelete="False" AllowEdit="False" AllowInsert="False" Localization-HeaderTimeline="Week TL" OnTimeSlotCreated="RadScheduler1_TimeSlotCreated" OnNavigationCommand="RadScheduler1_NavigationCommand" OnAppointmentCreated="RadScheduler1_AppointmentCreated" OnAppointmentDataBound="RadScheduler1_AppointmentDataBound">
    <AdvancedForm Modal="true"></AdvancedForm>
    <TimelineView UserSelectable="true" SlotDuration="1" TimeLabelSpan="1" NumberOfSlots="7" GroupingDirection="Horizontal" ColumnHeaderDateFormat="dddd, d" EnableExactTimeRendering="false"></TimelineView>
                 <WekView ColumnHeaderDateFormat="dddd, d" HeaderDateFormat="dddd d" ShowHoursColumn="true" UserSelectable="false"   />
    <MonthView ColumnHeaderDateFormat="dddd" DayHeaderDateFormat="dd" />
    <TimeSlotContextMenuSettings EnableDefault="true" />
    <AppointmentTemplate>
        <asp:PlaceHolder ID="phContent" runat="server" />
    </AppointmentTemplate>
</telerik:RadScheduler>

I need to get the bound dataitem, load the required control based on the dataitem and also bind that data to the control

so my plan was to get the data, load the control, and place it into the placeholder control in the the AppointmentTemplate markup.

I am able to get the data in the 'AppointmentDataBound' event but I cannot seen to get access to the placeholder control, and in the 'AppointmentCreated' event that fires after the 'AppointmentDataBound' it looks like I may have access to the control but not the dataitem.

so I am not sure how to do this.






Plamen
Telerik team
 answered on 10 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Iron
Iron
Andrey
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?