Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
116 views

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>

John
Top achievements
Rank 1
 answered on 11 May 2015
1 answer
104 views
Is it possible to reorder the thumbnails with drag and drop functionality?
Pavlina
Telerik team
 answered on 11 May 2015
1 answer
56 views

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

James
Top achievements
Rank 1
 answered on 11 May 2015
14 answers
246 views

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

Jon
Top achievements
Rank 1
 answered on 11 May 2015
1 answer
89 views
Hi,

We have a problem with  the control "Month Year picker". Problem is that, we are unable to select the month. 

We experienced this problem when we select a month on certain date(current date) and the selected month does not have the current day.

For eg: We are unable to select the month february, on 29th,30th and 31st day of month/ or system date is on 29th,30th and 31st day of month. 

So when we select the month which doesn't have the above date, the selection will not work and it will auto set the next available date.

ie.  When we are selecting february (28 days in 2015) on 30th April 2015 , it will set 2nd March 2015 internally and show March as selected.
Daniel
Telerik team
 answered on 11 May 2015
1 answer
68 views

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

 

Ianko
Telerik team
 answered on 11 May 2015
1 answer
125 views

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

Marin Bratanov
Telerik team
 answered on 11 May 2015
5 answers
438 views

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>
 

 

 

Eyup
Telerik team
 answered on 11 May 2015
9 answers
946 views
Hi,

I would like to show a modal window over another modal window.

I first tried to apply this doc but second window is not modal from first.

Can you add a "multi-modal window" behavior ? When second is shown as modal from first window, first widows is hidden (not closed) and when second window is close, first window is shown (and not reloaded as if "opened").

Thanks.
Nick
Top achievements
Rank 1
 answered on 08 May 2015
11 answers
1.8K+ views
Hi,

I have a radgrid that is flexible in width. All columns except one has a defined headerstyle-width. The column without width is supposed to claim all width that is available depending on how wide the screen of the user is.

My problem is that if the user resizes his/hers window to small the column without width specified gets the width 0 and is not visible to the user. I want to set a minimum width of that column.

How do I go about doing this?

/Joakim
Xavier
Top achievements
Rank 1
 answered on 08 May 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?