Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
119 views

Hello, Happy New Year everyone.

I set up the scheduler using the example for advanced insert template as described here: http://demos.telerik.com/aspnet-ajax/scheduler/examples/advancedformtemplate/defaultcs.aspx

 

I added a method for the click event of the insert button, to so some custom code, and appointment validation. For example I'm checking our database to make sure there is no appointment conflict.

The issue i'm having is that if I handle an exception in that event, the advanced insert form template modal still continue to process, closes, and still hits the insert appointment method for the RadScheduler on the default page.

I would like to keep the modal open until all validation passes, then proceed, is there a way to do this? Or is there a  way to programatically reopen the modal?

 Thanks

 

Plamen
Telerik team
 answered on 11 Jan 2016
1 answer
117 views
I have a RadRotator which is bound to a list of business objects, the RadRotator is placed inside a tile and the user has a requirement to copy the contents that are displayed on the tile (Content Tile). I am not able to click select and copy the contents, the tile contents render as an image, is there a way by which the list that is bound to the rotator can be copied to the clipboard?
Marin Bratanov
Telerik team
 answered on 11 Jan 2016
4 answers
184 views
Hi,
How to Saving and restoring settings for telerik rad tile list like Grid - Persisting Grid Settings?

Thanks & Regards
Anzar.M
Marin Bratanov
Telerik team
 answered on 11 Jan 2016
5 answers
661 views
<telerik:RadGrid ID="RadGrid1" ShowStatusBar="true" GridLines="None" runat="server" AllowAutomaticDeletes="True" 
    AllowAutomaticInserts="True" OnNeedDataSource="RadGrid1_NeedDataSource" PageSize="10" 
    AllowAutomaticUpdates="True" AllowPaging="True" MasterTableView-AllowAutomaticInserts="true" 
    AutoGenerateColumns="True" AutoGenerateDeleteColumn="true" AutoGenerateEditColumn="true"   
    OnInsertCommand="RadGrid1_InsertCommand" OnUpdateCommand="RadGrid1_UpdateCommand" 
     Skin="Web20" OnDeleteCommand="RadGrid1_DeleteCommand">  
    <PagerStyle Mode="NextPrevAndNumeric" /> 
    <MasterTableView InsertItemDisplay="Top">  
    </MasterTableView>   
      
</telerik:RadGrid> 
Hi, This might be a simple issue but I cant figure out what I'm doing wrong. The insert button for the RadGrid is just not showing up like you have in your demos. I'm binding the RADGrid to DataTable with the OnNeedDataSource.  I need the RadGrid to auto generate insert, edit and delete buttons. It does this for the edit and delete buttons but not the insert button. Here is what I have. Please help.

 Thanks
Mahipal
Brian
Top achievements
Rank 2
 answered on 10 Jan 2016
15 answers
1.3K+ views
With Chrome 40.0.2214.94 m (64-bit) and the latest 2014.Q3 Sp1 of the controls - we are getting this errors when hovering on/off or RadButtons when the page is zoomed (seems to just have started happening in the last day or so)

Uncaught Sys.ArgumentOutOfRangeException: Sys.ArgumentOutOfRangeException: Value must be an integer.
Parameter name: y
Actual value was 1100.8.





Oddly - we do not see this on all pages... Perhaps a combination of things are happening, but we have not been able to pin it down.
Pervesh
Top achievements
Rank 1
 answered on 09 Jan 2016
2 answers
202 views

Hi,

 

I have page with radgrid and the grid consists of 5 fixed columns and 12 dynamic columns.I can use the scroll bar for these 12 columns.It is working as expected in the mozilla ,chrome and IE10 browsers but it is not working as expected in the IE11. Please help me in resolving the bug. We are using Telerik version 2013.1.507.45. please go through the below code.

 RadGrid in RadPageView

<telerik:RadGrid ID="radMonthly" ShowStatusBar="true" runat="server" AutoGenerateColumns="false"
                                                    AllowPaging="true" MasterTableView-NoDetailRecordsText="" MasterTableView-NoMasterRecordsText=""
                                                    BorderStyle="None" PageSize="25" AllowMultiRowSelection="False" GridLines="None"
                                                    Skin="DV" EnableEmbeddedSkins="false" SortingSettings-EnableSkinSortStyles="false">

 MasterTableView

<MasterTableView AllowMultiColumnSorting="True" ShowHeadersWhenNoRecords="true" AutoGenerateColumns="false"
                                                        PageSize="25" AllowCustomPaging="true" Name="SourceTable" TableLayout="Fixed"
                                                        Width="100%" ExpandCollapseColumn-Visible="false">
                                                        <PagerTemplate>
                                                            <div class="pagerCont">
                                                                <div class="pagerPadWide">
                                                                </div>
                                                                <div class="pagerLeft">
                                                                    <span>
                                                                        <asp:Literal ID="Literal1" runat="server" Text="PagingPage "></asp:Literal>
                                                                    </span><span class="pageNumber">
                                                                        <%#CType(DataBinder.Eval(Container, "Paging.CurrentPageIndex"), Int32) + 1%></span>
                                                                    <span>
                                                                        <asp:Literal ID="Literal2" runat="server" Text="PagingPageOf "></asp:Literal>
                                                                    </span><span class="pageTotalNumber">
                                                                        <%# DataBinder.Eval(Container, "Paging.PageCount")%></span> <span class="leftDivider">
                                                                            |</span>
                                                                </div>
                                                                <asp:Panel CssClass="pagerCenter" runat="server" ID="NumericPagerPlaceHolder">
                                                                </asp:Panel>
                                                                <div class="pagerCenter">
                                                                    <span class="rightDivider">|</span> <span class="pageTotal">
                                                                        <%# DataBinder.Eval(Container, "Paging.DataSourceCount")%></span> <span>
                                                                            <asp:Literal ID="Literal3" runat="server" Text="PagingTotalRecords "></asp:Literal>
                                                                        </span>
                                                                </div>
                                                                <div class="pagerRight" style="margin-right: 5px;">
                                                                    <div class="pagerItemsPerPage">
                                                                        <span>
                                                                            <asp:Literal ID="Literal4" runat="server" Text="PagingView "></asp:Literal>:&nbsp;</span>
                                                                        <telerik:RadComboBox runat="server" ID="rcbPagingSite"  CssClass="PagingComboWidthNumber"  DataSource="<%# New Object(){25, 50, 75, 100} %>"
                                                                            SelectedValue='<%# DataBinder.Eval(Container, "Paging.PageSize") %>' OnClientSelectedIndexChanged="rcbPaging_SelectedIndexChanged">
                                                                        </telerik:RadComboBox>
                                                                    </div>
                                                                    <span>&nbsp;<asp:Literal ID="Literal5" runat="server" Text="PagingofRows"></asp:Literal></span>
                                                                </div>
                                                            </div>
                                                        </PagerTemplate>
                                                        <Columns>
                                                            <telerik:GridBoundColumn ItemStyle-Width="127px" DataField="Column1" UniqueName="Column1"
                                                                HeaderStyle-Width="127px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn HeaderText="<%$ Resources:Generic,Account %>" UniqueName="AccountNumber"
                                                                DataField="<%$ Resources:Generic,Account %>" ItemStyle-Width="150px" HeaderStyle-Width="150px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn HeaderText="<%$ Resources:Generic,Source %>" UniqueName="SourceNumber"
                                                                DataField="<%$ Resources:Generic,Source %>" ItemStyle-Width="90px" HeaderStyle-Width="90px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn HeaderText="<%$ Resources:Generic,Type %>" UniqueName="TypeNumber"
                                                                DataField="<%$ Resources:Generic,Type %>" ItemStyle-Width="90px" HeaderStyle-Width="90px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn HeaderText="<%$ Resources:UserDataEntry,UOM %>" UniqueName="MonthNumber"
                                                                DataField="<%$ Resources:UserDataEntry,UOM %>" ItemStyle-Width="90px" HeaderStyle-Width="90px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Month0" UniqueName="Month0" ItemStyle-Width="99px"
                                                                HeaderStyle-Width="99px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Month1" UniqueName="Month1" ItemStyle-Width="99px"
                                                                HeaderStyle-Width="99px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Month2" UniqueName="Month2" ItemStyle-Width="99px"
                                                                HeaderStyle-Width="99px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Month3" UniqueName="Month3" ItemStyle-Width="99px"
                                                                HeaderStyle-Width="99px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Month4" UniqueName="Month4" ItemStyle-Width="99px"
                                                                HeaderStyle-Width="99px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Month5" UniqueName="Month5" ItemStyle-Width="99px"
                                                                HeaderStyle-Width="99px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Month6" UniqueName="Month6" ItemStyle-Width="99px"
                                                                HeaderStyle-Width="99px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Month7" UniqueName="Month7" ItemStyle-Width="99px"
                                                                HeaderStyle-Width="99px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Month8" UniqueName="Month8" ItemStyle-Width="99px"
                                                                HeaderStyle-Width="99px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Month9" UniqueName="Month9" ItemStyle-Width="99px"
                                                                HeaderStyle-Width="99px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Month10" UniqueName="Month10" ItemStyle-Width="99px"
                                                                HeaderStyle-Width="99px">
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="Month11" UniqueName="Month11" ItemStyle-CssClass="lastcolumn"
                                                                HeaderStyle-CssClass="lastcolumn" >
                                                            </telerik:GridBoundColumn>
                                                            <telerik:GridBoundColumn DataField="SubSiteId" UniqueName="SubSiteId" Display="false">
                                                        </telerik:GridBoundColumn>
                                                         <telerik:GridBoundColumn DataField="DSAndCompleted0" UniqueName="DSAndCompleted0" Display="false">
                                                        </telerik:GridBoundColumn>
                                                         <telerik:GridBoundColumn DataField="DSAndCompleted1" UniqueName="DSAndCompleted1" Display="false">
                                                        </telerik:GridBoundColumn>
                                                         <telerik:GridBoundColumn DataField="DSAndCompleted2" UniqueName="DSAndCompleted2" Display="false">
                                                        </telerik:GridBoundColumn>
                                                         <telerik:GridBoundColumn DataField="DSAndCompleted3" UniqueName="DSAndCompleted3" Display="false">
                                                        </telerik:GridBoundColumn>
                                                         <telerik:GridBoundColumn DataField="DSAndCompleted4" UniqueName="DSAndCompleted4" Display="false">
                                                        </telerik:GridBoundColumn>
                                                         <telerik:GridBoundColumn DataField="DSAndCompleted5" UniqueName="DSAndCompleted5" Display="false">
                                                        </telerik:GridBoundColumn>
                                                         <telerik:GridBoundColumn DataField="DSAndCompleted6" UniqueName="DSAndCompleted6" Display="false">
                                                        </telerik:GridBoundColumn>
                                                         <telerik:GridBoundColumn DataField="DSAndCompleted7" UniqueName="DSAndCompleted7" Display="false">
                                                        </telerik:GridBoundColumn>
                                                         <telerik:GridBoundColumn DataField="DSAndCompleted8" UniqueName="DSAndCompleted8" Display="false">
                                                        </telerik:GridBoundColumn>
                                                         <telerik:GridBoundColumn DataField="DSAndCompleted9" UniqueName="DSAndCompleted9" Display="false">
                                                        </telerik:GridBoundColumn>
                                                         <telerik:GridBoundColumn DataField="DSAndCompleted10" UniqueName="DSAndCompleted10" Display="false">
                                                        </telerik:GridBoundColumn>
                                                         <telerik:GridBoundColumn DataField="DSAndCompleted11" UniqueName="DSAndCompleted11" Display="false">
                                                        </telerik:GridBoundColumn>
                                                        </Columns>
                                                    </MasterTableView>

 ClientSideSettings

                                                   <ClientSettings>
                                                        <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                                                    </ClientSettings>​

CSS Class

<style>
    .lastcolumn
        {
        width:90px;
        }
    </style>​

saravanan
Top achievements
Rank 1
 answered on 08 Jan 2016
3 answers
264 views

Hello,

I have multiple RadTextBox & RadNumericTexBox on our form. The scenario is I need to find out if specific RadTextBox's value being tampered or not during editing form.

Based on if the textbox is dirty(value got tampered than original) I need to call different eventsat client side. 

I do not see any specific attribute for the same for RadTextBox or any specific event that will allow me identify isDirty flag. 

Could you please advise on the same.

Thanks,

Imran

Viktor Tachev
Telerik team
 answered on 08 Jan 2016
10 answers
621 views
Hello,

I was wondering if it is possible to prevent duplicate uploads of files before they are loaded on the server?

Thanks,
David
frederiko
Top achievements
Rank 1
 answered on 08 Jan 2016
1 answer
100 views

HI,

We have many columns to be displayed in UI, we are displaying static columns in UI using telerik on page load, which is taking a lot of time. Is there anyway where we can delete unnecessary columns before page load so that loading time will decrease. Please help me out here, Thanks in advance.

Thanks and Regards,

Raj Kamal Singh Rathore.

Kostadin
Telerik team
 answered on 08 Jan 2016
1 answer
114 views

Hello,

I'm having a grid that displays user accounts to be merged  into a single main account

the problem is I need to select the accounts that it's to be merged and the main account single account to merge in

server side check boxes wont do it for me as they don't support embedded code blocks

is there's a way to do so using the Telerik Radgrid

Kostadin
Telerik team
 answered on 08 Jan 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?