Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 views
I'm trying to bind a RadGrid to an external xml file. The xml looks something like this:

<?xml version="1.0" encoding="utf-8"?>
<catalog>
  <item>
    <id>0ecd4410-3b06-454e-bf0f-97d6323f61c9</id>
    <name>Name #1</name>
  </item>
  <item>
    <id>0ecd4410-3b06-454e-bf0f-97d6323f61c9</id>
    <name>Name #2</name>
  </item>
</catalog>

All of the examples I found were using the xml attributes and not the inner text of a xml node. Is it possible to bind the above xml?

Kostadin
Telerik team
 answered on 05 Dec 2012
3 answers
198 views
Why my recurrence in radschedule doesn't work it just display the master recurrence? see attached image

here's the scheduler control

<telerik:RadScheduler ID="RadScheduler1" runat="server"            
    TimelineView-UserSelectable="false"
    ShowResourceHeaders="true"
    EnableViewState="false"
    AllowInsert="false"
    ShowAllDayRow="false"
    HoursPanelTimeFormat="HH:mm"
    OverflowBehavior="Scroll"
    Height="700px"
    MinutesPerRow="60"
    ShowFooter="false"
    ShowFullTime="true"
    AllowDelete="false"
    ReadOnly="true" DataKeyField="ID" DataSubjectField="Subject" DataStartField="Start" DataEndField="End">
    <DayView EnableExactTimeRendering="true" HeaderDateFormat="dddd, dd MMMM yyyy" />
    <WeekView EnableExactTimeRendering="true" HeaderDateFormat="dddd, dd MMMM yyyy" />
</telerik:RadScheduler>


here's the code 

protected void Page_Load(object sender, EventArgs e)
{
    RadScheduler1.SelectedView = Telerik.Web.UI.SchedulerViewType.DayView;
    RadScheduler1.SelectedDate = new DateTime(2012, 10, 19, 13, 0, 0);
 
    Appointment app = new Appointment
    {
        ID = 1,
        Start = new DateTime(2012, 10, 19, 13, 0, 0),
        End = new DateTime(2012, 10, 19, 15, 0, 0),
        Description = "description",
        Subject = "subject",
        RecurrenceState = RecurrenceState.Master,
    };
 
    RecurrencePattern pattern = new RecurrencePattern();
    pattern.Frequency = RecurrenceFrequency.Daily;
    pattern.DaysOfWeekMask = RecurrenceDay.EveryDay;
           
    RecurrenceRange range = new RecurrenceRange();
    range.Start = new DateTime(2012, 10, 19, 13, 0, 0);
    range.RecursUntil = new DateTime(2012, 10, 30, 15, 0, 0);
     
    DailyRecurrenceRule rrule = new DailyRecurrenceRule(2, range);
    app.RecurrenceRule = rrule.ToString();
    //DTSTART:20121019T130000Z\r\nDTEND:20121019T130000Z\r\nRRULE:FREQ=DAILY;UNTIL=20121030T150000Z;INTERVAL=2;BYDAY=MO,TU,WE,TH,FR,SA,SU\r\n
 
    RadScheduler1.InsertAppointment(app);
}
Plamen
Telerik team
 answered on 05 Dec 2012
3 answers
61 views
Hi Team,
i have hosted my application in Azure environment even i have set the property of
StripFormattingOptions="NoneSupressCleanMessage, ConvertWordLists"
StripFormattingOnPaste="NoneSupressCleanMessage, ConvertWordLists"

i am keep on getting this message " do you want to allow this webpage to access your clipboard", i tried all the thread nothing is working,



Thanks,
Saravanan.
Rumen
Telerik team
 answered on 05 Dec 2012
3 answers
58 views
I've noticed that the RadCombo boxes on my web project (VS2012) all seem to be displaying a tiny bit of the first dropdown item, hardly more than a yellow line.

(The project is currently set to the Sunset skin with a skin manager on the master page.)

Am I forgetting a height setting somewhere?  Any fix for this?  
Kalina
Telerik team
 answered on 05 Dec 2012
1 answer
220 views
In a RadListView I use a RadDataPager as pager with PageSize="10". This gives me a pager with 5, 10, 20 and 50 as page size options with 10 selected as default.

Is it possible to have one of the other values selected by default?

Angel Petrov
Telerik team
 answered on 05 Dec 2012
0 answers
41 views
In the Telerik documentation, the word "changed" is used ambiguously which results in a lack of clarity and concision. Here's an example of what I mean.  What does the following (hypothetical) sentence mean?

THE ROW HAS CHANGED.

Does it mean that focus has moved to a different row?  Or that the row has been modified?

How about the following event name:

RowChanging

Does it mean we are moving to a different row or that the row is undergoing modification?

It is difficult to know which meaning is intended; either meaning can make sense in context. In Windows control programming, we are working with a GUI paradigm where events can be triggered by focus moving elsewhere, but we are also working with an object-oriented paradigm where events are triggered when the underlying data objects undergo modification.  So it is very important to have clarity when speaking about "change" as it relates to data-driven GUI controls, where these two paradigms coincide.  

Tim R
Top achievements
Rank 1
 asked on 05 Dec 2012
1 answer
25 views
Hi Team,

in my application i have more css files. so i added editor in one page with ajax modol poup extender,
wheneve i open the popup radeditor width and hight is not setting correctly. due to this issue i can' see the data's in there.


Rumen
Telerik team
 answered on 05 Dec 2012
1 answer
58 views
Hi Team,

in my application i have more css files. so i added editor in one page with ajax modol poup extender,
wheneve i open the popup radeditor width and hight is not setting correctly. due to this issue i can' see the data's in there.


Rumen
Telerik team
 answered on 05 Dec 2012
1 answer
75 views
Hi,

I'm currently trying to upgrade a web application that is already using telerik asp.net ajax controls with a 2009 version.

The application is working on IE9 with IE7 compatibility mode activited in the web.config file.

The thing is that when i'm trying to upgrade that version to the 2012 Q3 version for each pages that i'm having RadTabStrip or RadMenu on top of the pages, the following items aren't rendered correctly. When i remove one of the controls my page is rendered correctly after that.

Is there any change with the style stuff since the 2009 version or other thing that I should be looking at that might help?

Also in some case the WebResource.axd is not visible to the apllied style of any following controls (controls after RadMenu and/or RadTabStrip), but after removing the control from the pages all the WebResource style are applying correctly.

Thx for your help,

Guillaume
Kate
Telerik team
 answered on 05 Dec 2012
1 answer
92 views
I am using a RadGrid w/ GridClientSelectColumn inside a RadWindow w/ ContentTemplate.  If I place this RadGrid outside of the RadWindow - the ._selectAllRows event works as expected.  But inside the ContentTemplate - it is not finding the reference to the RadGrid - instead throwing this error:

  1. Uncaught TypeError: Cannot call method 'get_element' of null ScriptResource.axd:5723
    1. Telerik.Web.UI.RadGrid._selectAllRowsScriptResource.axd:5723
    2. onclick

This is the checkbox code that is automatically rendered in the header to allow you to select all:

<input id="wSaveOptions_C_gUnbilledOrders_ctl01_ctl09_ctl01_ClientSelectColumnSelectCheckBox" type="checkbox" name="wSaveOptions$C$gUnbilledOrders$ctl01$ctl09$ctl01$ClientSelectColumnSelectCheckBox" onclick="$find(&quot;wSaveOptions_C_gUnbilledOrders&quot;)._selectAllRows(&quot;wSaveOptions_C_gUnbilledOrders_ctl00&quot;, &quot;&quot;, event);" />

Oddly, if I write my own routine to deal with it, it works fine:

function selectAll()
{
    var masterTable = $find('<%= gUnbilledOrders.ClientID%>').get_masterTableView();
    masterTable.selectAllItems();
}
 
function clearAll()
{
    var masterTable = $find('<%= gUnbilledOrders.ClientID%>').get_masterTableView();
    masterTable.clearSelectedItems();
}

which is rendered as

function selectAll()
{
    var masterTable = $find('wSaveOptions_C_gUnbilledOrders').get_masterTableView();
    masterTable.selectAllItems();
}
 
function clearAll()
{
    var masterTable = $find('wSaveOptions_C_gUnbilledOrders').get_masterTableView();
    masterTable.clearSelectedItems();
}

Am I doing something wrong?  Can I not have a SelectColumn RadGrid in a RadWindow ContentTemplate?

Using the latest normal release Q3-2012
Eyup
Telerik team
 answered on 05 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
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
Bronze
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?