Hi,
i want griddropdowncolumn used as radcomboBox should be set to value when checkbox is check and after that disable that dropdown
<telerik:GridCheckBoxColumn DataField="bitPhysical" HeaderText="Physical" UniqueName="bitPhysical" StringFalseValue="0" StringTrueValue="1" AllowFiltering="false"></telerik:GridCheckBoxColumn>
want this column to change and disable when check box is checked
<telerik:GridDropDownColumn DropDownControlType="RadComboBox" EmptyListItemText="Select..." ListTextField="strHostName" ListValueField="intHostServerId" HeaderText="Host" UniqueName="HostName" FilterDelay="200" ShowFilterIcon="false"></telerik:GridDropDownColumn>
also, would be able to do same with
<telerik:GridTemplateColumn HeaderText="Manufacturer" ItemStyle-Width="240px" UniqueName="ManufacturerName" FilterDelay="200" ShowFilterIcon="false">
<EditItemTemplate>
<telerik:RadDropDownList ID="radManufacturerDDL" runat="server" DefaultMessage="Select....." OnItemSelected="radManufacturerDDL_ItemSelected" AutoPostBack="true"></telerik:RadDropDownList>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Model" ItemStyle-Width="240px" UniqueName="ModelName" FilterDelay="200" ShowFilterIcon="false">
<EditItemTemplate>
<telerik:RadDropDownList ID="radModelDDL" runat="server" DefaultMessage="Select..." AutoPostBack="true">
</telerik:RadDropDownList>
</EditItemTemplate>
</telerik:GridTemplateColumn>
Please tell how i access this on client side.

I've tried using the various demo projects here - https://github.com/telerik/aspnet-sdk/tree/master/Scheduler/ExchangeCalendarSync
I'm getting this error:
Compiler Error Message: CS0508: 'ExchangeSchedulerProvider.GetAppointments(Telerik.Web.UI.RadScheduler)': return type must be 'System.Collections.Generic.IEnumerable<Telerik.Web.UI.Appointment>' to match overridden member 'Telerik.Web.UI.SchedulerProviderBase.GetAppointments(Telerik.Web.UI.RadScheduler)'
Source Error:
Line 123: /// <param name="owner">The owner RadScheduler instance.</param>
Line 124: /// <returns></returns> Line 125: public override IEnumerable<Appointment> GetAppointments(RadScheduler owner) Line 126: {
Line 127: List<ItemIdType> itemIds = new List<ItemIdType>();
Source File: c:\inetpub\sync\App_Code\ExchangeSchedulerProvider.cs Line: 125

<telerik:RadButton runat="server" ID="testButton" OnClientClick="onclicktestbutton" />
<script type="text/javascript">
function onclicktestbutton(sender, args) {
// I don't use window.event (it is non-standard)
}
</script>
Where can I set the event object??
I wanted to do it like this:
<telerik:RadButton runat="server" ID="testButton" OnClientClick="onclicktestbutton(event)" />
but we all know you can't insert paragraph on a telerik client event attribute because it automatically includes in the function the parameters (sender, args).
Hi,
I am using version 2015.1.401.40 of the ASP.NET controls for AJAX.
I would think my question would be very common and easy to do.
I have a RadGrid with a MasterTableView and 1 DetailTable (GridTableView). I am using NeedDataSource for binding and it is all working fine.
Not all records in the master, have child records. For the rows that do not, I have hidden the expand/collapse button in the DetailTableDataBind event.
When I export to Excel, I want to expand all rows that contain a child record, so that those rows get exported. I was doing that in DetailTableDataBind by setting every GridDataItem .Expanded = True.
ISSUE:
The problem with this is that it expands and exports the child rows that say "No Child Records".
Question: How can I NOT have it export the gridtableview, if there are no child records?
In the DetailTableDataBind, if there are no child records I set the DetailTableView.Visible = False, but my export still contains a blank row (which is better than the "No Child Records", but not perfect).
Thanks,
Brent

<telerik:RadWindowManager ID="radWindowManager1" runat="server" ViewStateMode="Disabled" >
<Windows>
<telerik:RadWindow ID="RadWindow1" runat="server" ShowContentDuringLoad="false" DestroyOnClose="false" ViewStateMode="Disabled" KeepInScreenBounds="true"
VisibleStatusbar="false" Modal="True" >
</telerik:RadWindow>
<telerik:RadWindow ID="DialogDeleteConfirm" runat="server" Width="450px" Height="120px" Modal="true">
<ContentTemplate>
<div style="padding: 10px; text-align: center;">
<p style="text-align: center;">Do you want to delete items automatically?</p>
<asp:Button ID="btnOk" runat="server" OnClientClick="returnArg('O'); return false;" />
<asp:Button ID="btnSelection" runat="server" OnClientClick="returnArg('S'); return false;" />
<asp:Button ID="btnKeepAll" runat="server" OnClientClick="returnArg('K'); return false;" />
<asp:Button ID="btnCancel" runat="server" OnClientClick="returnArg('C'); return false;" />
</div>
</ContentTemplate>
</telerik:RadWindow>
</Windows>
</telerik:RadWindowManager>
radWindowManager1.RadConfirm(messageToUser, "autoDeleteCallback", 450, 120, null, "");by
DialogDeleteConfirm.VisibleOnPageLoad = true;
hi
I am applying a CssClass on the DateTimePicker and it display 2 textbox outline. How should i remove the inner border of the DateTimePicker?
This is my code:
<telerik:RadDateTimePicker ID="RadDateTimePicker2" CssClass="form-control" runat="server" Width="100%" TimeView-Interval="00:30:00"></telerik:RadDateTimePicker>

Hello,
I have installed the RadControls trial version and the sample ScheduleBuilder (that is the only sample that I have installed). The sample is in C# and in the header of the Default.aspx sample, it contains:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
My reason for pointing this out is because on your webpage Scheduler / Binding to Generic List, the VB example contains several additional lines of script between the <%@ Page... line and the <!DOCTYPE.... line (as follows):
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb"
Inherits="Telerik.Web.Examples.Scheduler.BindToList.DefaultVB" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<%@ Register TagPrefix="qsf" Namespace="Telerik.QuickStart" %>
<%@ Register TagPrefix="qsf" TagName="Header" Src="~/Common/Header.ascx" %>
<%@ Register TagPrefix="qsf" TagName="HeadTag" Src="~/Common/HeadTag.ascx" %>
<%@ Register TagPrefix="qsf" TagName="Footer" Src="~/Common/Footer.ascx" %>
<%@ Register TagPrefix="sds" Namespace="Telerik.Web.SessionDS" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/tr/xhtml11/dtd/xhtml11.dtd">
I'm not sure if this has anything to do with my issue, so I want to point out this difference between the VB and C# examples.
The ScheduleBuilder sample has, but default, connection strings for SQL Server. I am trying to replace those connections with a connector to my Exchange data store. That is possible, right?
I am using Visual Studio 2010 and Exchange Server 2010. These are 2 different machines. The sample ScheduleBuilder is running from the VS2010 machine and attempting to connect to the Exchange server machine (both machines are in the same network).
I modified the Web.config that is included with the sample. Under the <configuration> node of the Web.Config, I added:
<
configuration>
<!-- I Added: -->
<configSections>
<sectionGroup name="telerik.web.ui">
<section name="radScheduler" type="Telerik.Web.UI.RadSchedulerConfigurationSection, Telerik.Web.UI, PublicKeyToken=121fae78165ba3d4" allowDefinition="MachineToApplication" requirePermission="false"/>
</sectionGroup>
</configSections>
<!-- And I Added: -->
<telerik.web.ui>
<radScheduler defaultAppointmentProvider="Integrated">
<appointmentProviders>
<add name="ExchangeSchedulerProvider" type="Telerik.Web.Examples.Scheduler.ExchangeSchedulerProvider" serverUrl=https://myExchSvr.myDomain.com/EWS/Exchange.asmx username="Admin" password="myPwd" domain="myDomain" />
</appointmentProviders>
</radScheduler>
</telerik.web.ui>
<!-- Everything after this was already in the Web.Config -->
.
.
.
</configuration>
In addition, I went to the Default.aspx script and along with the attributes already assigned to telerik:RadScheduler, I added attribute:
ProviderName="ExchangeSchedulerProvider"
The sample project compiles clean, but when I try to view Default.aspx, the browser displays:
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
|
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.225
Using the serverURL that you see above, I can successfully add a Web Reference to https://myExchSvr.myDomain.com/EWS/Services.wsdl, and when adding the reference, I was prompted for credentials, so I used the same username and password specified in the Web.Config. I was able to successfully add a reference to Services.wsdl. Therefore I am assuming that I should have access to Exchange.asmx as well.
The error that I am encountering does not appear to be a server-side issue, but it appears that maybe the ExchangeScheduleProvider did not properly register when installed on the VS2010 machine??? Regardless, I did test with Anonymous access both enabled and disabled on the EWS virtual (Exchange Server machine), but the same error occurs.
I believe I am overlooking something obvious, but don't know what, and I have been trying to resolve this for several hours now. My boss wants me to prove that this control will be able to read/write appointments directly from/to an Exchange data store before he will buy this product. And I would like to prove that this radControl will work so that I don't have to design something from scratch.
How do I resolve this problem?
Thank you,
Steven

Hi
I have a grid with several GridDropDownColumn.
I want to be able to show/hide of few of these GridDropDownColumn depending on what is selected in on of the other GridDropDownColumn.
How can I perform this? Is it possible client side.
I know how to find a Dropdowncontrol if I use GridTemplateColumn and disable the control but I would prefer the show/hide the entire column

I have a textbox and a listbox that displays customer information. On page load my listbox populates just fine from a webmethod and shows in a ClientItemTemplate. I want to be able to call this webmethod from code-behind and repopulate the listbox based on what text is typed in the textbox (onkeyup). The problem is I keep getting the error "JavaScript runtime error: Object doesn't support property or method 'get_parent'"
Here is the server-side code:
<WebMethod()> _ Public Shared Function GetCustomers() As RadListBoxItemData() Dim data As DataTable = GetData("248") Dim result As New List(Of RadListBoxItemData)() For i As Integer = 0 To data.Rows.Count - 1 Dim itemData As New RadListBoxItemData() Dim FullName As String = data.Rows(i)("FName").ToString() & " " & data.Rows(i)("LName").ToString() itemData.Text = data.Rows(i)("CPhone").ToString() itemData.Value = data.Rows(i)("CPhone").ToString() itemData.Attributes.Add("FullName", FullName) itemData.Attributes.Add("Phone", data.Rows(i)("CPhone").ToString().Insert(0, "(").Insert(4, ") ").Insert(9, "-")) '--Determine opt-in icon Select Case data.Rows(i)("OptIn").ToString() Case -1 itemData.Attributes.Add("OptIn", "<img alt='Opted-In' src='images_zw/OptIn_OptedIn.png' />") Case 0 itemData.Attributes.Add("OptIn", "<img alt='Blocked / Opted-Out' src='images_zw/OptIn_Blocked.png' />") Case 1 itemData.Attributes.Add("OptIn", "<img alt='Pending Opt-In' src='images_zw/OptIn_Pending.png' />") Case 2 itemData.Attributes.Add("OptIn", "") End Select result.Add(itemData) Next Return result.ToArray() End Function
Here is my client-side code:
<script type="text/javascript"> function Generate() { var listbox = $find("<%= lstContacts.ClientID%>"); var result = PageMethods.GetCustomers(function (response) { response.forEach(function (listitem) { listbox.trackChanges(); listbox.get_items().add(listitem); listbox.commitChanges(); }); //listbox.insertItems(response); }); } </script> <div> <div><telerik:RadTextBox runat="server" id="txtSearch" AutoPostBack="False" onkeyup="Generate();" Text="248"></telerik:RadTextBox></div> <div> <telerik:RadListBox runat="server" ID="lstContacts" width="300" height="500" AutoPostBack="False"> <ClientItemTemplate> <div class="Search_Conversation_Container"> <div class="Search_OptIn"> #= Text # </div> </div> </ClientItemTemplate> <WebServiceSettings Path="testlist.aspx" Method="GetCustomers"></WebServiceSettings> </telerik:RadListBox> </div> </div>