Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
212 views
Hi All,

Could we change the position of rad chart display ? Actually I want to display the legends on below x-axis horizontally. Is it possible?


I tried this code, ucMovement.Legend.Appearance.Position.Auto = false by doing this it will display in top right (default). Then I set the position X, but it is not coming properly. Thanks in Advance.

Best Regards,
Akki
Akki
Top achievements
Rank 1
 answered on 16 Jul 2012
7 answers
121 views
The following code does not render correctly in IE7 or IE8. It works fine in IE9 and other non IE browsers. It seems that if I remove the images from the menu it will render fine in IE7 or IE8.

Please let me know a solution to get this to work with the images, rtl, and width is 100%.

Thanks

<%@ Page Language="C#" AutoEventWireup="true"  %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
<body>
<form id="form1" runat="server">
 
<telerik:RadScriptManager ID="ScriptManager" runat="server" />
<telerik:RadMenu ID="RadMenu1" runat="server" EnableRootItemScroll="true" Width="100%" dir="rtl" EnableAutoScroll="true" >
<Items>
<telerik:RadMenuItem Text="Home" ImageUrl="/images/icons/102.gif"  />
<telerik:RadMenuItem Text="Task List" ImageUrl="/images/icons/102.gif" />
<telerik:RadMenuItem Text="IT Admin" ImageUrl="/images/icons/102.gif" />
<telerik:RadMenuItem Text="Content List" />
<telerik:RadMenuItem Text="My Knowledge Views" />
<telerik:RadMenuItem Text="Start Process" ImageUrl="/images/icons/102.gif" />
<telerik:RadMenuItem Text="Running Workflows" />
</Items>
</telerik:RadMenu>
 
 
</form>
 
</body>
</html>
Ivan Zhekov
Telerik team
 answered on 16 Jul 2012
3 answers
104 views
Hello,
I would like to use a RadRotator that get the url pictures from an sql db and display it with two button (next and previous) so first that display the first picture and then the others like this way http://www.cantoncomunique.fr 
Thank you
Slav
Telerik team
 answered on 16 Jul 2012
1 answer
91 views
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.
MASSEMIN
Top achievements
Rank 1
 answered on 16 Jul 2012
1 answer
70 views

I am unable to successfully submit an ASP.NET web form when a large number of RadListBox items are selected (79 in this case).  However, if I select a significantly smaller number of items, I am able to successfully submit the form.  After consulting with a firewall SME, I was able to verify that the following parameter was causing the "network security engine" to reject the request:  "radListBox_ID_ClientState={"logEntries":[{"Type":1,"Index":"1","Data":{"value":"6","selected":false,"text":"TextValue_1"}},{"Type":1,"Index":"2","Data":{"value":"15","text":"TextValue_2"}},...,{"Type":1,"Index":"79","Data":{"value":"101","text":"TextValue_79"}},"}}],"selectedIndices":[0],"checkedIndices":[],"scrollPosition":1629}. 

Obviously, the payload for this parameter is significantly large.   Consequently, the network "network security engine" exceeded its set number of maximum recursions to verity the content of this parameter was not malicious.  Therefore, the request was rejected when a user selected a large number of items via RadListBox control, causing a page error.  Is there a known work around for this issue? Is there a way to reduce the payload when submitting a form with a large number of RadListBox items are selected (e.g., > 100)?  Thanks in advance!

Bozhidar
Telerik team
 answered on 16 Jul 2012
1 answer
74 views
I want to show an alternating background colour for the X axis on a line chart on the ASP.Net Ajax RadChart control.
I have found this article that shows the StripLine property for Silverlight and WPF chart control but I cannot find this property on the Ajax control. Maybe I'm just not finding it  - how can I set the background colour to stripe vertically in  line with the X axis columns.

Thanks.
Rosko
Telerik team
 answered on 16 Jul 2012
3 answers
121 views
I have a radcombox with custom validator for checking if any item is selected in the list; I have virtual scrolling enabled. When I search for items containing some text, the items are populating in the combobox and if there are many items, the scroll bar is showing. When I select the scroll down arrow , the validation is getting triggered. Ideally it should not as I am just scrolling. The validation should only trigger when I do not select an item in the radcombobox and I lose control focus. Is this a bug in telerik?

<telerik:RadComboBox ID="ListSelect" runat="server" Width="192px" EnableLoadOnDemand="true"      ShowMoreResultsBox="true" EnableVirtualScrolling="true" WebServiceSettings-Path="../../ws/AutoSuggest/AutoSuggest.asmx"  AllowCustomText="true" Filter="Contains" OnClientItemsRequesting="SearchAutoSuggest"      WebServiceSettings-Method="GetResults" OnClientSelectedIndexChanged="SelectAutoSuggestValue" AutoPostBack="false" MaxHeight="400px" OnClientDropDownOpening="selectText" MarkFirstMatch="true"  OnClientItemsRequested="highlightText" OnClientDropDownOpened="highlightText"   >
  </telerik:RadComboBox>
                              
                                <asp:CustomValidator ID="Validator_PatientGroupSelect" runat="server" ControlToValidate="ListSelect" ClientValidationFunction="checkValidSelection" />
Dimitar Terziev
Telerik team
 answered on 16 Jul 2012
7 answers
156 views
I've got a treelist with 7 columns, the first one has the check selector, the second one is a TreeListBoundColumn and the others are TreeListTemplateColumn between date fields, comboboxes and numeric text boxes, I PRESS THE ADD BUTTON ('plus icon' given by the treelist template) and fill the data, HOW CAN I GET THE DATA I JUST PUT IN THE FIELDS (specially the templates) TO INSERT THEM IN DATABASE WHEN I PRESS THE SAVE ICON (check icon)?
THANKS IN ADVANCE

This is my tree list code:

<telerik:RadTreeList ID="tasksListRadTreeList" runat="server" Width="100%"

                DataKeyNames="IdTask"

                ParentDataKeyNames="IdFather" AutoGenerateColumns="False"

                EditMode="InPlace" AllowPaging="False"

              

                oneditcommand="tasksListRadTreeList_EditCommand"

                oninsertcommand="tasksListRadTreeList_InsertCommand" 

                onneeddatasource="tasksListRadTreeList_NeedDataSource"

                onitemdatabound="tasksListRadTreeList_ItemDataBound">

                        <Columns>

                            <telerik:TreeListSelectColumn HeaderStyle-Width="38px">

                            </telerik:TreeListSelectColumn>

                                        

                            <telerik:TreeListBoundColumn DataField="NameTask" HeaderText="Title" UniqueName="NameTask" SortExpression="NameTask" HeaderStyle-Width="30%" />

                            <telerik:TreeListTemplateColumn HeaderText="Start Date" DataField="StartDate" UniqueName="StartDate" SortExpression="StartDate" HeaderStyle-Width="80px">

                            <ItemTemplate>

                                <asp:Label ID="label3" runat="server" Text='<%# Eval("StartDate") %>' ToolTip='<%# Eval("EndDate") %>'></asp:Label>

                            </ItemTemplate>

                            <EditItemTemplate>

                                <telerik:RadDatePicker ID="startDateRadDatePicker1" Runat="server" SelectedDate='01/01/2012' Width="80" Calendar-CultureInfo="es-CO" Calendar-DateRangeSeparator=" /">

                                </telerik:RadDatePicker>

                            </EditItemTemplate>

                            </telerik:TreeListTemplateColumn>

                            <telerik:TreeListTemplateColumn HeaderText="End Date" DataField="EndDate" UniqueName="EndDate" SortExpression="EndDate" HeaderStyle-Width="80px">

                            <ItemTemplate>

                                <asp:Label ID="label4" runat="server" Text='<%# Eval("EndDate") %>' ToolTip='<%# Eval("EndDate") %>'></asp:Label>

                            </ItemTemplate>

                            <EditItemTemplate>

                                <telerik:RadDatePicker ID="endDateRadDatePicker" Runat="server" SelectedDate='01/01/2012' Width="80">

                                </telerik:RadDatePicker>

                            </EditItemTemplate>

                            </telerik:TreeListTemplateColumn>                                                    

                            <telerik:TreeListTemplateColumn HeaderText="Priority" DataField="Priority" UniqueName="Priority" SortExpression="Priority" HeaderStyle-Width="60px">

                            <ItemTemplate>

                                <asp:Label ID="label5" runat="server" Text='<%# Eval("Priority") %>' ToolTip='<%# Eval("Priority") %>'></asp:Label>

                            </ItemTemplate>

                            <EditItemTemplate>

                                <telerik:RadComboBox ID="priorityRadComboBox" CheckBoxes="True" ShowDropDownOnTextboxClick="True" runat="server" Culture="es-CO" Width="60px"></telerik:RadComboBox>

                            </EditItemTemplate>

                            </telerik:TreeListTemplateColumn>

                            <telerik:TreeListTemplateColumn HeaderText="% " DataField="Percentage" UniqueName="Percentage" SortExpression="Percentage" HeaderStyle-Width="50px">

                            <ItemTemplate>

                                <asp:Label ID="label6" runat="server" Text='<%# Eval("Percentage") %>' ToolTip='<%# Eval("Percentage") %>'></asp:Label>

                            </ItemTemplate>

                            <EditItemTemplate>

                                <telerik:RadNumericTextBox ID="percentRadNumericTextBox" runat="server" Text='<%# Eval("Percentage") %>' Width="50" MaxLength="3" MaxValue="100" MinValue="0" ShowButton="False" ShowSpinButtons="True"></telerik:RadNumericTextBox>

                            </EditItemTemplate>

                            </telerik:TreeListTemplateColumn>

                           <telerik:TreeListEditCommandColumn UniqueName="EditCommandColumn" ButtonType="ImageButton" ShowAddButton="True" HeaderStyle-Width="70px" AddRecordText="Agregar Subtarea" CancelText="Cancelar" EditText="Editar Tarea">

                                <ItemStyle CssClass="MyImageButton" />

                            </telerik:TreeListEditCommandColumn>

                        </Columns>

            </telerik:RadTreeList>

            </telerik:RadAjaxPanel>


Andrey
Telerik team
 answered on 16 Jul 2012
1 answer
193 views
Hi there,
   For a ASP.NET project we are working on, we need to have the capability of generate Telerik control HTML in server side code and then return the controls's html to front-end via client script for dynamic replacement. 
   We have been unsuccessful in getting Telerik control HTML output via server side code and wondering if everyone have had similar experience can share some knowledge and solutions. 

   Please refer to the code below on how we are trying to get Telerik control HTML output:

StringWriter tw = new StringWriter(sb);
HtmlTextWriter hw = new HtmlTextWriter(tw);
Telerik.Web.UI.RadComboBox rcb = new Telerik.Web.UI.RadComboBox();
rcb.ID = "sokmething";
rcb.RenderControl(hw);   // Freeze here during execution
string b = tw.ToString();
Ivana
Telerik team
 answered on 16 Jul 2012
1 answer
83 views
Hi!

I have a RadGrid control on page with 100% width.
When vertical scroll appears on the grid, its extends page width with scrollbar's width. In this case the column's header and item style width is the same.
I use tablelayout:fixed property in mastertableview. If I don't use this property the problem is still exists.

If I put the radgrid in a table with table-layout:fixed, its doesn't extend page, but the column's header and item style width not the same.

How should I resolve this issue?
Thanks
Princy
Top achievements
Rank 2
 answered on 16 Jul 2012
Narrow your results
Selected tags
Tags
+124 more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?