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

Hello,

The company I work for is using Telerik UI 2012.1.411.40

I have been tasked with building a new page on one of our products, but I cannot seem to find documentation in our downloads.

I understand the version is old, I assume that upgrading from 2012 to 2021 would cause a number of issues to come up.

I was wondering if support could provide the documentation for this older version or the closest I could follow to it?

I would also like the opportunity to speak with someone, if possible, about possibly using a different version within the application for a specific section.

I look forward to hearing from anyone really.

 

Doncho
Telerik team
 answered on 02 Mar 2021
0 answers
63 views

This seems to be happening in more recent versions.  With that said, here we go...

So let's say I have a RadComboBox(refered to a RCB from here forward) set up in the following manner:

<telerik:RadComboBox ID="cbAcctType" runat="server" DataValueField="ACCT_TYPE_ID" DataTextField="acct_code" RenderMode="Classic"
    AutoPostBack="True" CausesValidation="False" Width="100%" DropDownWidth="400px" HighlightTemplatedItems="True"
    InputCssClass="required_cb" EnableLoadOnDemand="true" AppendDataBoundItems="True">
    <ItemTemplate>
        <asp:Table runat="server" CellPadding="0" CellSpacing="0" Width="100%" GridLines="None">
            <asp:TableRow>
                <asp:TableCell Width="30%">
                    <%# DataBinder.Eval(Container.DataItem, "acct_code") %>
                </asp:TableCell>
                <asp:TableCell Width="70%">
                    <%# DataBinder.Eval(Container.DataItem, "acct_description") %>
                </asp:TableCell>
            </asp:TableRow>
        </asp:Table>
    </ItemTemplate>
</telerik:RadComboBox>

 

and it's databound via code in the code behind.  All that works fine. Now when my form loads I obviously set RCB value.  I have a function to do this:

Public Shared Function SetRadCombByVal(ByVal ddl As Telerik.Web.UI.RadComboBox,
                                      ByVal val As String) As Boolean
 
    If val = "" Or val.Trim.Length <= 0 Then
        Return False
    End If
    If ddl.Items.Count = 0 Then
        Return False
    End If
    ddl.SelectedIndex = -1
 
    Try
        ddl.FindItemByValue(val.Trim).Selected = True
    Catch ex As Exception
        Return False
    End Try
 
    If ddl.SelectedIndex < 0 Then
        Return False
    End If
    Return True
 
End Function

 

this also works fine with one caveat.  Lets say the RCB is data bound with the following values A, B, C, D.  When you bind the RCB it defaults to the 1st in the list being selected.  So the Text area of the RCB contains A.  Now when I set the RCB via my function to let's say C...the row becomes the selected row, but the Text area of the RCB continues to contain A making it look like the operation of setting the RCB to the proper value didn't work.  Subsequently, I've had to add the following code:

ddl.FindItemByValue(val.Trim).Selected = True
ddl.Text = ddl.SelectedItem.Text.ToString  'This ones the new line.

 

Seems a bit ridiculous and redundant to have to add that.  If need be, I can setup a whole project to showcase my findings.

SSirica
Top achievements
Rank 3
Iron
Iron
Iron
 asked on 01 Mar 2021
5 answers
508 views
Hi there,

I am trying to implement something like this

http://demos.telerik.com/aspnet-ajax/upload/examples/async/imageuploader/defaultcs.aspx?product=asyncupload

It works great on my local, but when deployed in IIS 7, it throws a security error

System.UnauthorizedAccessException: RadAsyncUpload could not create App_Data\RadUploadTemp folder. Ensure the App_Data folder is writable or set the TemporaryFolder property to a writable location.     at Telerik.Web.UI.RadAsyncUpload.CreateTempFolder()     at  

While I know how to fix the security issue, I really do not want the AsyncUpload tool to write to any local folders [due to various deployment environment constraints]

Any idea why this is happening?

Here's my code in the markup

<telerik:RadAsyncUpload runat="server" ID="AsyncUpload1" MultipleFileSelection="Automatic" HttpHandlerUrl="~/lib/Upload.ashx" >
</telerik:RadAsyncUpload>

Rumen
Telerik team
 answered on 01 Mar 2021
1 answer
145 views

Hi Telerik Team,

we are experience an issue which happens on Telerik demo site too, is there any way we can fix it?

 

Steps to Reproduce :

1. go to link https://demos.telerik.com/aspnet-ajax/editor/examples/overview/defaultcs.aspx

2. Highlight and copy some HTML( you can copy html bottom of the page )
3. Use Paste as Plain Text to paste your content.

4. check RadEditor html, <p> has been replaced by <br/>

 

you can check the detailed info in the attachment too,

 

Thanks,

Lan

Rumen
Telerik team
 answered on 01 Mar 2021
1 answer
112 views

Hi there.

I have a radgrid that has two GridDropDownColumns both using the same datasource to display a list of users.

When I click the second column header it sorts the first column. I.e. I clicked the Overseer column below but it sorted the Author column.

<telerik:GridDropDownColumn AllowFiltering="false" AllowAutomaticLoadOnDemand="true" DropDownControlType="RadComboBox" DataField="ProcessAuthorUserID" DataType="System.Int32" HeaderText="Author" HeaderStyle-Width="110px" SortExpression="DisplayName" UniqueName="ProcessAuthorUserID" DataSourceID="SqlDataSource2" ListTextField="DisplayName" ListValueField="UserID">
    <ItemStyle VerticalAlign="top" Width="60px" />
</telerik:GridDropDownColumn>
<telerik:GridDropDownColumn AllowFiltering="false" AllowAutomaticLoadOnDemand="true" DropDownControlType="RadComboBox" DataField="DOUserID" DataType="System.Int32" HeaderText="Overseer" HeaderStyle-Width="110px" SortExpression="DisplayName" UniqueName="DOUserID" DataSourceID="SqlDataSource2" ListTextField="DisplayName" ListValueField="UserID">
    <ItemStyle VerticalAlign="top" Width="60px" />
</telerik:GridDropDownColumn>

 

Thanks in advance. :-)

Attila Antal
Telerik team
 answered on 26 Feb 2021
9 answers
53 views

 

Just use the radscheduler scenario for a service and it works inserting detailed info via 4.0, but with 4.5 .net it gets the following error:

 

(How do I get around this??)

(also - I notice 4.5 doesnt display any tooltip type message liek 4.0 does, and if I type somehting in the simple form subject and hit options, in 4.0 it carries what I typed to the options screen, but 4.5 does not - something is disconnected??)

 

Object reference not set to an instance of an object.Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.] Telerik.Web.UI.RadScheduler.InsertAppointmentInline() +38 Telerik.Web.UI.RadScheduler.OnBubbleEvent(Object source, EventArgs args) +316 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37 System.Web.UI.WebControls.LinkButton.OnCommand(CommandEventArgs e) +127 System.Web.UI.WebControls.LinkButton.RaisePostBackEvent(String eventArgument) +168 System.Web.UI.WebControls.LinkButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +9858028 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1696

mike
Top achievements
Rank 1
Iron
 answered on 26 Feb 2021
8 answers
639 views
Thanks in advance for any assistance.

I have a radgrid that I am trying to change the ExpandCollapseColumn-HeaderStyle-Width. I am using the Office2007 skin and have tried to override the style in different places without any luck. I have tried the .aspx in the grid, mastertableview and ExpandCollapseColumn definitions. I have also tried to set the width in the prerender and columncreated events as suggested in some posts. I went even further to try many of the other events to determine if something was just out of sequence and setting the value back.  I have tried setting the widths to various sizes (10, 10px, 50, 50px) to see if there was some minimum width constraints that I was unaware of. None of these seemed to work.

Lastly, I debugged through the code to see that in fact the value of the ExpandCollapseColumn-HeaderStyle-Width property was in fact the value that I set it to, no matter the location that I set it. However, the rendered ExpandCollapseColumn continues to be at the default width. so now I lean on the support of fellow telerik users and employees to help determine the issue. I'm sure it is an easy one, but one that has been plaguing me for much too long. Please see the ASPX code below.

Thanks,

Bill

 

<asp:PlaceHolder ID="plcBudgetViewROS" runat="server" Visible="false">
    
<telerik:RadGrid runat="server" ID="RadGridROSView" GridLines="none" 
  
ShowFooter="False" 
AutoGenerateColumns="false" 
AllowAutomaticInserts="true"
ShowStatusBar="true" 
AllowAutomaticUpdates="True" 
DataSourceID="odsBudgetROS" 
AllowFilteringByColumn="False" 
AllowSorting="True"
AllowMultiRowSelection="True" 
ShowGroupPanel="false" 
AllowPaging="false" 
Skin="Office2007">
<MasterTableView ShowGroupFooter="false" DataKeyNames="CategoryID, BudgetItemID" AllowMultiColumnSorting="true" CellPadding="0" CellSpacing="1">
<GroupByExpressions>
    <telerik:GridGroupByExpression>
        <SelectFields>
            <telerik:GridGroupByField FieldAlias="Date" FieldName="DayLabel" HeaderValueSeparator=": "></telerik:GridGroupByField>
        </SelectFields>
        <GroupByFields>
                  <telerik:GridGroupByField FieldName="DayDate" HeaderText="Day" SortOrder="Ascending"></telerik:GridGroupByField>
        </GroupByFields>
      </telerik:GridGroupByExpression>
    <telerik:GridGroupByExpression>
          <SelectFields>
              <telerik:GridGroupByField FieldAlias="Label" FieldName="LabelName" HeaderValueSeparator=": "></telerik:GridGroupByField>
          </SelectFields>
          <GroupByFields>
              <telerik:GridGroupByField FieldName="LabelOrder" HeaderText="Label" SortOrder="Ascending"></telerik:GridGroupByField>
          </GroupByFields>
      </telerik:GridGroupByExpression>
 </GroupByExpressions>
 <RowIndicatorColumn HeaderStyle-Width="10" ItemStyle-Width="10" />
 <ExpandCollapseColumn HeaderStyle-Width="10" ItemStyle-Width="10" /> 
<Columns>
    <telerik:GridButtonColumn UniqueName="DeleteCommandColumn" ConfirmText="Are you sure that you would like to delete this item?" ConfirmTitle="Delete" CommandName="Delete" ButtonType="ImageButton" ImageUrl="/SMS/Images/delete.gif" ItemStyle-Width="15" >
      </telerik:GridButtonColumn>
      <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" EditImageUrl="/SMS/Images/edit.gif" ItemStyle-Width="15" >
      </telerik:GridEditCommandColumn
      <telerik:GridBoundColumn DataField="ItemDescription" HeaderText="Description" UniqueName="ItemDescription" ReadOnly="True" SortExpression="ItemDescription">
      </telerik:GridBoundColumn>
      <telerik:GridBoundColumn DataField="Category" HeaderText="Category" UniqueName="CategoryName" ReadOnly="True" SortExpression="Category" />
      <telerik:GridTemplateColumn UniqueName="Budget" SortExpression="WorkingBudgetAmount" DataField="WorkingBudgetAmount" HeaderStyle-HorizontalAlign="Center" HeaderStyle-Width="150px" ItemStyle-HorizontalAlign="Right" ItemStyle-Width="150px">
          <ItemTemplate>
              <asp:TextBox runat="server" ID="txtWorkingBudget" Width="100px" CssClass="bodyInput"></asp:TextBox>
          <asp:PlaceHolder runat="server" ID="plcWorkingBudgetDetails" Visible="false"></asp:PlaceHolder>
          </ItemTemplate>
      </telerik:GridTemplateColumn
 </Columns>
<EditFormSettings UserControlName="/SMS/include/EditBudgetItem.ascx" EditFormType="WebUserControl">
<EditColumn UniqueName="EditBudgetItemColumn">
</EditColumn>
</EditFormSettings>
</MasterTableView>
<ClientSettings AllowDragToGroup="False" AllowColumnsReorder="False">
    <Resizing AllowColumnResize="False" />
    <Selecting AllowRowSelect="True"></Selecting>
    <ClientEvents OnRowDblClick="RowDblClick" />
</ClientSettings>
<GroupingSettings ShowUnGroupButton="False" /> 
</telerik:RadGrid><!-- content end -->
 
</asp:PlaceHolder>
Dimo
Telerik team
 answered on 26 Feb 2021
1 answer
213 views

Team

Recently we have upgraded the Telerik_UI_for_ASP.NET_AJAX_2020_3_1021_Dev_hotfix which we use only Telerik.Web.UI & Telerik.Web.UI.Skins

We use default skin which is Office2010Blue which is stopped working after upgrade the dll's

we have added skin in webconfig before which is working fine before for the telerik version(2013.1.417.40) <add key="Telerik.Skin" value="Office2010Blue"/> and we don't add this EnableEmbeddedSkins=false

When we try to add EnableEmbeddedSkins=false in webconfig i cant able to see the office2010blue design part in our UI which css related skins are not loading 

 

Error:-

Telerik.Web.UI.RadTabStrip with ID='RadTabStrip1' was unable to find an embedded skin with the name 'Hay'. Please, make sure that the skin name is spelled correctly and that you have added a reference to the Telerik.Web.UI.Skins.dll assembly in your project. If you want to use a custom skin, set EnableEmbeddedSkins=false

 

Thanks

Tamilzhazhagan

9746997565

 

 

Vessy
Telerik team
 answered on 25 Feb 2021
7 answers
286 views

Is it possible to set a localization toolbars zoom or search button ?  From code behind possible is pages manipulate only eg.  RadPdfViewer1.MessagesSettings.ToolBarMessages.PagerMessages.Pages = "xxx" but not zoom in, zoom out , zoom combobox or search and search form.

I looked in the Documentation and saw nothing about it.

 

Best Regards

Vessy
Telerik team
 answered on 25 Feb 2021
3 answers
75 views
Please note RadTabStrip~

IE11
click here

IE11 with the maximum
click

Normal↓

IE10:
click here

Chrome
click here

With IE11  RadTabStrip can not be normal,Please tell me that is the compatibility problems, or I use mistakes?
I am a japanese,so my Enlish is very poor.Thanks~Best wish

私はあなたの製品を本当に好きで、開発者は懸命に働いています!

Vessy
Telerik team
 answered on 25 Feb 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?