Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
118 views
Anyone else get this warning in dev console for chrome 39

The specified value '11/24/2014' does not conform to the required format, 'yyyy-MM-dd'.

Also, the chart labels are now not aligned. This was never an issue in chrome 38.

See screenshot below.
Thien
Top achievements
Rank 1
 answered on 28 Nov 2014
6 answers
80 views
I am using ASP:TabContainer with ASP:Panel and ran into problem with refresh.  I could not refresh just the tab, only the only page - I really need just a tab refresh. 

So, I though I would tryRadTabStrip.

<%@ Register Src="~/Admin/GroupBasics.ascx" TagName="GroupBasicsCS" TagPrefix="uc" %>
<%@ Register Src="~/Admin/GroupForm.ascx" TagName="GroupFormCS" TagPrefix="uc" %>
<%@ Register Src="~/Admin/GroupMemberPage.ascx" TagName="GroupMembersPageCS" TagPrefix="uc" %>
<%@ Register Src="~/Admin/GroupMembers.ascx" TagName="GroupMembersCS" TagPrefix="uc" %>
...

    <telerik:RadTabStrip ID="GroupTabStrip" runat="server" OnClientTabSelecting="" AutoPostBack="false"  r Align="Justify" MultiPageID="GroupTabPV" SelectedIndex="0">
            <Tabs>
                <telerik:RadTab PageViewID="GroupBasicsPV"   Text="Group Basics"></telerik:RadTab>
                <telerik:RadTab PageViewID="GroupFormPV" Text="Group Form"></telerik:RadTab>
                <telerik:RadTab PageViewID="GroupMembersPagePV" Text="Group Members Page"></telerik:RadTab>
                <telerik:RadTab PageViewID="GroupMembersPV" Text="Group Members"></telerik:RadTab>
            </Tabs>
    </telerik:RadTabStrip>
      <telerik:RadMultiPage runat="server" ID="GroupTabPV" SelectedIndex="0">
            <telerik:RadPageView runat="server" ID="GroupBasicsPV">
                GroupBasicsPV
                <div class="contentWrapper">
                    <uc:GroupBasicsCS runat="server" ID="GroupBasicsCS" />
                </div>
            </telerik:RadPageView>
            <telerik:RadPageView runat="server" ID="GroupFormPV">
                GroupFormPV
                <div class="contentWrapper">
                    <uc:GroupFormCS runat="server" ID="GroupFormCS" />
                </div>
            </telerik:RadPageView>
 
            <telerik:RadPageView runat="server" ID="GroupMembersPagePV">
                GroupMembersPagePV
                <div class="contentWrapper">
                    <uc:GroupMembersPageCS runat="server" ID="GroupMembersPageCS" />
                </div>
            </telerik:RadPageView>

            <telerik:RadPageView runat="server" ID="GroupMembersPV">
                GroupMembersPV
                <div class="contentWrapper">
                    <uc:GroupMembersCS runat="server" ID="GroupMembersCS"/>
                </div>
            </telerik:RadPageView>
       </telerik:RadMultiPage>

With this setup if I try to open a RadEditor in the window I get a document not defined error:

Type.registerNamespace("Telerik.Web.UI.Editor");
Uncaught TypeError: Cannot read property 'document' of null 
in some Telerik code:
(function(a,b,c){b.RestorePoint=function(e,d){this.Window=e;
this.Document=e.document;
this.container=(d)?d:this.Document.body;

AND

when a do a refresh it not only refreshes the whole page, but it also changes the tab back to the first one.  It is also annoying that all the pages in the tabs are called on page creation before their tabs are clicked, potentially a huge waste of resources. 

There is might be a way to work around all this but the examples and documentation completely lack using an ascx collection. I would have thought a rather normal use.  I am probably doing it all wrong but I could only find one example with ascx's, TabStrip - Render Selected Page Only .  I probably need to control the tab strip more directly which I would pursue but the Document not defined error kind of kills using the TabStrip at all. 


Danail Vasilev
Telerik team
 answered on 27 Nov 2014
1 answer
141 views
Hi Support,

I am using UI for ASP.NET AJAX Q3 2014.
When I place a slider in a table: <table><tr><td><telerik:RadSlider ... /></td></tr></table>
then the styles are not fully rendered.
Sometimes at page load but not when you press the browser's refresh button.
This problem occurs on IE 11 but not in Chrome.
Is telerik not cross browser compatible?
Is telerik generally not made for IE 11?
Do you have generally problems with including components in a table cell?

Thanks for a Feedback.
Kai-Uwe
Top achievements
Rank 1
 answered on 27 Nov 2014
1 answer
105 views
I'm using the RadSiteMap in the context of the sitefinity breadcrumb widget...

So I've overrode the widget itself and have tried everything I can think of to stop the script from loading, but nothing seems to work.

Basically I just need to render out flat markup I dont need any client features of the widget...

this.SiteMapBreadcrumb.RenderMode = RenderMode.Lightweight;
this.SiteMapBreadcrumb.EnableEmbeddedScripts = false;
this.SiteMapBreadcrumb.EnableEmbeddedSkins = false;
this.SiteMapBreadcrumb.EnableEmbeddedBaseStylesheet = false;

Is it possible?
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 27 Nov 2014
3 answers
126 views
Visual Studio 2013 throwing exception "Telerik VSExtension Error" during upgrade wizard of Asp.Net application. Please see attached image.
Any solution ?
Vesko
Telerik team
 answered on 27 Nov 2014
1 answer
64 views
Hi,

I am looking for a control which allows to display/preview files for  all formate (Images, PDFs, MS Word, Video, Flash).

Thanks,
Nitin
Vessy
Telerik team
 answered on 27 Nov 2014
1 answer
253 views
i have created radgrid as picture in attacment
my goals is to create empty radgrid then add the row with RadGrid Automatic Operation(performinsert())
but i can't fire the method anyway, when i click insert like attachment's picture nothing happen

i bind the grid with OnNeedDataSource with DataTable(without sqldatasource like others online tutorials)


here's the code
public void rg1_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
       {
            
           DataTable temp = new DataTable();
           temp.Columns.Add("Display", typeof(string));
           temp.Columns.Add("Value", typeof(string));
           rg1.DataSource = temp;
       }
public void rg1_ItemCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
       {
           if (e.CommandName == RadGrid.PerformInsertCommandName)
           {
               GridEditableItem item = e.Item as GridEditableItem;
               rg1.MasterTableView.PerformInsert(item);
               rg1.Rebind();
               //RadTextBox rbrbrbrb = new RadTextBox();
               //rbrbrbrb.Text = "tes";
               //radAP4.Controls.Add(rbrbrbrb);
 
           }
       }
<telerik:RadGrid runat="server" ID="rg1" AutoGenerateColumns="true" AllowPaging="true" GridLines="None" Width="500px" Height="250px" AllowAutomaticInserts="true" AllowAutomaticDeletes="true" AllowAutomaticUpdates="true" OnNeedDataSource="rg1_NeedDataSource" AutoGenerateEditColumn="true" AutoGenerateDeleteColumn="true" OnItemCommand="rg1_ItemCommand"> <%--OnItemInserted="rg1_ItemInserted">--%>
            <MasterTableView runat="server" CommandItemDisplay="Top" AutoGenerateColumns="true" EditMode="InPlace" AllowAutomaticInserts="true" AllowAutomaticDeletes="true" AllowAutomaticUpdates="true">
                <CommandItemTemplate>
                    <telerik:RadToolBar ID="rtb1" runat="server" AutoPostBack="true">
                        <Items>
                            <telerik:RadToolBarButton Text="Edit selected" CommandName="EditSelected" Visible='<%# rg1.EditIndexes.Count == 0 %>'></telerik:RadToolBarButton>
                             <telerik:RadToolBarButton Text="Update" CommandName="UpdateEdited" Visible='<%# rg1.EditIndexes.Count > 0 %>'></telerik:RadToolBarButton>
                            <telerik:RadToolBarButton Text="Cancel editing" CommandName="CancelAll" Visible='<%# rg1.EditIndexes.Count > 0 || rg1.MasterTableView.IsItemInserted %>'></telerik:RadToolBarButton>
                            <telerik:RadToolBarButton Text="Add new" CommandName="InitInsert" Visible='<%# !rg1.MasterTableView.IsItemInserted %>'></telerik:RadToolBarButton>
                           
                             <telerik:RadToolBarButton Text="Add this Customer" CommandName="PerformInsert" Visible='<%# rg1.MasterTableView.IsItemInserted %>'></telerik:RadToolBarButton>
                            <telerik:RadToolBarButton Text="Delete selected customers" CommandName="DeleteSelected"></telerik:RadToolBarButton>
                        <telerik:RadToolBarButton Text="Refresh customer list" CommandName="RebindGrid" ></telerik:RadToolBarButton>
                        </Items>
                    </telerik:RadToolBar>
                </CommandItemTemplate>
            </MasterTableView>
            <ClientSettings>
                <Selecting AllowRowSelect="true" EnableDragToSelectRows="true" />
            </ClientSettings>
        </telerik:RadGrid>

please help
Maria Ilieva
Telerik team
 answered on 27 Nov 2014
3 answers
128 views
Hi everyone,
Please response to Kassaiefarshad@yahoo.com

I have used RadGrid in a Webpart in Sharepoint 2010. I am not using Ajax.

I have got two problem as follow:
Problem 1:

When I enable Paging in RadGrid it doesn't work.It mean that when I click on page "2" to go to page two, it returns empty page.

My webpart's code is as follow:
        <telerik:RadGrid ID="RadGridArzyabiDavari" runat="server" AllowPaging="True"
            AllowSorting="True" AutoGenerateColumns="False" CellSpacing="0"
            GridLines="None">
<ClientSettings>
<Selecting CellSelectionMode="None"></Selecting>
</ClientSettings>
 
<MasterTableView AllowSorting="False" NoMasterRecordsText="موردی برای نمایش یافت نشد"
                CommandItemDisplay="Bottom" PageSize="5">
<CommandItemSettings ExportToPdfText="PDF خروجی" ExportToExcelText="Excel خروجی" ShowAddNewRecordButton="false"
  ShowExportToExcelButton="true" ShowExportToPdfButton="true"></CommandItemSettings>
 
<RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
 
<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
 
    <Columns>
        <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn column"
            UniqueName="TemplateColumn">
            <ItemTemplate>
                <img height="100px"
    src='http://kms/MembersPictures/<;%#Eval("Expert")%>.jpg' style="border: 0px;"
    width="75px" />
            </ItemTemplate>
        </telerik:GridTemplateColumn>
        <telerik:GridBoundColumn DataField="ExpertDisplayName "
            FilterControlAltText="Filter ExpertDisplayName column" HeaderText="نام کاربری"
            SortExpression="ExpertDisplayName " UniqueName="ExpertDisplayName">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="TedadDavari "
            FilterControlAltText="Filter TedadDavari column" HeaderText="تعداد داوری ها"
            SortExpression="TedadDavari " UniqueName="TedadDavari">
        </telerik:GridBoundColumn>
    </Columns>
 
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
    <PagerStyle AlwaysVisible="True" />
</MasterTableView>
<ExportSettings FileName="KMSFile" IgnorePaging="true" OpenInNewWindow="true">
                <Pdf Author="سیستم مدیریت دانش" Creator="گروه مشاورین هوژان"
                    PageHeight="297mm" PageWidth="210mm" PaperSize="A4" />
</ExportSettings>
 
<FilterMenu EnableImageSprites="False"></FilterMenu>
        </telerik:RadGrid>
 
Code Behind is as follow:
 
        protected void Page_Load(object sender, EventArgs e)
        {
                 List<ReportsDataSources.ArzyabiDavari> arzyabidavari = new List<ReportsDataSources.ArzyabiDavari>();
            if (!Page.IsPostBack)
            {
                Bind_RadGridArzyabiDavari();
                RadGridArzyabiDavari.DataSource = arzyabidavari;
                RadGridArzyabiDavari.DataBind();
            }
        }
Problem 2:

when I enable Paging in RadGrid ,then click on Export to Pdf/Excel button it returns an Error as follow:

--------------------------------------------------------------------------------
 
Script control 'PageSizeComboBox' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl
Kostadin
Telerik team
 answered on 27 Nov 2014
1 answer
156 views
I am receiving the attached error when I have a RadGrid and RadMap attached to the same RadClientDataSource.  The error occurs by a postback on a Rad drop down.  If I bind the two to different RadClientDataSource the error goes away.  Unfortunately I would like to keep them bound to the same single RadClientDataSource as I have found when I filter the list of customers (with Lat/Long) the RadMap filters aswell, so was a 'feature' I want to keep.  Any thoughts on how I supress this message ?

Unhandled exception at line 13245, column 8 in http://localhost:54342/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ContentPlaceHolderMainContent_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:f319b152-218f-4c14-829d-050a68bb1a61:ea597d4b:b25378d2;Telerik.Web.UI,+Version=2014.3.1024.45,+Culture=neutral,+PublicKeyToken=121fae78165ba3d4:en-US:45fa33f7-195b-4d8e-a1d1-d5955cf24e2c:16e4e7cd:f7645509:24ee1bba:88144a7a:1e771326:f46195d3:6b3f73b3:4cd1fec6:c442ac3f:ec7335e:d944e0f6:619d6d01:71188da4:3a11d08b:9b7cc2d2:dbc6b3d6:69667591:a4c22f0d:c4143936:5f88c545:d170b7bc:aaea87d6:e330518b:8e6f0d33:6a6d718d:58366029:2003d0b8:c128760b:aa288e2d:258f1c72:c8618e41:e4f8f289:1a73651d:333f8d94
 
0x800a138f - JavaScript runtime error: Unable to get property 'get_batchEditingManager' of undefined or null reference
Maria Ilieva
Telerik team
 answered on 27 Nov 2014
3 answers
434 views

Hi My Dear Friends :

How Can We Check The Validation Of RadCaptcha From Code Behind - With Custom Validator(ServerValidate) / WithOut Using And Setting ValidationGroup ?

thanks In Future Advance

Best Regards...

DevMohamed
Top achievements
Rank 1
 answered on 27 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?