Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
231 views
I have an old project built with ASP.NET 2.0. It is a Website project and the upgrade wizard menu is not available.
When using "Convert to Telerik site" it is not possible to select the current project to be upgraded, there is no entry and manually browsing to the project's root directory is not accepted.

I tried this tutorial: http://www.telerik.com/support/kb/aspnet-ajax/general/updating-radcontrols-for-asp-net-to-another-version-or-license.aspx
However in step 5 ("From the newly downloaded and unzipped files, copy the new DLL ...") it becomes confusing. In my project's bin folder are many files like RadEditorNet2.dll and so on, but in the downloaded hotfix in the folder bin45 I can just find 3 files (Telerik.Web.UI etc.), that are not present in the old project's folder, so I can't replace anything.

Furthermore I copied these 3 files in my project's bin folder and I added them as reference. After setting the target framework to 4.5 it compiled successfully. Now I think, that I have to change all old tags like <prefix:RadEditor2Net ...> to <prefix:RadEditor>.

Is this the right way or do you know any other solution?
Biliana Ficheva
Telerik team
 answered on 20 Jun 2013
1 answer
46 views
Hi,

We are having issues with the Grid sorting and filtering in Windows 8 and IE 10 environment. Seems to work fine in Window 7, IE 10 environment. We using AJAX controls  Q1 2013, .net 3.5. The grid is wrapped in an update panel and displayed in a .aspx page, inside an IFRAME; any suggestions?

Thank you very much!

Randy Sullivan
Maria Ilieva
Telerik team
 answered on 20 Jun 2013
1 answer
76 views
I have a Telerik project that I created with VS2010.  The problem I'm having is as follows: 

 In IE9 when i upload a video and play it in rad editor it works fine.But in design made when i select the video and then try to  delete it the selection box goes away but video stays and continues to play and then i scroll anywhere video box also scrolls with scroll bar.
I am using this code.
<div>
        <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
        <telerik:RadEditor ID="ed1" runat="server" Width="722px" Height="750px">
            <Content>
                    <OBJECT  height='400px' width='600px' id='VIDEO' style='position:absolute;left:50px;top:50px;border:1px solid lightgray;'
                     CLASSID = 'CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6'type=application/x-oleobject>
                     <param name=URL value='NewFolder1\Wildlife.wmv'/>
                     </OBJECT>
            </Content>
        </telerik:RadEditor>
    </div>
Ivaylo
Telerik team
 answered on 20 Jun 2013
2 answers
190 views

how di programitaccly acces the DataSource property of a RadComboBox that is in the Filtertemplate of a GridDropdownColumn of my grid
I want to set the datasource in code behind at the server side

							<telerik:GridDropDownColumn DataField="ProductVolumeID" DataSourceID="ProductVolumeDataSource"
									HeaderText="Product Volume" ListTextField="LongDesc" ListValueField="ProductVolumeID"
									UniqueName="ProductVolumeID">
									<FilterTemplate>
											<telerik:RadComboBox ID="ProductVolumeComboBox" DataSourceID="ProductVolumeDataSource" DataTextField="LongDesc"
													DataValueField="ProductVolumeID" AppendDataBoundItems="true" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("ProductVolumeID").CurrentFilterValue %>'
													runat="server" OnClientSelectedIndexChanged="ProductVolumeIndexChanged">
													<Items>
															<telerik:RadComboBoxItem Text="All" />
													</Items>
											</telerik:RadComboBox>
											<telerik:RadScriptBlock ID="ProductVolumeIndexChangedRadScriptBlock" runat="server">
													<script type="text/javascript">
                        		function ProductVolumeIndexChanged(sender, args) {
															var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
															tableView.filter("ProductVolumeID", args.get_item().get_value(), "StartsWith");
														}
													</script>
											</telerik:RadScriptBlock>
									</FilterTemplate>
							</telerik:GridDropDownColumn>
How do i programitaccly access the DataSource property of a RadComboBox that is in the FilterTemplate of a GridDropDownColumn
I want to set the datasource in the server side code and not use the DataSourceID
  
                            <telerik:GridDropDownColumn DataField="ProductVolumeID" DataSourceID="ProductVolumeDataSource"
                                    HeaderText="Product Volume" ListTextField="LongDesc" ListValueField="ProductVolumeID"
                                    UniqueName="ProductVolumeID">
                                    <FilterTemplate>
                                            <telerik:RadComboBox ID="ProductVolumeComboBox" DataSourceID="ProductVolumeDataSource" DataTextField="LongDesc"
                                                    DataValueField="ProductVolumeID" AppendDataBoundItems="true" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("ProductVolumeID").CurrentFilterValue %>'
                                                    runat="server" OnClientSelectedIndexChanged="ProductVolumeIndexChanged">
                                                    <Items>
                                                            <telerik:RadComboBoxItem Text="All" />
                                                    </Items>
                                            </telerik:RadComboBox>
                                            <telerik:RadScriptBlock ID="ProductVolumeIndexChangedRadScriptBlock" runat="server">
                                                    <script type="text/javascript">
                                function ProductVolumeIndexChanged(sender, args) {
                                                            var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                                            tableView.filter("ProductVolumeID", args.get_item().get_value(), "StartsWith");
                                                        }
                                                    </script>
                                            </telerik:RadScriptBlock>
                                    </FilterTemplate>
                            </telerik:GridDropDownColumn>
Richard
Top achievements
Rank 1
 answered on 20 Jun 2013
3 answers
255 views
Good Afternoon,

I am currently having an issue with the OnClick Events of a RadTabStrip which is supposed to change the RadPageViews of a RadMultiPage. After placing the following code on a page which inherits no Master Page, with the following definition of a RadScriptManager, everything works fine.

<asp:Content ID="ContentPlaceHolder_RegisterUser" ContentPlaceHolderID="ContentPlaceHolder_MainContent" runat="server">
     
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
    </telerik:RadScriptManager>
 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RegisterUser_RadTabStrip">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RegisterUser_RadTabStrip" />
                    <telerik:AjaxUpdatedControl ControlID="RegisterUser_RadMultiPage" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RegisterUser_RadMultiPage">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RegisterUser_RadTabStrip" />
                    <telerik:AjaxUpdatedControl ControlID="RegisterUser_RadMultiPage" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
 
    <link href="../../Styles/RegisterEmpresa.css" rel="stylesheet" type="text/css" />
 
    <div id="RegisterUser_FormDecoratorZone">
 
        <fieldset>
 
            <legend>
                <asp:Literal ID="RegisterUser_Fieldset_Legend" runat="server" meta:resourcekey="RegisterUser_Fieldset_Legend" />
            </legend>
 
            <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanel">
 
                <telerik:RadTabStrip runat="server" ID="RegisterUser_RadTabStrip" SelectedIndex="1" MultiPageID="RegisterUser_RadMultiPage" AutoPostBack="true">
 
                    <Tabs>
 
                        <telerik:RadTab meta:resourcekey="RegisterUser_RadTabStrip_User" PageViewID="RadPageView_User" runat="server">
                        </telerik:RadTab>
 
                        <telerik:RadTab meta:resourcekey="RegisterUser_RadTabStrip_Company"
                            PageViewID="RadPageView_Company" runat="server" Selected="True">
                        </telerik:RadTab>
 
                    </Tabs>
 
                </telerik:RadTabStrip>
 
                <telerik:RadMultiPage id="RegisterUser_RadMultiPage" runat="server" SelectedIndex="1" EnableEmbeddedScripts="true">
                 
                    <telerik:RadPageView ID="RadPageView_User" runat="server" >
                        olaaaaaaaaaaaaa 1
                    </telerik:RadPageView>
 
                    <telerik:RadPageView ID="RadPageView_Company" runat="server">
                        olaaaaaaaaaaaaa 2
                    </telerik:RadPageView>
 
                </telerik:RadMultiPage>
 
            </telerik:RadAjaxPanel>
 
        </fieldset>
 
    </div>
 
    <script type="text/javascript">
 
        ....
 
    </script>
 
</asp:Content>


But after placing the same code inside a Master Page which defines the RadScriptManager, the OnClick Events performed on the RadTabs do not seem to fire.

<form id="form" runat="server">
 
           <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
               <Scripts>
                   <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                   <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                   <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
               </Scripts>
               <Services>
                   <asp:ServiceReference Path="../../WebService/PTC_WebService.svc" />
               </Services>
           </telerik:RadScriptManager>


I would be much appreciated if you could assist me.

Thank you for our attention.

Best Regards,

Nencho
Telerik team
 answered on 20 Jun 2013
4 answers
459 views
Hi,


How can I make telerik radtextbox rounded corner?

Thanks,
Danail Vasilev
Telerik team
 answered on 20 Jun 2013
7 answers
96 views

can someone tell me how to do this same thing but, make it for a DATE CONTROL??
and of course not a StartsWith but an Equals

 

 

 

RadFilterStartsWithFilterExpression expr1 = new RadFilterStartsWithFilterExpression("LOGDISPLAY");

 

expr1.Value =

 

"";

 

UnreportedItemsRadFilter.RootGroup.AddExpression(expr1);

UnreportedItemsRadFilter.RecreateControl();

Vasil
Telerik team
 answered on 20 Jun 2013
2 answers
223 views
Hi ,

I am using NestedViewTemplate to place a child grid within a parent grid . On click of a column in parent grid the child grid expands . But the columns are not aligned properly . please find the screenshot attached .


Here is my code :

 

 

 

 

<

 

telerik:RadGrid ID="RadGridActions" runat="server" CellSpacing="0" GridLines="None" AutoGenerateColumns="False" AllowSorting="true" Skin="WebBlue"

 

 

OnItemCommand="RadGridActions_ItemCommand" ShowFooter="true" OnItemCreated="RadGridActions_ItemCreated" OnDataBound="RadGridActions_DataBound" >

 

 

<MasterTableView>

 

 

<Columns>

 

 

<telerik:GridTemplateColumn>

 

 

<ItemTemplate>

 

 

<asp:CheckBox ID="chkStat" runat="server" autopostback="true" />

 

 

</ItemTemplate>

 

 

<EditItemTemplate>

 

 

<asp:CheckBox ID="chk" runat="server" AutoPostBack="true" />

 

 

</EditItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

 

 

<telerik:GridTemplateColumn visible="false">

 

 

<ItemTemplate>

 

 

<asp:Button ID="BtnExpand" runat="server" Text="+" style="width:20px;height:20px;" CommandName="ExpandOrCollapse" Visible="false" />

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="Set Seq" DataField="ActionSetSequence"></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="Action Name" DataField="ActionName" ></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="Predecessor Set Seq." DataField="PredecessorSetSequence" ></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="Created Dt" DataField="CreateDateTime" ></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="Last Updated Dt" DataField="EndDateTime" ></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="Status" UniqueName="Status" DataField="GILStatus" ></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn UniqueName="RuntimeDt" DataField="NextRunDateTime" Visible="false"></telerik:GridBoundColumn>

 

 

 

<telerik:GridTemplateColumn UniqueName="ImgSchedule" HeaderText="" ></telerik:GridTemplateColumn>

 

 

 

<telerik:GridBoundColumn UniqueName="ActionId" DataField="ActionId" Visible="false" HeaderText="Action Id" ></telerik:GridBoundColumn>

 

 

 

 

</Columns>

 

 

 

 

 

 

<NestedViewSettings DataSourceID="SqlDataSource2" >

 

 

<ParentTableRelation>

 

 

<telerik:GridRelationFields DetailKeyField="ActionID" MasterKeyField="ActionId" />

 

 

</ParentTableRelation>

 

 

</NestedViewSettings>

 

 

 

<NestedViewTemplate>

 

 

 

<telerik:RadGrid ID="RadChildGrid" runat="server" Skin="WebBlue" AutoGenerateColumns="False" OnNeedDataSource="RadChildGrid_Datasource" OnDataBound="RadChildGrid_OnDataBound" OnItemCommand="RadChildGrid_ItemCommand" >

 

 

<MasterTableView>

 

 

<Columns>

 

 

 

<telerik:GridTemplateColumn HeaderText="Replay" UniqueName="Replay">

 

 

<ItemTemplate>

 

 

<asp:ImageButton ID ="ImgBtnReplay" runat="server" ImageUrl="~/Images/replay_disabled.png" CommandName="ReplayAction" CssClass="ReplayImg"/>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn>

 

 

<ItemTemplate>

 

 

<asp:LinkButton ID="LBtnServiceName" runat="server" CommandName="Service" Text='<%# Bind("ServiceName")%>' ></asp:LinkButton>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

<telerik:GridBoundColumn HeaderText="Source Trade Ref" DataField="SourceSystemID" ></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="GRIP Trade Ref" DataField="GRIPPlacementID" ></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="Created Dt" DataField="MessageDateTime" ></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="Last Updated Dt" DataField="StatusDateTime" ></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn HeaderText="Status" DataField="GILStatus" UniqueName="Status" ></telerik:GridBoundColumn>

 

 

 

<telerik:GridTemplateColumn UniqueName="ImgSchedule" HeaderText="" ></telerik:GridTemplateColumn>

 

 

 

<telerik:GridTemplateColumn UniqueName="ImgSchedule" HeaderText="" ></telerik:GridTemplateColumn>

 

 

 

<telerik:GridBoundColumn UniqueName="RuntimeDt" DataField="NextRunDateTime" Visible="false"></telerik:GridBoundColumn>

 

 

 

<telerik:GridBoundColumn UniqueName="ServiceId" DataField="ServiceID" Visible="false"></telerik:GridBoundColumn>

 

 

 

<telerik:GridTemplateColumn>

 

 

<ItemTemplate>

 

 

<asp:LinkButton ID="LBtnServiceId" runat="server" Text='<%# Bind("ServiceID") %>'></asp:LinkButton>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

 

 

</Columns>

 

 

 

</MasterTableView>

 

 

 

</telerik:RadGrid>

 

 

</NestedViewTemplate>

 

 

 

</MasterTableView>

 

 

</telerik:RadGrid>

 

Galin
Telerik team
 answered on 20 Jun 2013
1 answer
120 views
I would like to create my rows and columns dynamically and not use Bind... is that possible?
or how do I dynamically create the List object at runtime, as I don't know the number of columns or what they are going to be called.
I do know the list will consist of one string and any number of int columns... basically, I'm needing to do a pivot and account for gaps so I preferably would like to just fill the grid view via code instead of using Bind.
Kostadin
Telerik team
 answered on 20 Jun 2013
14 answers
167 views
How do I hide the Node Expansion symbol if there are no nodes underneath?
Plamen
Telerik team
 answered on 20 Jun 2013
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?