Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
78 views
Hey devs,

I have found something weird happening with a grid that has multiple boolean columns that are filterable. On fresh page load if i don't check any of the boolean checkboxes and then click the filter dropdown and set it "Equal To" as if i were to filter for the records that are set to false, the grid seems to think that i want to filter all boolean columns with false instead of just the one i am trying to filter for.

1. Fresh page load
2. After selecting equal to on the last column
3. After setting no filter on all but last column

After that i can do any sort of combination i want and it works fine. Just on that first load that it behaves this way.

Has anyone seen this behavior before?

Thanks

Max T.
Angel Petrov
Telerik team
 answered on 15 Jan 2015
1 answer
94 views
Hi

I saw below link

http://www.telerik.com/support/code-library/move-rows-up-down-using-radgrid-for-asp-net-ajax-prometheus
It is having attached sample to move rows up down by selecting rows (RadGrid),
can i get same for RadTreeList?

Senthil
Maria Ilieva
Telerik team
 answered on 15 Jan 2015
2 answers
46 views
Hello,

I'm having a problem with my RadGrid's Edit feature where I have  to click on the "Edit" link three times for the popup modal window to appear.  I set the DataSource for my grid in the "NeedDataSource" event handler:
protected void grdViewInventory_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
    int? siteID = ApplicationInformation.GetSiteID();
    grdViewInventory.DataSource = BLL.GetInventory(siteID);
}

The data is coming from a view inside of my Entity Framework model as an IList.

I don't generate columns automatically.  Here's what my grid code looks like:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="wucInventoryView.ascx.cs" Inherits="FACApps.Module.ESPSMT.wucInventoryView" %>
<telerik:RadAjaxLoadingPanel ID="alpViewInventory" runat="server" Height="75px" Width="75px"
    Transparency="5">
    <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
        style="border: 0;" />
</telerik:RadAjaxLoadingPanel>
<telerik:RadGrid ID="grdViewInventory" runat="server" AllowPaging="True" AllowSorting="True"
    GroupPanelPosition="Top" Height="1000px" Width="100%"
    OnNeedDataSource="grdViewInventory_NeedDataSource" Skin="Silk" EnableEmbeddedSkins="true">
    <MasterTableView AutoGenerateColumns="False" EditMode="PopUp" PageSize="200">
        <GroupHeaderTemplate>
            <asp:Label runat="server" ID="Label1" Text='<%# Eval("Building") %>' />
            <asp:Label runat="server" ID="Label2" Text='<%# "(" + Eval("PropertyNumber") + ")" %>' />
            <asp:Label runat="server" ID="Label4" Text='<%# Eval("UnitTag") %>' />
            <asp:Label runat="server" ID="Label3" Text='<%# Eval("AHUType") %>' />
        </GroupHeaderTemplate>
        <GroupByExpressions>
            <telerik:GridGroupByExpression>
                <SelectFields>
                    <telerik:GridGroupByField FieldName="Building" />
                    <telerik:GridGroupByField FieldName="PropertyNumber" />
                    <telerik:GridGroupByField FieldName="UnitTag" FieldAlias="UnitTag" FormatString="" HeaderText=""></telerik:GridGroupByField>
                    <telerik:GridGroupByField FieldName="AirHandlerType_Description" FieldAlias="AHUType" FormatString="" HeaderText=""></telerik:GridGroupByField>
                </SelectFields>
                <GroupByFields>
                    <telerik:GridGroupByField FieldName="Building" SortOrder="Ascending" />
                    <telerik:GridGroupByField FieldName="PropertyNumber" SortOrder="Ascending" />
                    <telerik:GridGroupByField FieldName="UnitTag" FieldAlias="UnitTag" FormatString="" HeaderText=""></telerik:GridGroupByField>
                    <telerik:GridGroupByField FieldName="AirHandlerType_Description" FieldAlias="AHUType" FormatString="" HeaderText=""></telerik:GridGroupByField>
                </GroupByFields>
            </telerik:GridGroupByExpression>
        </GroupByExpressions>
        <Columns>
            <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" >
            </telerik:GridEditCommandColumn>
            <telerik:GridBoundColumn DataField="PropertyNumber" HeaderText="Property ID" ReadOnly="True" SortExpression="PropertyNumber" UniqueName="PropertyNumber" Visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Building" HeaderText="Property Name" ReadOnly="True" SortExpression="Building" UniqueName="Building" Visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="UnitTag" HeaderText="Unit Tag" ReadOnly="True" SortExpression="UnitTag" UniqueName="UnitTag" Visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="AirHandlerType_Description" HeaderText="AHU Type" ReadOnly="True" SortExpression="AirHandlerType_Description" UniqueName="AirHandlerType_Description" Visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="AHU_Manufacturer" HeaderText="AHU Mfgr" ReadOnly="True" SortExpression="AHU_Manufacturer" UniqueName="AHU_Manufacturer" Visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="FilterType" HeaderText="" ReadOnly="True" SortExpression="FilterType" UniqueName="FilterType">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Bank_description" HeaderText="Filter Bank" ReadOnly="True" SortExpression="Bank_description" UniqueName="Bank_description" Visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="ModelNumber" HeaderText="" ReadOnly="True" SortExpression="ModelNumber" UniqueName="ModelNumber">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="FilterManufacturer" HeaderText="Filter Mfgr" ReadOnly="True" SortExpression="FilterManufacturer" UniqueName="FilterManufacturer" Visible="false">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="FilterDimension" HeaderText="" ReadOnly="True" SortExpression="FilterDimension" UniqueName="FilterDimension">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Quantity" HeaderText="" ReadOnly="True" SortExpression="FilterManufacturer" UniqueName="FilterManufacturer">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="Dimension" HeaderText="" ReadOnly="True" SortExpression="Dimension" UniqueName="Dimension">
            </telerik:GridBoundColumn>
            <telerik:GridBoundColumn DataField="PartNumber" HeaderText="" ReadOnly="True" SortExpression="PartNumber" UniqueName="PartNumber">
            </telerik:GridBoundColumn>
        </Columns>
        <EditFormSettings EditFormType="WebUserControl" UserControlName="Modules\ESPSMT\wucInventoryEdit.ascx">
            <EditColumn UniqueName="EditCommandColumn" FilterControlAltText="Filter EditCommandColumn1 column" ></EditColumn>
            <PopUpSettings ScrollBars="None" Modal="true" ZIndex="100010" />
        </EditFormSettings>
    </MasterTableView>
</telerik:RadGrid>


As you can see my grid is inside a WebUserControl. Can anyone please tell me why I have to click on the "Edit" button multiple times?  I don't see anything in my code that should cause this behavior.  Thanks!
Shawn
Top achievements
Rank 1
 answered on 15 Jan 2015
13 answers
577 views
Why does tab not highlight when selected? Added RadTab control to master page using NavigateURL redirection but selected tab does not highlight when selected as published demo does. Am I missing something or does this require additional coding?

 

 

<td style="background-color:#f0e68c; width:100%">

 

 

<telerik:RadTabStrip ID="RadTabStrip1" runat="server" Skin="Hay" Align="Justify" SelectedIndex="0">

 

 

<Tabs>

 

 

<telerik:RadTab Text="Search" NavigateUrl="~/Forms/Search.aspx">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab Text="Incidents" NavigateUrl="~/Forms/Incidents.aspx">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab Text="Unit Logs" NavigateUrl="~/Forms/UnitLogs.aspx">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab Text="Rosters" NavigateUrl="~/Forms/Rosters.aspx">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab Text="Assignments" NavigateUrl="~/Forms/Assignments.aspx">

 

 

</telerik:RadTab>

 

 

<telerik:RadTab Text="Activities" NavigateUrl="~/Forms/Activities.aspx">

 

 

</telerik:RadTab>

 

 

</Tabs>

 

 

</telerik:RadTabStrip>

 

 

<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

 

 

</asp:ContentPlaceHolder>

 

 

</td>

 

Ivan Danchev
Telerik team
 answered on 15 Jan 2015
1 answer
80 views
Hi everyone!

I've been using Telerik controls for almost ten years and I'm having some difficulties regarding the size of the result HTML/JS file size.

Current scenario: We have almost 150 table rows and each row contains multiple RadNumericTextBox. Currently, for each RadNumericTextBox an enourmous scripting is being produced (see below).

I remember that a solution was found for this same problem but for "RadCalendar" (where we could use a technique called "Shared Calendars").

Can we use something like that in this situattion? What can we do in order to reduce the enourmous content that is being generated on our html page?

Thanks in advance!
​


Sys.Application.add_init(function() {
    $create(Telerik.Web.UI.RadNumericTextBox, {"_displayText":"1,00","_focused":false,"_initialValueAsText":"1","_postBackEventReferenceScript":"setTimeout(\"__doPostBack(\\\u0027ctl00$cphMain$numTextBoxNumDays_2798\\\u0027,\\\u0027\\\u0027)\", 0)","_skin":"Default","_validationText":"1","clientStateFieldID":"numTextBoxNumDays_2798_ClientState","enabled":true,"incrementSettings":{InterceptArrowKeys:true,InterceptMouseWheel:true,Step:1},"minValue":0,"numberFormat":{"DecimalDigits":2,"DecimalSeparator":",","CultureNativeDecimalSeparator":",","GroupSeparator":".","GroupSizes":3,"NegativePattern":"-n","NegativeSign":"-","PositivePattern":"n","AllowRounding":true,"KeepNotRoundedValue":false,"KeepTrailingZerosOnFocus":false,"NumericPlaceHolder":"n"},"showSpinButtons":true,"styles":{HoveredStyle: ["width:60px;text-align:right;", "riTextBox riHover"],InvalidStyle: ["width:60px;text-align:right;", "riTextBox riError"],DisabledStyle: ["width:60px;text-align:right;", "riTextBox riDisabled"],FocusedStyle: ["width:60px;text-align:right;", "riTextBox riFocused"],EmptyMessageStyle: ["width:60px;text-align:right;", "riTextBox riEmpty"],ReadOnlyStyle: ["width:60px;text-align:right;", "riTextBox riRead"],EnabledStyle: ["width:60px;text-align:right;", "riTextBox riEnabled"],NegativeStyle: ["width:60px;text-align:right;", "riTextBox riNegative"]}}, {"valueChanging":OnValueChangingNumDays}, null, $get("numTextBoxNumDays_2798"));
});
Maria Ilieva
Telerik team
 answered on 15 Jan 2015
1 answer
69 views
Hello,
I Opened a RadWindow1 in Splitter which is height 500px.
I want to open another Radwindow2(need to show big window) from RadWindow1.
But new Radwindow2 opens within the RadWindow1.
I want to open Radwindow2 big just like a window.open method
How can i do that.?
Marin Bratanov
Telerik team
 answered on 15 Jan 2015
2 answers
731 views
using telerik v.2014.3.1024.45 with ASP.NET 4.5
How can i use the boostrap glyphicons for my edit / insert / delete buttons?
so far i have used this

                    <telerik:TreeListEditCommandColumn UniqueName="InsertCommandColumn" ButtonType="ImageButton" ShowAddButton="true" ShowEditButton="true" HeaderStyle-Width="50px" ItemStyle-HorizontalAlign="Center">

but i cannot find a simple way to change the icons.

let me know please
thanks

ck
Top achievements
Rank 1
 answered on 15 Jan 2015
3 answers
88 views
I'm just starting to use grouping as it solves a big problem we have, and so far the display for rendering the data is great.

The way we add appointments is to open our own in house booking form, via javascript.

Now with the scheduler showing several locations, when we click in a column (for horizontal grouping) or a row for vertical grouping) how do I get a handle on the resource ID?

Andy
Boyan Dimitrov
Telerik team
 answered on 15 Jan 2015
5 answers
221 views
Hi,

I use the File Explorer with a large document library.

Upon starting the web application I get a javascript error: "NonExistingFolder". When I close the error everything works as it should but i cant seem to get rid of this error message. Has anyone encountered this before? Also. This only happens on the server and not on my local machine.

Please assist. 

Vessy
Telerik team
 answered on 15 Jan 2015
2 answers
225 views
I have installed Telerik Controls on MOSS site as per MOSS_WhitePaper. Following error message is logged in MOSS Log files. Please let me know how to fix this?

SafeControl load exception:Telerik.Web.UI, Version=2007.3.1323.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4 Exception: Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Thanks
Shujaat
Top achievements
Rank 1
 answered on 15 Jan 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?