Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
103 views
UPDATE:
My fault. The
MasterTableView.EnableColumnsViewState 
was set to false.

Redards,
Ralf

--------------------

Hi,

I have created a grid with enable grouping an filtering. Each column has a "google like" filter control as the KB article describes. I have added a reset button (ImageButton) to each filter right from the RadComboBox. The grid, the columns and the RadComboBox property EnableViewState is set to false. When I use a column filter all is working fine. The rest button will be displayed. When I reset the filter by clicking on the rest button the filter will be reseted fine and the reset button disapears as expected.
But when I have set a filter and then I have grouped by drag&drop a column into the group box, the text of the RadComboBox and the CurrentFilterValue are empty and the CurrentFilterFunction is NoFilter and the rest button don't will be shown. And the data is still filtered in the grid.
When I filter by one column and then by a second all is working fine. Only when I group the data the problem occur.

The grid will be used in a webpart in a SharePoint solution.


I'm using Telerik version 2011.2.712.35

Do anyone have a tip?

regards,
Ralf
Ralf
Top achievements
Rank 1
 asked on 16 Nov 2011
2 answers
215 views
Hi

I saved the appointment info into database, include start date, end date, recurrence rule and recurrence parent id etc. My question is how can I do overlap checking for the appointment with recurrence rule in database? Because recurentce rule is a long text include all information about date range.

And I also got two minor UI issues in Sharepoint 2010 environment.
1) When I try to add a new appointment, and click save button without any inputs in the popup window, I got error message which said I have to input appointment subject, then I input something into the subject textbox, and click save button again, but nothing happened.
I followed this link http://www.telerik.com/community/forums/aspnet-ajax/scheduler/radschedule-issue-with-updatepanel-in-sharepoint-2010.aspx to solve the js error about popup window, but here is a new one.
2) The radscheduler control obscured the dropdown menu in sharepoint 2010, please check attached screenshot.


Please advice, Thanks
Ivana
Telerik team
 answered on 16 Nov 2011
1 answer
135 views
Hello,
I've seen many complaints here about it, but I think nobody realy solved this issue yet. This issue is most unfortunate as clients complain about not being able to be filtering the grid properly...

The bug is still present even in 2011.3.1025.40 beta.

Here is how to reproduce the error:

1) Radgrid with AutocreateColumns = "true"
2) Advanced databinding
3) Bind it to a datatable, one or more columns should be datetime type
3) Try to perform a filtering using datetime column filter, so that a single row is found (maybe it's the IsEqual condition in filter???)
4) The row is present in datatable, VirtualItemsCount is set to 1, pager says that there is 1 row, but grid displays "no items row"
5) If you try to find the same row using another filter (for example a int-type one) exactly the same row is found, exactly the same row is in datatable and the row is rendered. So probably the erorr dependes of the kind of column you use for filtering?
6) I've tried to completely remove my own modifications to grid, leave it as you provided it (to avoid a bug in my own code), the row is still not being rendered.
7) I've tried to set the RadGrid's DataSource property to null and the again to the DataTable in the NeedDataSource event to "reset it", to set VirtualItemCount propery before and after setting the datasource property, nothing helped. Even if you call the Rebind() method on the grid, it doesn't help.

Radoslav
Telerik team
 answered on 16 Nov 2011
3 answers
216 views
Hi,

I have a large number of RadGrids in my AP.NET AJAX project, and am using the following tag to remove the sort styling applied by the Office2010 skin:

<SortingSettings EnableSkinSortStyles="false" />

Is there a way I can apply this setting to all grids (globally), without having to add the tag to every single RadGrid declaration?

If there's no global setting, what's the best way to manage the application of this type of common attribute across numerous grids?
Mark
Top achievements
Rank 1
 answered on 16 Nov 2011
3 answers
203 views

Hi ,
We have implemented column resizing in the telerik rad grids. When we resize the width of one column, all the other columns in the grid are automatically getting resized, which we do not want. One more issue is , when we reduce the width of a column, it sometimes increases. Please find the screen shot for more details. I have reduced the size to 173 pixels , but the column border(marked in red)
width is very much lager than expected.
I have set follwing properties for the rad grid.

 

 

 

<Resizing AllowResizeToFit="true" AllowColumnResize="True" AllowRowResize="false"

 

 

 

ResizeGridOnColumnResize="false" ClipCellContentOnResize="false" EnableRealTimeResize="false"/>

 

 

 

 


Kindly help us in resolving these 2 issues.

Thanks,
Sudha.

Mira
Telerik team
 answered on 16 Nov 2011
1 answer
86 views
Hi,

I am not able to filter Rad Upload selections after giving the required file extensions.
I want to see only those files and folders that contains specific extensions.
Example:- .exe,.jpeg etc
Rumen
Telerik team
 answered on 16 Nov 2011
3 answers
179 views
Hi,
We have a rad grid for which , EnableHeaderContextMenu= true is set.
We are able to get the menu , but a few item gets repeated ( without checkbox). Please find the screen shot and the code attached.
Kindly help us resolving this issue as early as possible , as we have the deployment very soon.


Thanks,
Sudha.
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
  
<script type="text/javascript">
  
function OnClientItemOpening(menu, args) {
  
var item = args.get_item();
  
item.get_items().getItem(0).get_element().style.display = "none";
  
item.get_items().getItem(1).get_element().style.display = "none";
  
item.get_items().getItem(7).get_element().style.display = "none";
  
item.get_items().getItem(8).get_element().style.display = "none";
  
item.get_items().getItem(12).get_element().style.display = "none";
  
item.get_items().getItem(13).get_element().style.display = "none";
  
} 
  
</script>
  
</telerik:RadCodeBlock>
  
  
<telerik:RadGrid ID="dgFileList" OnItemDataBound="dgFileList_ItemDataBound" OnSortCommand="dgFileList_SortCommand"
                                            runat="server" Skin="SLB" CellSpacing="1" CellPadding="0" BorderStyle="Solid"
                                            BorderWidth="0px" Width="100%" Height="359px" AutoGenerateColumns="False" GridLines="None"
                                            AllowSorting="True" HeaderStyle-Height="30px" EnableEmbeddedSkins="False" ImagesPath="~/Skins/SLB/Grid"
                                            EnableHeaderContextMenu="true"> 
                                            <HeaderContextMenu OnClientItemOpening="OnClientItemOpening"> 
                                            </HeaderContextMenu> 
                                            <ClientSettings> 
                                                <Scrolling AllowScroll="true" UseStaticHeaders="true" /> 
                                                <Selecting AllowRowSelect="true" /> 
                                                <ClientEvents OnGridCreated="GridCreated_FileList" /> 
                                                <Resizing AllowResizeToFit="true" AllowColumnResize="True" AllowRowResize="false"
                                                    ResizeGridOnColumnResize="true" ClipCellContentOnResize="false" EnableRealTimeResize="true" /> 
                                            </ClientSettings> 
                                            <HeaderStyle Font-Underline="False" Height="30px" Width="100%" /> 
                                            <ItemStyle Height="100%" /> 
                                            <AlternatingItemStyle Height="100%" /> 
                                            <MasterTableView AllowNaturalSort="true" AllowCustomSorting="true" ShowHeadersWhenNoRecords="true"
                                                NoMasterRecordsText="No files found for the selected product."> 
                                                <Columns> 
                                                    <telerik:GridBoundColumn UniqueName="FileID" DataField="FileID" HeaderText="FileID"
                                                        Display="false"> 
                                                        <HeaderStyle Wrap="False" HorizontalAlign="Center" /> 
                                                        <ItemStyle Wrap="true" HorizontalAlign="Left" CssClass="RadGridRow" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="ProductDetails" DataField="ProductDetails" HeaderText="Description"
                                                        SortExpression="ProductDetails" Visible="true" Display="true"> 
                                                        <HeaderStyle Width="200" Wrap="false" HorizontalAlign="Center" /> 
                                                        <ItemStyle Wrap="true" HorizontalAlign="Left" CssClass="RadGridRow" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="Version" DataField="Version" HeaderText="Version"
                                                        SortExpression="Version" Visible="true"> 
                                                        <HeaderStyle Width="70" Wrap="False" HorizontalAlign="Center" /> 
                                                        <ItemStyle Wrap="true" HorizontalAlign="Left" CssClass="RadGridRow" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="Release" DataField="Release" HeaderText="Released"
                                                        SortExpression="ReleaseDate" HeaderStyle-Width="65"> 
                                                        <HeaderStyle Width="75" Wrap="False" HorizontalAlign="Center" /> 
                                                        <ItemStyle Wrap="true" HorizontalAlign="Left" CssClass="RadGridRow" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="ContentType" DataField="ContentType" HeaderText="ContentType"
                                                        SortExpression="ContentType" Visible="true"> 
                                                        <HeaderStyle Width="93" Wrap="False" HorizontalAlign="Center" /> 
                                                        <ItemStyle Wrap="true" HorizontalAlign="Left" CssClass="RadGridRow" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="Published" DataField="Published" HeaderText="Published"
                                                        SortExpression="PublishedDate" Visible="False"> 
                                                        <HeaderStyle Width="80" Wrap="False" HorizontalAlign="Center" /> 
                                                        <ItemStyle Wrap="true" HorizontalAlign="Left" CssClass="RadGridRow" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="Platform" DataField="Platform" HeaderText="Platform"
                                                        SortExpression="Platform" Visible="true"> 
                                                        <HeaderStyle Width="105" Wrap="true" HorizontalAlign="Center" /> 
                                                        <ItemStyle Wrap="true" HorizontalAlign="Left" CssClass="RadGridRow" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="Description" DataField="Description" HeaderText="Description"
                                                        SortExpression="Description" Visible="false"> 
                                                        <HeaderStyle Wrap="False" HorizontalAlign="Center" /> 
                                                        <ItemStyle Wrap="true" HorizontalAlign="Left" CssClass="RadGridRow" /> 
                                                    </telerik:GridBoundColumn> 
<telerik:GridButtonColumn UniqueName="btnDetails" ButtonType="ImageButton" Text="Details"
                                                        HeaderText="Details" ImageUrl="Images/Info.png"> 
                                                        <HeaderStyle Width="50" Wrap="False" HorizontalAlign="Left" /> 
                                                        <ItemStyle HorizontalAlign="Center" CssClass="RadGridRow" Font-Bold="true" /> 
                                                    </telerik:GridButtonColumn> 
                                                    <telerik:GridButtonColumn UniqueName="btnDownload" ButtonType="ImageButton" HeaderText="Download"
                                                        Text="Available for download" ImageUrl="Images/Download.png"> 
                                                        <HeaderStyle Width="65" Wrap="False" HorizontalAlign="Left" /> 
                                                        <ItemStyle HorizontalAlign="Center" CssClass="RadGridRow" /> 
                                                    </telerik:GridButtonColumn> 
                                                    <telerik:GridBoundColumn UniqueName="FileSize" DataField="formatedsize" HeaderText="Size[KB]"
                                                        SortExpression="size" Visible="true"> 
                                                        <HeaderStyle Width="70" Wrap="False" HorizontalAlign="Left" /> 
                                                        <ItemStyle Wrap="true" HorizontalAlign="Left" CssClass="RadGridRow" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="ThirdPartyEnabled" DataField="ThirdPartyEnabled"
                                                        HeaderText="ThirdPartyEnabled" Visible="false"> 
                                                        <HeaderStyle Wrap="False" HorizontalAlign="Center" /> 
                                                        <ItemStyle Wrap="true" HorizontalAlign="Left" CssClass="RadGridRow" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="FileName" DataField="FileName" HeaderText="FileName"
                                                        SortExpression="FileName"> 
                                                        <HeaderStyle Width="135" Wrap="False" HorizontalAlign="Center" /> 
                                                        <ItemStyle Wrap="false" HorizontalAlign="Left" CssClass="RadGridRow" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="RelatedLinks" DataField="RelatedLinks" HeaderText="RelatedLinks"
                                                        SortExpression="RelatedLinks"> 
                                                        <HeaderStyle Wrap="false" HorizontalAlign="Center" /> 
                                                        <ItemStyle Wrap="true" HorizontalAlign="Left" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="fileSizeValue" DataField="size" HeaderText="filesize"
                                                        Display="false"> 
                                                        <HeaderStyle Width="0px" /> 
                                                        <ItemStyle Width="0px" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="MD5CheckSum" DataField="MD5CheckSum" HeaderText="MD5CheckSum"
                                                        Display="false"> 
                                                        <HeaderStyle Width="0px" /> 
                                                        <ItemStyle Width="0px" /> 
                                                    </telerik:GridBoundColumn> 
                                                    <telerik:GridBoundColumn UniqueName="CollectionName" DataField="CollectionName" HeaderText="CollectionName"
                                                        SortExpression="CollectionName" Visible="false"> 
                                                        <HeaderStyle Width="0" Wrap="false" HorizontalAlign="Center" /> 
                                                        <ItemStyle Wrap="true" HorizontalAlign="Left" /> 
                                                    </telerik:GridBoundColumn> 
                                                </Columns> 
                                                <EditFormSettings> 
                                                    <EditColumn CancelImageUrl="~/Skins/SLB/Grid\Cancel.gif" EditImageUrl="~/Skins/SLB/Grid\Edit.gif"
                                                        FilterControlAltText="Filter EditCommandColumn column" FilterImageUrl="~/Skins/SLB/Grid\Filter.gif"
                                                        InsertImageUrl="~/Skins/SLB/Grid\Update.gif" SortAscImageUrl="~/Skins/SLB/Grid\SortAsc.gif"
                                                        SortDescImageUrl="~/Skins/SLB/Grid\SortDesc.gif" UpdateImageUrl="~/Skins/SLB/Grid\Update.gif"> 
                                                    </EditColumn> 
                                                </EditFormSettings> 
                                            </MasterTableView> 
                                        </telerik:RadGrid>
Maria Ilieva
Telerik team
 answered on 16 Nov 2011
1 answer
125 views
Hi

I need to handle the Navigation Commands using Web Service binding:

Step 1: filter commands on the client-side using OnClientNavigationCommand
Step 2: customize the RadSheduler within OnNavigationCommand

The client-side event works as expected. However the server-side event is not fired.

How can I handle this scenario?

Cheers,
Jani
Ivana
Telerik team
 answered on 16 Nov 2011
3 answers
142 views
Is there a way to keep the grid filtered if you leave a page, and click the back button or go back to the page with the grid to keep the filter you had on the grid?
Jayesh Goyani
Top achievements
Rank 2
 answered on 16 Nov 2011
1 answer
93 views
Hello,

    I have a RadPanelBar with three RadPanelItem.Whenever there is an autopostback
event entire form will expirience autopostBack.

   I want individual RadPanelItem, whomever the control associated, which is  responsible
 for Autopost back should autopostback. Please help me on this regards.

(We are evaluating your asp.net ajax control)
Regards,
Gautham
Jayesh Goyani
Top achievements
Rank 2
 answered on 16 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?