Hi,
I have a grid with CheckList filtering implemetented on some of the columns in the MasterTableView, this works as expected. Implementing the same filtering in the DetailsTables does not work. Clicking the filtering does not fire the OnFilterChecklistItemsRequested event, so no filtering list is shown. The documentation I have found regarding DetailTables filtering does no say anything about specific settings for DetailTables filtering. Setting AllowFiltering on Grid or each table should be enough. Any ideas why this doesn't work?
Regards
John
<
telerik:RadGrid
ID
=
"grdDemo"
runat
=
"server"
AutoGenerateColumns
=
"false"
PageSize
=
"50"
GridLines
=
"Both"
OnNeedDataSource
=
"grdDemo_NeedDataSource"
Width
=
"100%"
all
OnDetailTableDataBind
=
"grdDemo_DetailTableDataBind"
OnRowDrop
=
"grdDemo_RowDrop"
FilterType
=
"CheckList"
AllowMultiRowSelection
=
"true"
OnItemDataBound
=
"grdDemo_ItemDataBound"
OnFilterCheckListItemsRequested
=
"grdDemo_FilterCheckListItemsRequested"
>
<
ClientSettings
AllowRowsDragDrop
=
"true"
>
<
Selecting
AllowRowSelect
=
"True"
/>
<
ClientEvents
OnRowDropping
=
"RowDropping"
/>
</
ClientSettings
>
<
MasterTableView
EnableHierarchyExpandAll
=
"true"
DataKeyNames
=
"RCARealFaultId,GrcaRealFaultId"
AllowFilteringByColumn
=
"True"
>
<
DetailTables
>
<
telerik:GridTableView
EnableHierarchyExpandAll
=
"true"
DataKeyNames
=
"RCARealFaultId,RCASymptomId,GrcaRealFaultId"
Name
=
"Symptom"
AllowFilteringByColumn
=
"true"
>
<
ParentTableRelation
>
<
telerik:GridRelationFields
DetailKeyField
=
"GrcaRealFaultId"
MasterKeyField
=
"GrcaRealFaultId"
/>
</
ParentTableRelation
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"InternalRCADeviceId"
HeaderText
=
"Internal Id"
UniqueName
=
"InternalRCADeviceId"
AllowFiltering
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Project"
HeaderText
=
"Variant"
AllowFiltering
=
"False"
UniqueName
=
"Project"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"IMEI"
HeaderText
=
"IMEI"
UniqueName
=
"IMEI"
AllowFiltering
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"InternalRCASymptomId"
HeaderText
=
"Internal Symptom Id"
UniqueName
=
"InternalRCASymptomId"
AllowFiltering
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"Source"
HeaderText
=
"Source"
UniqueName
=
"Source"
AllowFiltering
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"AnalysisResponsible"
HeaderText
=
"Analysis Responsible"
UniqueName
=
"AnalysisResponsible"
AllowFiltering
=
"True"
FilterControlAltText
=
"Analysis Responsible"
FilterCheckListEnableLoadOnDemand
=
"True"
>
</
telerik:GridBoundColumn
>
<
telerik:GridTemplateColumn
UniqueName
=
"ButtonTemplateColumn"
AllowFiltering
=
"False"
>
<
ItemTemplate
>
<
asp:Button
ID
=
"bnShowNotes"
runat
=
"server"
Text
=
"Notes"
/>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
Visible
=
"False"
FilterControlAltText
=
"Filter TemplateColumn column"
UniqueName
=
"TemplateColumnRcaSymptomId"
>
<
ItemTemplate
>
<
asp:TextBox
ID
=
"tbRCASymptomId"
runat
=
"server"
Text="<%# Bind('RcaSymptomId') %>"
Visible="false"></
asp:TextBox
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
Visible
=
"False"
FilterControlAltText
=
"Filter TemplateColumn column"
UniqueName
=
"TemplateColumnRcaDeviceId"
>
<
ItemTemplate
>
<
asp:TextBox
ID
=
"tbRCADeviceId"
runat
=
"server"
Text="<%# Bind('RcaDeviceId') %>"
Visible="false"></
asp:TextBox
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridTemplateColumn
Visible
=
"False"
FilterControlAltText
=
"Filter TemplateColumn column"
UniqueName
=
"TemplateColumnRCARealFaultId"
>
<
ItemTemplate
>
<
asp:TextBox
ID
=
"tbRCARealFaultId"
runat
=
"server"
Text="<%# Bind('GrcaRealFaultId') %>"
Visible="false"></
asp:TextBox
>
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
</
Columns
>
</
telerik:GridTableView
>
</
DetailTables
>
<
Columns
>
<
telerik:GridBoundColumn
DataField
=
"RCARealFaultId"
HeaderText
=
"Issue Id"
UniqueName
=
"RCARealFaultId"
AllowFiltering
=
"False"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"RealFaultFoundDescription"
HeaderText
=
"RealFaultFound Description"
AllowFiltering
=
"False"
UniqueName
=
"RealFaultFoundDescription"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"DefectComponent"
HeaderText
=
"Defect Component"
UniqueName
=
"DefectComponent"
AllowFiltering
=
"true"
FilterCheckListEnableLoadOnDemand
=
"true"
FilterControlAltText
=
"Filter Defect Component column"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"DefectCondition"
HeaderText
=
"Defect Condition"
UniqueName
=
"DefectCondition"
FilterCheckListEnableLoadOnDemand
=
"true"
FilterControlAltText
=
"Filter Defect Condition column"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"ResponsibleArea"
HeaderText
=
"Responsible Area"
UniqueName
=
"ResponsibleArea"
FilterCheckListEnableLoadOnDemand
=
"true"
FilterControlAltText
=
"Filter Responsible Area column"
>
</
telerik:GridBoundColumn
>
<
telerik:GridBoundColumn
DataField
=
"RealFaultStatus"
HeaderText
=
"RealFault Status"
AllowFiltering
=
"False"
UniqueName
=
"RealFaultStatus"
>
</
telerik:GridBoundColumn
>
</
Columns
>
</
MasterTableView
>
</
telerik:RadGrid
>
Hi, we're migrating a site with lots of gridviews to radgrids. We want a uniform setup of radgrids with the same paging options, enable scrolling and show footer settings.
is there way to set these settings globally for all radgrids in a site, or alternatively is there a way of setting the values for these properties for all newly added radgrids from the toolbox?
doing and find/replace throughout he site is not really a good idea
thanks
james
Hi All,
I have a chart that has a whole year shown by day on the xaxis.
Obviously 365 axis labels don't work very well. I'd like to still display the data as days but show the lebels as 12 Months - with corresponding vertical grid lines.
How would I go about doing this?
Regards
Jon
Hello,
I facing issue in radeditor control the font size and name not update when we select the size and name in radeditor control function from dropdown if we copy paste from other word document. But font size and name update if i type in rad editor control.
Please help me
Thanks
Jiten Mutum
Hey there,
I am trying to use telerik UI class for my old ASP.NET base project to make them mobile friendly.
but I cannot find the UI download page, UI instruction, and appropriate demo. Basically, I can find nothing.
please give me the link and page just like bootstrap home site, I can download, I can see demo and I can learning from tutorial.
cheers
Jin
I would like to show a different image if another column in the grid is populated.
If Upload_date is populated I would like to display pdficon_down.gif else display pdf-icon.jpg. How would I go about doing this?
<
telerik:GridTemplateColumn
HeaderText
=
"Work Papers"
>
<
ItemTemplate
>
<
img
runat
=
"server"
id
=
"WorkPaperImg"
alt
=
"Download or upload work papers for this audit."
src
=
"/images/pdficon_down.gif"
onclick="openWorkPapers('<%= _hdnAuditID.Value %>', '<%#Eval("Date").ToString%>');" />
<
img
alt
=
"Download or upload work papers for this audit."
src
=
"/images/pdf-icon.png"
onclick="openWorkPapers('<%= _hdnAuditID.Value %>', '<%#Eval("Date").ToString%>');" />
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>
<
telerik:GridBoundColumn
HeaderText
=
"Workpaper Uploaded"
DataField
=
"upload_date"
>
</
telerik:GridBoundColumn
>