SPSite mySite = SPContext.Current.Site; SPWeb web = mySite.OpenWeb(); SPList lststudent = web.Lists["Registration|Form"]; var students = from SPListItem student in lststudent.Items where student["Reference ID"].ToString() == RadTextBox1.Text || student["EID"].ToString() == RadTextBox1.Text select new { FullName = student["Reference Name"].ToString(), ReportsTo = student["Reference ID"].ToString(), EmployeeID = student["EID"].ToString() }; RadOrgChart1.DataSource = students; RadOrgChart1.DataBind();<telerik:RadOrgChart runat="server" ID="RadOrgChart1" DataFieldID="EmployeeID" DataFieldParentID="ReportsTo" DataTextField="FullName"></telerik:RadOrgChart><script type="text/javascript"> function ItemsRequesting(sender, args) { var context = args.get_context(); context["FilterString"] = args.get_text(); debugger; }</script>
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"> <Scripts> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js"> </asp:ScriptReference> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js"> </asp:ScriptReference> <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js"> </asp:ScriptReference> </Scripts> </telerik:RadScriptManager> <telerik:RadComboBox runat="server" ID="RadComboBox1" Height="100px" EnableLoadOnDemand="true" ShowMoreResultsBox="true" EnableVirtualScrolling="true" EmptyMessage="Type here ..." OnClientItemsRequesting="ItemsRequesting"> <WebServiceSettings Path="WcfDataService1.svc" Method="LoadData" /></telerik:RadComboBox>[ServiceContract(Namespace = "")] [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)] public class WcfDataService1 { [OperationContract] public RadComboBoxData LoadData(RadComboBoxContext context) { // Where is my context :-) } }RadComboBoxContext context in the WebService is always null. protected void btnSearch_Click(object sender, EventArgs e) { Session["SearchKontakti"] = "1"; }protected void gvKontakti_PreRender(object sender, EventArgs e) { int idKontakt = Convert.ToInt32(Request.QueryString["idk"]); if (Session["SearchKontakti"] == "1") { var kontakti = from k in db.Kontakt select k; int idTipUsera = Convert.ToInt32(rcbTipUsera.SelectedValue); int idTvrtka = Convert.ToInt32(rcbTvrtka.SelectedValue); if (rcbTvrtka.SelectedValue != "0") { kontakti = kontakti.Where(k => k.idFirma == idTvrtka); } if (rcbTipUsera.SelectedValue != "0") { kontakti = kontakti.Where(k => k.idOvlasti == idTipUsera); } if (chkAktivan.Checked == true) { kontakti = kontakti.Where(k => k.Aktivan == true); } else { kontakti = kontakti.Where(k => k.Aktivan == false); } int idAuthKontakt = Convert.ToInt32(Session["authenticatedUI"]); if (idKontakt > 0 && idAuthKontakt == idKontakt) { gvKontakti.DataSource = from k in kontakti where k.idKontakt == idKontakt orderby k.Prezime, k.Ime select new { Tvrtka = k.Firma.Naziv, k.idKontakt, Naziv = k.Ime + " " + k.Prezime, Funkcija = k.Funkcija, k.Ime, k.Prezime, k.Tel1, k.Tel2, k.Mob1, k.Mob2, k.Email1, k.Email2, k.Fax, k.Adresa1, k.Adresa2, k.Adresa3, k.Grad, k.PostanskiBroj, k.Drzava, k.Biljeske, k.Aktivan, k.Username, k.Password }; } else if (idKontakt > 0 && idAuthKontakt != idKontakt) { gvKontakti.DataSource = from k in kontakti where k.idKontakt == idKontakt orderby k.Prezime, k.Ime select new { Tvrtka = k.Firma.Naziv, k.idKontakt, Naziv = k.Ime + " " + k.Prezime, Funkcija = k.Funkcija, k.Ime, k.Prezime, k.Tel1, k.Tel2, k.Mob1, k.Mob2, k.Email1, k.Email2, k.Fax, k.Adresa1, k.Adresa2, k.Adresa3, k.Grad, k.PostanskiBroj, k.Drzava, k.Biljeske, k.Aktivan, k.Username, k.Password }; } else { gvKontakti.DataSource = from k in kontakti orderby k.Prezime, k.Ime select new { Tvrtka = k.Firma.Naziv, k.idKontakt, Naziv = k.Ime + " " + k.Prezime, Funkcija = k.Funkcija, k.Ime, k.Prezime, k.Tel1, k.Tel2, k.Mob1, k.Mob2, k.Email1, k.Email2, k.Fax, k.Adresa1, k.Adresa2, k.Adresa3, k.Grad, k.PostanskiBroj, k.Drzava, k.Biljeske, k.Aktivan, k.Username, k.Password }; } gvKontakti.DataBind(); } }
RadEditor Styles issue:
I am using RadEditorSharePoint
(5.8.11.0) in my SharePoint2010 environment. I am facing this weird issue with
RadEditor styles.
1. Type some text in RadEditor while SharePoint
page is in edit mode.
2. Before applying RadEditor styles to the text I
see following styles:
a. a. Notice the class applied to the DIV: reContentArea, reContentAreaToggle.
b. Also, notice overflow:auto property.
3. Now, select the text in the RadEditor and change the style using RadEditor menu.
4. After changing the styles, following is observed:
Attachment 2
a. Notice now the class applied to DIV. It is “ms-rteStyle-Caption”.
b. Also, overflow:auto property is missing.
5. After this particular operation, if we type extended text in the RadEditor, it overlaps of the other content of the page. (Because overflow property no more exists in styles)
Need your inputs on this issue.

Hi
I have used the following code for a while but after updating to 2011.3 from 2011.2.Sp1
The combox is not displaying the dropdown when clicked. Have reproduces the issue in a simple standalone webform and it seems as if the child controls (asp:DropDownList) is causing the issue somehow?
Any ideas about how I can fix this?
Thanks in advance
Johan
EDIT:
Updating to 2011 Q3 SP1 solved it. Dont know what caused it but it works after the service pack
<telerik:RadComboBox ID="rcbxChartSerie" runat="server" DropDownWidth="240px" Height="200px" SkinID="radComboBox" Width="150px" CollapseDelay="1000"> <Items> <telerik:RadComboBoxItem runat="server" Text="Serie X" Value="_header" /> </Items> <CollapseAnimation Duration="1500" Type="OutQuint"></CollapseAnimation> <ExpandAnimation Duration="350" Type="OutQuint"></ExpandAnimation> <ItemTemplate> <div onclick="event.cancelBubble=true" style="padding: 8px 3px 3px 8px;"> <div> <asp:Label ID="lblEnabled" runat="server" Text="Enabled" /> </div> <div> <asp:DropDownList ID="ddlEnabled" runat="server" Width="200px" Enabled="false" /> </div> <div style="margin-top: 8px;"> <asp:Label ID="lblColumn" runat="server" Text="Column" /> </div> <div> <asp:DropDownList ID="ddlColumn" runat="server" Width="200px" Enabled="false" /> </div> <div style="margin-top: 8px;"> <asp:Label ID="lblType" runat="server" Text="Type" /></div> <div> <asp:DropDownList ID="ddlType" runat="server" Width="200px" Enabled="false" /> </div> <div style="margin-top: 8px;"> <asp:Label ID="lblYAxis" runat="server" Text="Y Axis" /> </div> <div> <asp:DropDownList ID="ddlAxis" runat="server" Width="200px" Enabled="false" /> </div> </div> </ItemTemplate></telerik:RadComboBox> 