This is a migrated thread and some comments may be shown as answers.

XmlSchedulerProvider & NullReferenceException

1 Answer 40 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
MASSEMIN
Top achievements
Rank 1
MASSEMIN asked on 13 Jul 2012, 05:00 PM
Hi,

I follow the sample here : http://www.telerik.com/help/aspnet-ajax/scheduler-getting-started.html 
An another server provide XML, here the code :

protected void Page_Load(object sender, EventArgs e)
{
    XmlDocument doc = new XmlDocument();
    doc.Load(@"http://localhost:9000/appointment/get?journee=2012-01-04&idCab=1");
    RadScheduler1.Provider = new XmlSchedulerProvider(doc);
}

here the XML :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Appointments>
    <NextID>1</NextID>
    <Resources>
        <Room>
            <Key>62</Key>
            <Text>PRESTIGE II</Text>
        </Room>
        <Room>
            <Key>63</Key>
            <Text>PRESTILIX</Text>
        </Room>
        <Room>
            <Key>64</Key>
            <Text>OSSEUX</Text>
        </Room>
        <Room>
            <Key>65</Key>
            <Text>ECHO</Text>
        </Room>
        <Room>
            <Key>66</Key>
            <Text>URGENCES</Text>
        </Room>
        <Room>
            <Key>70</Key>
            <Text>MAMO</Text>
        </Room>
        <Room>
            <Key>71</Key>
            <Text>TELERADIOLOGIE</Text>
        </Room>
    </Resources>
    <Appointment>
        <ID>1575324</ID>
        <Subject>D'ELLOY MICHEL</Subject>
        <Start>2012-01-04T09:00Z</Start>
        <End>2012-01-04T09:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1311268</ID>
        <Subject>ARNAUD MONIQUE</Subject>
        <Start>2012-01-04T09:00Z</Start>
        <End>2012-01-04T09:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1305603</ID>
        <Subject>WOLLESSE NATAHLIE</Subject>
        <Start>2012-01-04T09:00Z</Start>
        <End>2012-01-04T10:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1306834</ID>
        <Subject>BEINAT DENIS</Subject>
        <Start>2012-01-04T10:00Z</Start>
        <End>2012-01-04T10:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1321011</ID>
        <Subject>HELFRICK SARAH</Subject>
        <Start>2012-01-04T10:00Z</Start>
        <End>2012-01-04T10:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1575970</ID>
        <Subject>CARRAIRE PHILIPPE RICHAR</Subject>
        <Start>2012-01-04T10:00Z</Start>
        <End>2012-01-04T10:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1321090</ID>
        <Subject>CADE NOELLE</Subject>
        <Start>2012-01-04T10:00Z</Start>
        <End>2012-01-04T11:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307004</ID>
        <Subject>PIERRE JACQUELINE</Subject>
        <Start>2012-01-04T11:00Z</Start>
        <End>2012-01-04T11:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1320898</ID>
        <Subject>KASIERS GABRIEL</Subject>
        <Start>2012-01-04T11:00Z</Start>
        <End>2012-01-04T11:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1306920</ID>
        <Subject>CIGANA JEAN FRANCOIS</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T14:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1310171</ID>
        <Subject>CAZAUX PATRICE</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T14:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1320859</ID>
        <Subject>BARBE MONIQUE</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T14:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1320609</ID>
        <Subject>WALTER RAYMONDE</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T15:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307187</ID>
        <Subject>PORTIER GILBERT</Subject>
        <Start>2012-01-04T15:00Z</Start>
        <End>2012-01-04T15:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307113</ID>
        <Subject>DUBOURDIEU MELANIE</Subject>
        <Start>2012-01-04T15:00Z</Start>
        <End>2012-01-04T15:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1299889</ID>
        <Subject>DE ZORDI FRANCINE</Subject>
        <Start>2012-01-04T15:00Z</Start>
        <End>2012-01-04T15:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1573885</ID>
        <Subject>MARECHAL SEBASTIEN</Subject>
        <Start>2012-01-04T15:00Z</Start>
        <End>2012-01-04T16:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1297957</ID>
        <Subject>ELYSEE MARIE SOLANGE</Subject>
        <Start>2012-01-04T16:00Z</Start>
        <End>2012-01-04T16:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307860</ID>
        <Subject>CAKIR MERYEM</Subject>
        <Start>2012-01-04T16:00Z</Start>
        <End>2012-01-04T16:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1574086</ID>
        <Subject>TALEB SOUMAYA</Subject>
        <Start>2012-01-04T16:00Z</Start>
        <End>2012-01-04T16:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1576367</ID>
        <Subject>ALLAIN YOANN</Subject>
        <Start>2012-01-04T16:00Z</Start>
        <End>2012-01-04T17:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1291460</ID>
        <Subject>SANTIN MARIE PIERRE</Subject>
        <Start>2012-01-04T17:00Z</Start>
        <End>2012-01-04T18:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1306970</ID>
        <Subject>BONILLO BERNARD</Subject>
        <Start>2012-01-04T18:00Z</Start>
        <End>2012-01-04T18:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1308037</ID>
        <Subject>VALES CLEMENCE</Subject>
        <Start>2012-01-04T17:00Z</Start>
        <End>2012-01-04T17:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1321025</ID>
        <Subject>PETTENATI GERMAINE</Subject>
        <Start>2012-01-04T18:00Z</Start>
        <End>2012-01-04T18:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1322148</ID>
        <Subject>GOUYET REMY</Subject>
        <Start>2012-01-04T17:00Z</Start>
        <End>2012-01-04T17:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1574729</ID>
        <Subject>MESTRAUD ANAIS</Subject>
        <Start>2012-01-04T17:00Z</Start>
        <End>2012-01-04T17:00Z</End>
        <Resources>
            <Room key="62"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1574760</ID>
        <Subject>MICHEL YANNICK</Subject>
        <Start>2012-01-04T17:00Z</Start>
        <End>2012-01-04T17:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1574878</ID>
        <Subject>LE GOFF LAURIE</Subject>
        <Start>2012-01-04T18:00Z</Start>
        <End>2012-01-04T18:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1575316</ID>
        <Subject>DARRIET MAEVA</Subject>
        <Start>2012-01-04T17:00Z</Start>
        <End>2012-01-04T18:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1321377</ID>
        <Subject>OKUMUS GULSUM</Subject>
        <Start>2012-01-04T09:00Z</Start>
        <End>2012-01-04T09:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1575925</ID>
        <Subject>POCHON DORIANE</Subject>
        <Start>2012-01-04T16:00Z</Start>
        <End>2012-01-04T16:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1575793</ID>
        <Subject>AMESTOY MARIE</Subject>
        <Start>2012-01-04T16:00Z</Start>
        <End>2012-01-04T16:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307836</ID>
        <Subject>GAUDRIE DIDIER</Subject>
        <Start>2012-01-04T15:00Z</Start>
        <End>2012-01-04T16:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1575060</ID>
        <Subject>FREMY ENZO</Subject>
        <Start>2012-01-04T15:00Z</Start>
        <End>2012-01-04T15:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1574614</ID>
        <Subject>RASO BRICE</Subject>
        <Start>2012-01-04T15:00Z</Start>
        <End>2012-01-04T15:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1321664</ID>
        <Subject>COMET PAULETTE</Subject>
        <Start>2012-01-04T15:00Z</Start>
        <End>2012-01-04T15:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1573997</ID>
        <Subject>M'HAMDI SOUAD</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T15:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1320909</ID>
        <Subject>LARROUY GILLES</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T14:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1575842</ID>
        <Subject>M'HAMDI WISSEM</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T14:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1321946</ID>
        <Subject>BOUILLON PATRICIA</Subject>
        <Start>2012-01-04T11:00Z</Start>
        <End>2012-01-04T11:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1321848</ID>
        <Subject>LAUPENIE AMANDINE</Subject>
        <Start>2012-01-04T10:00Z</Start>
        <End>2012-01-04T10:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1321592</ID>
        <Subject>GAUBERT OLIVIER</Subject>
        <Start>2012-01-04T10:00Z</Start>
        <End>2012-01-04T10:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1321546</ID>
        <Subject>BONIL MARTINE</Subject>
        <Start>2012-01-04T10:00Z</Start>
        <End>2012-01-04T10:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1321379</ID>
        <Subject>YANIK SEYFULLAH</Subject>
        <Start>2012-01-04T09:00Z</Start>
        <End>2012-01-04T10:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1321375</ID>
        <Subject>OKUMUS ASHEM</Subject>
        <Start>2012-01-04T09:00Z</Start>
        <End>2012-01-04T09:00Z</End>
        <Resources>
            <Room key="63"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1311747</ID>
        <Subject>BOUCHON MAUD</Subject>
        <Start>2012-01-04T09:00Z</Start>
        <End>2012-01-04T09:00Z</End>
        <Resources>
            <Room key="64"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1320237</ID>
        <Subject>LAVILLENIE PIERRE</Subject>
        <Start>2012-01-04T10:00Z</Start>
        <End>2012-01-04T11:00Z</End>
        <Resources>
            <Room key="64"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1305298</ID>
        <Subject>RICHARD GINETTE</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T14:00Z</End>
        <Resources>
            <Room key="64"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1299412</ID>
        <Subject>MARVIE THOMAS</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T14:00Z</End>
        <Resources>
            <Room key="64"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1320325</ID>
        <Subject>CAUMONT OLIVIER</Subject>
        <Start>2012-01-04T11:00Z</Start>
        <End>2012-01-04T11:00Z</End>
        <Resources>
            <Room key="64"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1573901</ID>
        <Subject>PEREIRA RAPHAEL</Subject>
        <Start>2012-01-04T16:00Z</Start>
        <End>2012-01-04T17:00Z</End>
        <Resources>
            <Room key="64"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1321698</ID>
        <Subject>D'ELIA ELODIE</Subject>
        <Start>2012-01-04T16:00Z</Start>
        <End>2012-01-04T16:00Z</End>
        <Resources>
            <Room key="64"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1575336</ID>
        <Subject>DUBEDAT BENOIT</Subject>
        <Start>2012-01-04T17:00Z</Start>
        <End>2012-01-04T17:00Z</End>
        <Resources>
            <Room key="64"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1575281</ID>
        <Subject>LAFARGUE CLAIRE</Subject>
        <Start>2012-01-04T17:00Z</Start>
        <End>2012-01-04T17:00Z</End>
        <Resources>
            <Room key="64"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1308935</ID>
        <Subject>MAIRE ARNAUD</Subject>
        <Start>2012-01-04T18:00Z</Start>
        <End>2012-01-04T18:00Z</End>
        <Resources>
            <Room key="64"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1306973</ID>
        <Subject>BONILLO BERNARD</Subject>
        <Start>2012-01-04T18:00Z</Start>
        <End>2012-01-04T18:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307776</ID>
        <Subject>CHAPUZET THIERRY</Subject>
        <Start>2012-01-04T17:00Z</Start>
        <End>2012-01-04T17:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307861</ID>
        <Subject>CAKIR MERYEM</Subject>
        <Start>2012-01-04T16:00Z</Start>
        <End>2012-01-04T16:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1308698</ID>
        <Subject>ANDRON MICHEL</Subject>
        <Start>2012-01-04T16:00Z</Start>
        <End>2012-01-04T17:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1291764</ID>
        <Subject>LALANNE AUDREY</Subject>
        <Start>2012-01-04T17:00Z</Start>
        <End>2012-01-04T18:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1301867</ID>
        <Subject>BERES BRIGITTE</Subject>
        <Start>2012-01-04T18:00Z</Start>
        <End>2012-01-04T18:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1305767</ID>
        <Subject>LOPES NATHALIE</Subject>
        <Start>2012-01-04T17:00Z</Start>
        <End>2012-01-04T17:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307115</ID>
        <Subject>DUBOURDIEU MELANIE</Subject>
        <Start>2012-01-04T15:00Z</Start>
        <End>2012-01-04T15:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1299890</ID>
        <Subject>DE ZORDI FRANCINE</Subject>
        <Start>2012-01-04T15:00Z</Start>
        <End>2012-01-04T16:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307837</ID>
        <Subject>GAUDRIE DIDIER</Subject>
        <Start>2012-01-04T16:00Z</Start>
        <End>2012-01-04T16:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1294600</ID>
        <Subject>INDEFINI *</Subject>
        <Start>2012-01-04T16:00Z</Start>
        <End>2012-01-04T16:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307008</ID>
        <Subject>PIERRE JACQUELINE</Subject>
        <Start>2012-01-04T11:00Z</Start>
        <End>2012-01-04T11:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1283868</ID>
        <Subject>VISSE CHRISTOPHE</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T14:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307348</ID>
        <Subject>NOTTIN PAULA</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T14:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1306921</ID>
        <Subject>CIGANA JEAN FRANCOIS</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T14:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307376</ID>
        <Subject>ROSES PAULINE</Subject>
        <Start>2012-01-04T14:00Z</Start>
        <End>2012-01-04T15:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1574027</ID>
        <Subject>INDEFINI *</Subject>
        <Start>2012-01-04T15:00Z</Start>
        <End>2012-01-04T15:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307188</ID>
        <Subject>PORTIER GILBERT</Subject>
        <Start>2012-01-04T15:00Z</Start>
        <End>2012-01-04T15:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1300228</ID>
        <Subject>DA SILVA NICOLE</Subject>
        <Start>2012-01-04T11:00Z</Start>
        <End>2012-01-04T11:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1311845</ID>
        <Subject>PEYRUSE MARLENE</Subject>
        <Start>2012-01-04T10:00Z</Start>
        <End>2012-01-04T10:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1306901</ID>
        <Subject>BOULANGER CLAUDETTE</Subject>
        <Start>2012-01-04T10:00Z</Start>
        <End>2012-01-04T11:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1296029</ID>
        <Subject>LEAUNARD CHANTAL</Subject>
        <Start>2012-01-04T09:00Z</Start>
        <End>2012-01-04T09:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1305930</ID>
        <Subject>DALGER JEAN PHILIPPE</Subject>
        <Start>2012-01-04T09:00Z</Start>
        <End>2012-01-04T09:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1307881</ID>
        <Subject>SAURA ANDREE</Subject>
        <Start>2012-01-04T09:00Z</Start>
        <End>2012-01-04T10:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
    <Appointment>
        <ID>1305802</ID>
        <Subject>PRAZ BERNARD</Subject>
        <Start>2012-01-04T10:00Z</Start>
        <End>2012-01-04T10:00Z</End>
        <Resources>
            <Room key="65"/>
        </Resources>
    </Appointment>
</Appointments>

Here the exception :

[NullReferenceException: La référence d'objet n'est pas définie à une instance d'un objet.]
   Telerik.Web.UI.XmlSchedulerProvider.LoadAppointmentResources(RadScheduler owner, Appointment appointment, XmlNode appointmentResourcesNode) +219
   Telerik.Web.UI.XmlSchedulerProvider.GetAppointments(RadScheduler owner) +1767
   Telerik.Web.UI.SchedulerProviderBase.GetAppointments(ISchedulerInfo schedulerInfo) +53
   Telerik.Web.UI.RadScheduler.BindAppointments() +192
   Telerik.Web.UI.RadScheduler.PerformSelect() +147
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   Telerik.Web.UI.RadScheduler.EnsureDataBound() +93
   Telerik.Web.UI.RadScheduler.CreateChildControls(Boolean bindFromDataSource) +131
   Telerik.Web.UI.RadScheduler.CreateChildControls() +34
   System.Web.UI.Control.EnsureChildControls() +87
   System.Web.UI.Control.PreRenderRecursiveInternal() +44
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842


the problem is the same if I write an xml file with content, and use this code :

RadScheduler1.Provider = new XmlSchedulerProvider(Server.MapPath("~/App_Data/get.xml"), false);

thanks for helping.

1 Answer, 1 is accepted

Sort by
0
MASSEMIN
Top achievements
Rank 1
answered on 16 Jul 2012, 08:21 AM
I found the solution : key attribute must have first letter capitalized : "Key"

sorry
Tags
Scheduler
Asked by
MASSEMIN
Top achievements
Rank 1
Answers by
MASSEMIN
Top achievements
Rank 1
Share this question
or