Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
132 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
91 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
112 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
58 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
237 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
115 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
124 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
421 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
1 answer
160 views
I am trying to programmatically expand a radpanelitem, but it does not seem to be working. I can expand it via the UI by clicking, but I would like to expand it from the code behind.

01.<telerik:RadPanelBar ID="rpbHeader" runat="server" Skin="Outlook" Width="100%" ExpandMode="FullExpandedItem" OnPreRender="rpbHeader_PreRender">
02.        <Items>
03.            <telerik:RadPanelItem ID="rpi_Header" runat="server" Owner="rpbHeader" Text="Statement Details">
04.                <ContentTemplate>
05.                    <asp:UpdatePanel ID="UpdatePanel3" runat="server">
06.                        <ContentTemplate>
07.                            <div style="padding-top: 8px;">
08.                            </div>
09.                            <div class="RFSHeader">
10.                                <uc2:ucStatementHeader ID="ucStatementHeader" runat="server" />
11.                            </div>
12.                        </ContentTemplate>
13.                    </asp:UpdatePanel>
14.                </ContentTemplate>
15.            </telerik:RadPanelItem>
16.        </Items>
17.    </telerik:RadPanelBar>
1.protected void Page_PreRender(object sender, EventArgs e)
2.        {
3.            if (sessionInfo.SessionObject().FinData.BankStatement != null)
4.            {
5.                rpi_Header.Expanded = true;
6.            }
7.        }
Hein
Top achievements
Rank 1
 answered on 27 Nov 2014
1 answer
38 views
Hi,

Will Visual Style Builder be able to support automatically the property RenderMode="Lightweight" in the future ?
From what I gathered in the forms, Visual Style Builder only supports RenderMode="Classic".

I've tried RenderMode="Lightweight" after doing "Visual Style Builder" and Telerik's Skin Builder Assembly Builder Tool (http://skinsassemblybuilder.telerik.com/) ,.. and UI rendering indeed breaks.

Thanks,
Henry Wu
Galin
Telerik team
 answered on 27 Nov 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?