Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
246 views
May be I am asking too much, but if this feature is allowed your Scheduler will be unbeatable in the market.

> Can I customize footer myself? E.g. there is already a link there for Show All 24 hours. Nice. But I want to put links/icons for 'Show 24 hours', 'Show all day or business days in week view', have a slider control that increases or decreases the MinutesPerRow field. That way we get a ZOOM feature for the scheduler.

Let me know if I can define my own <FooterTemplate> within Scheduler and do all these.

Thanks,
Piyush
Peter
Telerik team
 answered on 24 Feb 2012
1 answer
119 views

I'm trying to implement dual listbox functionality that is nearly identical to the AJAX version of the code sample provided by Telerik:

http://www.telerik.com/community/code-library/aspnet-ajax/grid/dual-listbox-functionality.aspx

However, I need to be able to select multiple rows to move between the two listboxes instead of one at a time as the sample does.  

If I set AllowMultiRowSelection = true for both grids and then attempt to move all items form one grid to the other, I get a JavaScript error.: 

Line: 4083
Error: Sys.ArgumentUndefinedException: Value cannot be undefined.
Parameter name: element

The file that is throwing the error appears to be a Microsoft AJAX related scripting file:

// Name:        MicrosoftAjax.debug.js
// Assembly:    System.Web.Extensions
// Version:     4.0.0.0
// FileVersion: 4.0.30319.225
//-----------------------------------------------------------------------
// Copyright (C) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------------------
// MicrosoftAjax.js
// Microsoft AJAX Framework.

It appears that some part of the AJAX scripting doesn't like it that one of the grids suddenly has no records.   I tried implementing buttons that move all items form one grid to the other via the code behind, and the JavaScript error still shows up.

Is there a fix or work around for this?  I haven't been able to find one yet :-(

Todd
Top achievements
Rank 1
 answered on 24 Feb 2012
1 answer
140 views
Hi there
             As i needed the culture property for telerik controls I have just upgraded my telerik version(2008) to 2010.3.1317.35. Once the upgradation done everything works fine but all the controls especially telerik RadGrid showing some style issue.
For instance the pagination has gone vertical instead of horizontal, also there are some spacing issues.
I have searched the telerik forums & followed the procedures carefully while upgrading, like replacing the old DLLs with new ones &
adding the references wherever needed. I couldnt get an idea of where im going wrong or what i need to do. Please assist me in this regard & help us sort it out as we're nearing our deployment. For ur info i've attached the screen shot & the mark-up code for that


<telerik:RadGrid ID="dgApplications" runat="server" Width="98%" AutoGenerateColumns="False"
        GridLines="None" OnDeleteCommand="dgApplications_DeleteCommand" AllowFilteringByColumn="false"
        AllowSorting="True" EnableAJAX="True" AllowPaging="True" PageSize="10" Skin="Office2007">
        <MasterTableView DataKeyNames="Id" HorizontalAlign="NotSet" CellSpacing="0">
            <Columns>
                <telerik:GridTemplateColumn UniqueName="Name" ItemStyle-Width="15%" AllowFiltering="False">
                    <ItemTemplate>
                        <asp:Panel ID="pnlAction" runat="server">
                            <p style="padding-left: 6px;">
                                <asp:HyperLink ID="lnkViewFile" CssClass="input-button-forms" runat="server" Visible='<%# ShowViewLink  %>'
                                    ToolTip="View File" Text="<%$ Resources:eRSOLanguage, View %>" />
                                <asp:HyperLink ID="lnkWorkOnFile" CssClass="input-button-forms" runat="server" Visible='<%# ShowWorkOnFileLink %>'
                                    ToolTip="Work On File" Text='<%# EditLinkText %>' />
                                <asp:HyperLink ID="lnkClone" CssClass="input-button-forms" runat="server" Visible='<%# ShowCloneLink %>'
                                    ToolTip="Clone File" Text="<%$ Resources:eRSOLanguage, ApplicationListClone %>" />
                                <asp:LinkButton ID="lnkUnlock" CssClass="input-button-forms" CommandName="Unlock"
                                    CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ApplicationReferenceNumber") %>'
                                    runat="server" ToolTip="Unlock" Text="Unlock" Visible="false" />
                                <asp:LinkButton ID="imgbtnDelete" CssClass="input-button-forms" runat="server" CommandName="Delete"
                                    CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ApplicationReferenceNumber") %>'
                                    AlternateText="<%$ Resources:eRSOLanguage, Delete %>" Text="<%$ Resources:eRSOLanguage, Delete %>" Visible='<%# HasDeletePermission %>' ToolTip="Delete"
                                    OnClientClick="javascript: return confirm('Localize(RemoveConfirmAL)');" />
                                <asp:HyperLink ID="ViewEventColumn" CssClass="input-button-forms" runat="server"
                                    Visible='<%# ShowEventLink %>' ToolTip="View Events" Text="<%$ Resources:eRSOLanguage, ApplicationListEvents %>" NavigateUrl='<%# "~/Researcher/HomePage/MyEvent.aspx?FileNo=" + DataBinder.Eval(Container.DataItem, "FileNo").ToString()+"&amp;ReturnAddress=~/Researcher/HomePage/MyApplicationList.aspx"%>' />
                                <asp:Label ID="lblAlreadyLocked" runat="server" CssClass="error-Message" Visible="False"></asp:Label>
                            </p>
                        </asp:Panel>
                        <asp:Panel ID="pnlError" Visible="False" Style="padding-left: 6px; padding-top: 4px;
                            padding-bottom: 4px;" runat="server">
                            <asp:LinkButton ID="lnkDeleteInvalidApp" CssClass="input-button-forms" runat="server"
                                CommandName="Delete" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ApplicationReferenceNumber") %>'
                                AlternateText="<%$ Resources:eRSOLanguage, Delete %>" Text="<%$ Resources:eRSOLanguage, Delete %>" Visible="true" ToolTip="<%$ Resources:eRSOLanguage, Delete %>" OnClientClick="javascript: return confirm('Localize(RemoveConfirmAL)');" />
                            <asp:Label ID="lblError" runat="server" CssClass="error-Message"></asp:Label>
                        </asp:Panel>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" />
                </telerik:GridTemplateColumn>
                <telerik:GridBoundColumn SortExpression="ProjectTitleDisplay" ItemStyle-Width="20%"
                    DataField="ProjectTitle" UniqueName="ProjectTitleDisplay" HeaderText="<%$ Resources:eRSOLanguage, ApplicationListProjectTitle %>"
                    ItemStyle-Height="22px" />
                <telerik:GridBoundColumn SortExpression="PrimaryInvestigatorFullName" ItemStyle-Width="15%"
                    DataField="PrimaryInvestigatorFullName" UniqueName="PIFullNameDisplay" HeaderText="<%$ Resources:eRSOLanguage, ApplicationListPrincipalInvestigator %>" />
                <telerik:GridBoundColumn SortExpression="FileNo" DataField="FileNo" ItemStyle-Width="5%"
                    UniqueName="FileNo" HeaderText="<%$ Resources:eRSOLanguage, ApplicationListFileNo %>" />
                <telerik:GridBoundColumn SortExpression="ApplicationFormName" ItemStyle-Width="15%"
                    DataField="ApplicationFormFullName" UniqueName="ApplicationFormName" HeaderText="<%$ Resources:eRSOLanguage, ApplicationListApplicationFormName %>" />
                <telerik:GridBoundColumn SortExpression="WorkFlowStateName" ItemStyle-Width="10%" DataField="WorkFlowStateName"
                    UniqueName="WorkFlowStateName" HeaderText="<%$ Resources:eRSOLanguage, ApplicationListWorkFlowState %>" />
                <telerik:GridBoundColumn SortExpression="ProjectStatusName" DataField="ProjectStatusName"
                    UniqueName="ProjectStatusName" HeaderText="<%$ Resources:eRSOLanguage, ApplicationListProjectStatus %>" />
                <telerik:GridBoundColumn SortExpression="LastSavedDate" ItemStyle-Width="10%" DataField="LastSavedDate"
                    UniqueName="LastSavedDate" DataFormatString="&lt;nobr&gt;{0:yyyy/MM/d}&lt;/nobr&gt;"
                    HeaderText="<%$ Resources:eRSOLanguage, ApplicationListLastSaved %>" />
                <telerik:GridTemplateColumn UniqueName="Message" ItemStyle-Width="10%" HeaderText="<%$ Resources:eRSOLanguage, Message %>"
                    AllowFiltering="False">
                    <ItemTemplate>
                        <asp:Label ID="lblLastWorkflowLog" runat="server" Text="Label"></asp:Label>
                    </ItemTemplate>
                    <ItemStyle HorizontalAlign="Left" />
                    <HeaderStyle ForeColor="Black" />
                </telerik:GridTemplateColumn>
            </Columns>
            <ExpandCollapseColumn Visible="False">
                <HeaderStyle Width="19px" />
            </ExpandCollapseColumn>
            <RowIndicatorColumn Visible="False">
                <HeaderStyle Width="20px" />
            </RowIndicatorColumn>
        </MasterTableView>
        <PagerStyle Mode="NextPrevNumericAndAdvanced" />
        <GroupingSettings CaseSensitive="False" />
    </telerik:RadGrid>
Galin
Telerik team
 answered on 24 Feb 2012
4 answers
193 views

I’m trying to look for an example, but I haven’t found one. I would like to add a checkbox column to my RadGrid where if a person checks the checkbox it will do an insert into the database. This example here looks close to what I want. Where if you check the checkbox on the upper left, it will check all the rows and at the same time insert into the database as a yes/no or a 0 / 1.

Any help would be appreciated. 

Thanks. 

Richard
Top achievements
Rank 1
 answered on 24 Feb 2012
4 answers
402 views
Hi All,

I have a requirement of adding text in filter box
i.e adding "Search" keyword in all filter box in grid .
when the user click on textbox of the filter then the text should be empty to enter text to search.


Please advice.
DEBAL
Top achievements
Rank 1
 answered on 24 Feb 2012
1 answer
142 views
We're trying to move away from using image icons in our application by displaying them with CSS Sprites instead. We've been able to do this pretty successfully in some of the other telerik controls, but can't find a way to replicate the imageurl property of the radtab. Using the cssclass property doesn't work with the tab styling and telerik's sprites.

Is there any way to do this?
Kate
Telerik team
 answered on 24 Feb 2012
3 answers
110 views
Hello,

I have already use RadGrid in the past and I don't remember that I had such complications, but right in my application, I have checked 'Enable Sorting', 'Enable Filtering', 'Enable Sorting'

and non of these functionnalities appears.

alse, I wanted to remove the "<CommandItemSettings ExportToPdfText="Export to PDF"/>" line as it doesn't make any sense here, but the line has reappeared I don't know why.

My Grid's code:

<telerik:RadGrid ID="OrderDetail_RadGrid" runat="server" AllowFilteringByColumn="True" AllowSorting="True" CellSpacing="0"
GridLines="None" AutoGenerateColumns="False" DataSourceID="TemporaryOnlineOrdersLines_SqlDataSource">
    <ClientSettings AllowColumnsReorder="True">
        <Scrolling AllowScroll="True" UseStaticHeaders="True" />
    </ClientSettings>
    <MasterTableView AllowFilteringByColumn="False" AllowSorting="False" DataSourceID="TemporaryOnlineOrdersLines_SqlDataSource">
    <CommandItemSettings ExportToPdfText="Export to PDF"/>
    <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
        <HeaderStyle Width="20px"/>
    </RowIndicatorColumn>
    <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
        <HeaderStyle Width="20px"/>
    </ExpandCollapseColumn>
    <Columns>
        <telerik:GridBoundColumn DataField="p_Name" FilterControlAltText="Product"
            UniqueName="Product" HeaderText="Product"/>
        <%--<telerik:GridBoundColumn DataField="p_Description" FilterControlAltText="Description" UniqueName="p_Description" HeaderText="Description"/>--%>
        <telerik:GridNumericColumn DataField="tool_Quantity" DecimalDigits="2" FilterControlAltText="Quanity" HeaderText="Qantity"/>
        <telerik:GridBoundColumn DataField="unit_Name"  FilterControlAltText="Unit" UniqueName="unit_Name"  HeaderText="Unit"/>
        <telerik:GridButtonColumn FilterControlAltText="Filter column column" UniqueName="Remove"/>
    </Columns>
 
    <EditFormSettings>
        <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
    </EditFormSettings>
</MasterTableView>
 
<FilterMenu EnableImageSprites="false"></FilterMenu>
</telerik:RadGrid>
Pavlina
Telerik team
 answered on 24 Feb 2012
1 answer
110 views
Hi,

I have RadEditor 6.5.0.0 control and I want to use RadSpell control. I am very much aware that I cannot use RadSpell 3.1.0.0 for our version of RadEditor.

Could anyone please guide me what is the compatible version of Radspell for RadEditor 6.5.0.0. And as it is an outdated one, from where can I download the same?

Any help on this, much appreciated.

Thanks
Rumen
Telerik team
 answered on 24 Feb 2012
1 answer
156 views

How to Disable the back button.Even i got some javascript from google i cant go back to the previous page but my current page is loaded freshly,my previous actions are gone.... How should i retain current values while disable the back button? Example if i select any values in dropdown....Its urgent Please

 

Marin Bratanov
Telerik team
 answered on 24 Feb 2012
2 answers
143 views
I have the sharepoint list items as the datasource to the grid and I am using linq for the same. Now that I need to group the grid data based on a field value which is a lookup field value in that list. Every time I do that, it says, Field LookUPList.FieldValue not found in the source table. Please check the expression syntax.

Can you please guide me through this? Thank you.
Suganya
Top achievements
Rank 1
 answered on 24 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?