Team,
I am using radFormDecorator(Dll V2012.1.411.40) and vista skin in application.
I have included tree control having 1000 nodes in field set.
In this scenario I am facing following issues
This 1st issue I have seen on IE8, FF,Chrome.
This 2nd issue I have seen only on IE8.
I have attached the screenshot for each.
Please help me out for this issue.
Thanks in advance
radCtrl.Items.Clear();radCtrl.Items.Add(new RadComboBoxItem(rowValue, rowValue));radCtrl.SelectedIndex = 0;protected void lstDentalGroup_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e) { ListItemsController ctrl = new ListItemsController(); lstDentalGroup.DataSource = ctrl.Select_Single_Column("Value1", "DENTALGROUP"); lstDentalGroup.DataBind(); }<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"><telerik:RadAjaxManagerProxy ID="radAjaxProxy_Calls" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="btnSave"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="mainContrainer" LoadingPanelID="radAjaxLoadingPanel" UpdatePanelRenderMode="inline" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings></telerik:RadAjaxManagerProxy><telerik:RadCodeBlock ID="radCodeBlockMain" runat="server"> <script type="text/javascript"> function OnDropDownHandler(sender, eventArgs) { sender.requestItems("", false); } </script></telerik:RadCodeBlock><asp:Panel runat="server" ID="mainContrainer" style="width:100%; height:100%; font-size:11px;"> <telerik:RadComboBox runat="server" ID="lstDentalGroup" Width="92%" Font-Size="11px" OnClientDropDownOpening="OnDropDownHandler" DataTextField="CValue" DataValueField="CValue" OnItemsRequested="lstDentalGroup_ItemsRequested" /> <asp:Button runat="server" ID="btnSave" onclick="btnSave_Click" Text="Save Combobox Value" /></asp:Panel></asp:Content>public partial class TestTelerik : System.Web.UI.Page{ protected void Page_Load(object sender, EventArgs e) { if (!Page.IsPostBack) initialize_customerID("Boxer, Ken"); } private void initialize_customerID(string customerID) { SQLGeneral ctrl = new SQLGeneral(); DataTable dt = new DataTable(); Hashtable hashFilter = new Hashtable(); hashFilter["CustomerID"] = customerID; hashFilter["Deleted"] = 0; dt = ctrl.GetDataTable(CustomersController.customer_details, "Customers c LEFT JOIN ListItems li ON c.State = li.Value1", hashFilter); if (dt != null) { // populate all the textBoxes & radComboBoxes in the form within one single for cycle -> save a lot fo production time. for (int i = 0; i <= dt.Columns.Count - 1; i++) { if (dt.Columns[i].DataType == typeof(System.String)) { string columnName = dt.Columns[i].ColumnName.ToString(); string rowValue = dt.Rows[0][columnName].ToString().Trim(); // GET RADDROPDOWNBOXES RadComboBox radCtrl = this.mainContrainer.FindControl("lst" + columnName) as RadComboBox; if (radCtrl != null) { radCtrl.Items.Clear(); radCtrl.Items.Add(new RadComboBoxItem(rowValue, rowValue)); radCtrl.SelectedIndex = 0; } } } } } protected void lstDentalGroup_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e) { ListItemsController ctrl = new ListItemsController(); lstDentalGroup.DataSource = ctrl.Select_Single_Column("Value1", "DENTALGROUP"); lstDentalGroup.DataBind(); } protected void btnSave_Click(object sender, EventArgs e) { string tmpSelValue = lstDentalGroup.SelectedItem.Value; }}
Once again, i find your documentation and demos so convoluted that I have given up trying to make any sense out it.
I am again trying to accomplish a very simple thing: make a hierarchical grid out of a simple, 2-table relational dataset.
All I wish to do is to create a simple parent-child hierachy in a RadGrid, using an ADO DataSet object containing 2 tables, with a DataRelation already added to the DataSet, which should be enough to establish a parent-child relationship.
Here is dummy code that creates the DataSet:
DataTable dt1 = new DataTable();
DataTable dt2 = new DataTable();
DataSet ds = new DataSet();
DataRow myRow;
dt1.Columns.Add(
"Period");
dt1.Columns.Add(
"Period_Name");
dt2.Columns.Add(
"Period");
dt2.Columns.Add(
"File_Name");
dt2.Columns.Add(
"Size");
myRow = dt1.NewRow();
myRow[
"Period"] = "60";
myRow[
"Period_Name"] = "April 2011";
dt1.Rows.Add(myRow);
myRow = dt1.NewRow();
myRow[
"Period"] = "59";
myRow[
"Period_Name"] = "March 2011";
dt1.Rows.Add(myRow);
myRow = dt1.NewRow();
myRow[
"Period"] = "58";
myRow[
"Period_Name"] = "February 2011";
dt1.Rows.Add(myRow);
myRow = dt1.NewRow();
myRow[
"Period"] = "57";
myRow[
"Period_Name"] = "January 2011";
dt1.Rows.Add(myRow);
myRow = dt2.NewRow();
myRow[
"Period"] = "60";
myRow[
"File_Name"] = "User_60_123456_1.pdf";
myRow[
"Size"] = "923324";
dt2.Rows.Add(myRow);
myRow = dt2.NewRow();
myRow[
"Period"] = "60";
myRow[
"File_Name"] = "User_60_123456_2.pdf";
myRow[
"Size"] = "433324";
dt2.Rows.Add(myRow);
myRow = dt2.NewRow();
myRow[
"Period"] = "60";
myRow[
"File_Name"] = "User_60_123456_3.pdf";
myRow[
"Size"] = "693324";
dt2.Rows.Add(myRow);
ds.Tables.Add(dt1);
ds.Tables.Add(dt2);
DataRelation dRel = new DataRelation("Period_to_PDF", ds.Tables[0].Columns["Period"],
ds.Tables[1].Columns[
"Period"]);
ds.Relations.Add(dRel);
<telerik:RadComboBox ID="rcbEntities" runat="server" Width="440px" Height="140px"
ShowToggleImage="False" EmptyMessage="Start Typing..." MinFilterLength="3" EnableLoadOnDemand="true"
ShowMoreResultsBox="True" EnableVirtualScrolling="True" HighlightTemplatedItems="True"
OnClientSelectedIndexChanged="rcbEntities_SelectedIndexChanged"
OnClientItemsRequested="rcbEntities_ClientItemsRequested">
<WebServiceSettings Method="GetEntities" Path="~/TestService.svc" />
</telerik:RadComboBox>
Do you have a detailed example of a simple service that is defined in a separate VS project / IIS site and is being called from a RadComboBox to perform autocomplete ?