I have a radgrid that looks like:
<
telerik:RadGrid
ID
=
"RadGrid1"
runat
=
"server"
DataSourceID
=
"MultiEmployeeList"
AutoGenerateColumns
=
"False"
CellSpacing
=
"0"
GridLines
=
"None"
GroupingEnabled
=
"False"
AllowMultiRowEdit
=
"false"
AutoGenerateEditColumn
=
"True"
HorizontalAlign
=
"Left"
Width
=
"800px"
>
<
ClientSettings
>
<
ClientEvents
OnCommand
=
"OnCommand"
/>
</
ClientSettings
>
<
HeaderContextMenu
CssClass
=
"GridContextMenu GridContextMenu_Default"
>
</
HeaderContextMenu
>
<
MasterTableView
DataSourceID
=
"MultiEmployeeList"
DataKeyNames
=
"rasID"
ClientDataKeyNames
=
"rasID"
EditMode
=
"InPlace"
>
<
RowIndicatorColumn
FilterControlAltText
=
"Filter RowIndicator column"
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
RowIndicatorColumn
>
<
ExpandCollapseColumn
FilterControlAltText
=
"Filter ExpandColumn column"
>
<
HeaderStyle
Width
=
"20px"
></
HeaderStyle
>
</
ExpandCollapseColumn
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"empName"
FilterControlAltText
=
"Filter column column"
UniqueName
=
"Name"
ReadOnly
=
"true"
>
</
telerik:GridBoundColumn
>
<
telerik:GridDropDownColumn
DataField
=
"rasRoleID"
DataSourceID
=
"RoleList"
FilterControlAltText
=
"Filter column column"
ListTextField
=
"mrrRoleDesc"
ListValueField
=
"mrrID"
UniqueName
=
"rasRoleID"
EmptyListItemText
=
" -- Select Role --"
EnableEmptyListItem
=
"True"
>
</
telerik:GridDropDownColumn
>
</
Columns
>
<
EditFormSettings
>
<
EditColumn
FilterControlAltText
=
"Filter EditCommandColumn column"
>
</
EditColumn
>
</
EditFormSettings
>
</
MasterTableView
>
<
FilterMenu
EnableImageSprites
=
"False"
>
</
FilterMenu
>
</
telerik:RadGrid
>
<
MasterTableView
EditMode
=
"PopUp"
Caption
=
"Caption"
CommandItemDisplay
=
"Top"
NoMasterRecordsText
=
"No Rows Returned!"
DataKeyNames
=
"ID"
RetrieveNullAsDBNull
=
"False"
HorizontalAlign
=
"Center"
BorderWidth
=
"1"
BorderColor
=
"Gray"
BorderStyle
=
"Solid"
InsertItemPageIndexAction
=
"ShowItemOnFirstPage"
>
I searched the entire forum and I could't find one single explanation on what happens internally to the SQL table that stores the appointments, specifically the field 'RecurranceStorage' when a 'recurring exception' occurs. Please provide me with a link that can help me to understand the magic. I want to know how recurrence series keep track of exceptions like 'moving' one instance of the series to another resource or date/time. Your sample code 'ResouceGrouping' has zero code-behind.Thanks in advance.
Hi,
I am trying to implement the automatic onloaddemand mechanism of the RAD combo box. But getting following error when click on dropdown:-
Following is the source html for location combo box. Combobox is bind to objectdata source. Highlighted portion is use for onload demand functionality.
<telerik:RadComboBox ID="comboLocation" runat="server" Width="250px" DataTextField="Location_DisplayName"
DataValueField="Location_ID" DataSourceID="LocationDataSource"
AppendDataBoundItems="true" EnableAutomaticLoadOnDemand="true"
onitemsrequested="comboLocation_ItemsRequested" ShowMoreResultsBox="true"
itemsperrequest="5" enablevirtualscrolling="true">
<Items>
<telerik:RadComboBoxItem Text="" />
</Items>
</telerik:RadComboBox>
Not able to find what is happening wrong to cause above error. Have anyone got the same issue while developoing combobox on load demand functionality.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddressTypes.aspx.cs" Inherits="foo.AddressTypes" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<
html
>
<
head
runat
=
"server"
>
<
title
>Test Page</
title
>
</
head
>
<
body
>
<
form
runat
=
"server"
>
<
asp:ScriptManager
ID
=
"sm"
runat
=
"server"
/>
<
asp:ObjectDataSource
ID
=
"gridDS"
runat
=
"server"
TypeName
=
"foo.AddressTypes"
SelectMethod
=
"GetRecords"
/>
<
telerik:RadGrid
ID
=
"grid"
runat
=
"server"
DataSourceID
=
"gridDS"
OnSelectedIndexChanged
=
"Grid_SelectedIndexChanged"
AllowMultiRowSelection
=
"true"
>
<
ClientSettings
>
<
Selecting
AllowRowSelect
=
"true"
/>
</
ClientSettings
>
</
telerik:RadGrid
>
<
asp:Button
ID
=
"button"
runat
=
"server"
Text
=
"Postback"
/>
</
form
>
</
body
>
</
html
>
Here is my code-behind:using
System;
using
System.Collections.Generic;
using
System.Web.UI;
namespace
foo
{
public
partial
class
AddressTypes : Page
{
protected
void
Page_Load(
object
sender, EventArgs e)
{
}
public
static
Dictionary<
string
,
string
> GetRecords()
{
Dictionary<
string
,
string
> dict =
new
Dictionary<
string
,
string
>();
dict.Add(
"Test 1"
,
"Test record number 1"
);
dict.Add(
"Test 2"
,
"Test record number 2"
);
dict.Add(
"Test 3"
,
"Test record number 3"
);
dict.Add(
"Test 4"
,
"Test record number 4"
);
dict.Add(
"Test 5"
,
"Test record number 5"
);
return
dict;
}
protected
void
Grid_SelectedIndexChanged(
object
sender, EventArgs e)
{
Response.Write(
"SELECTED INDEXES: "
+ grid.SelectedIndexes.Count);
}
}
}