Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
99 views
Is there any supporting documentation showing the minimum ASP.NET framework requirements for different versions of the UI for ASP.Net Ajax controls?

I would like to use the controls going forward but have a number of legacy products that I would also like to support.

Thanks

Phil
Phil
Top achievements
Rank 1
 answered on 22 May 2014
4 answers
298 views
I have a Radcombobox defined as...

<telerik:RadComboBox ID="RadComboBrandCodes2" runat="server" CheckBoxes="true" ViewStateMode="Enabled" EnableViewState="true"
DataSourceID="sdsBrandCodes" DataTextField="Description" DataValueField = "Description"
Height="150px"></telerik:RadComboBox>

this combo is inside a filter template in a radgrid. When a Ajax postback happens, the items in the combo box loose their checked status. If I make a copy of the exact same markup and put it outside the grid but still within the div that gets updated via the ajax call, the checked status is maintained through the postback.

How can I get the checked state to be the same after the postback as it was before for the combo box in the filter template?

Thx,
Jeff
Nencho
Telerik team
 answered on 22 May 2014
3 answers
155 views
<telerik:RadComboBox runat="server" ID="lstBusiness" OnSelectedIndexChanged="lstBusiness_SelectedIndexChanged"
  AutoPostBack="True" EnableViewState="true" MarkFirstMatch="true" />
Hi Team,
I am using telerik combo box which is showing the items properly in all browsers(IE7,IE8,IE9,Chrome and Mozilla) except IE10. In IE10 combo box is disabled(not enabled to select the items) though the items are binded to combo box. Kindly help me out to resolve this ASAP.
Telerik Version am using is 2011.1.315.35.

Srikanth
Boyan Dimitrov
Telerik team
 answered on 22 May 2014
1 answer
119 views

We have out first Telerik application ready for deployment on a server. We have .Net 4.0 and are developing in C#, using Telerik UI for ASP.NET AJAX

Do we need to install any software on the server? Could you point me to the appropriate documentation.

Regards,

Robin

Marin Bratanov
Telerik team
 answered on 22 May 2014
2 answers
105 views
Hi Telerik,

I'm trying to achive something like in the PivotGrid_ExcelBase image. There you can see the years (2012, 2013) columns with both personen and bedrag columns underneath.

Currently I tried to achieve that with the following code:

01.<Fields>
02. <telerik:PivotGridRowField DataField="SoortIndicatie" UniqueName="SoortIndicatieColumn" Caption="Soort Indicatie" >
03. </telerik:PivotGridRowField>
04. <telerik:PivotGridRowField DataField="SoortVerzilverd" UniqueName="SoortVerzilverdColumn" Caption="Soort Verzilverd">
05. </telerik:PivotGridRowField>
06. 
07. <telerik:PivotGridColumnField DataField="Jaar" UniqueName="JaarColumn" Caption="Jaar">
08. </telerik:PivotGridColumnField>
09. <telerik:PivotGridColumnField DataField="Personen" UniqueName="PersonenColumn" Caption="Personen">
10. </telerik:PivotGridColumnField>
11. <telerik:PivotGridColumnField DataField="Bedrag" UniqueName="BedragColumn" Caption="Bedrag">
12. </telerik:PivotGridColumnField>
13.</Fields>

This shows me a grid as depicted in the PivotGrid_Rendered image. The person and budget columns are also grouped, that's not what I want.
How can I configure this?

Can you tell me how to do so? 

Best regards,
Francois
Francois
Top achievements
Rank 1
 answered on 22 May 2014
1 answer
291 views
We currently have a requirement to support an audio captcha in a language other than English (i.e. Spanish). By this, I mean the letters must be pronounced as they are in that language's alphabet. Can Telerik's captcha handle this use-case?
Slav
Telerik team
 answered on 22 May 2014
5 answers
177 views
Hello ALL,

              I have a rad grid on my web page, i had applied virtual paging on rad grid as well as grouping on column.

             Rad grid page size is 30, suppose i have 250 records on rad grid so no of available pages would be 9.

              Now i had apply grouping on specific column which have following records on the basis of column value.

             There are three separation after applying grouping on column.

             Type : ABC : 242 records

              Type : DEF : 4 records

               Type : XYZ : 4 records

              Initially i can see the grouping on column but after scrolling i can view only the Type : ABC : 242 records.

              Main concern behind that the after scroll the page virtual paging get fired and i am not able to view rest of the available groups.

              Is there any solution to resolve this issue or any property/setting is to be there that i need to set.
Daniel
Telerik team
 answered on 22 May 2014
4 answers
252 views
This was working in previous versions of the RadControls for ASP.NET AJAX, but now with version 2012.3.1016.35 it does not. I have a grid with both grouping and paging enabled, and only the first page appears. If I remove the <telerik:GridGroupByExpression> tag from the grid then the other pages are accessible.

Am I doing something wrong or is this a bug in the otherwise excellent Telerik controls?

Thanks -
Brad Harris

Here is my markup:

<html>
  <head>
    <title>Grid Group & Page Test</title>
  </head>
  <body>
    <form id="form1" runat="server">
      <asp:ScriptManager ID="ScriptManager1" runat="server" />
      <telerik:RadGrid
        ID="RgDamageCases"
        runat="server"
        AllowAutomaticDeletes="false"
        AllowAutomaticInserts="false"
        AllowAutomaticUpdates="false"
        AllowFilteringByColumn="true"
        AllowMultiRowEdit="false"
        AllowPaging="true"
        AllowSorting="false"
        AutoGenerateColumns="false"
        GridLines="Horizontal"
        PageSize="5"
        OnNeedDataSource="RgDamageCases_NeedDataSource"
        >
        <MasterTableView DataKeyNames="Id" CommandItemDisplay="None">
          <GroupByExpressions>
            <telerik:GridGroupByExpression>
              <SelectFields>
                <telerik:GridGroupByField FieldAlias="State" FieldName="State" HeaderValueSeparator=": " />
              </SelectFields>
              <GroupByFields>
                <telerik:GridGroupByField FieldName="State" SortOrder="Ascending" />
              </GroupByFields>
            </telerik:GridGroupByExpression>
          </GroupByExpressions>
          <Columns>
            <telerik:GridBoundColumn UniqueName="State" DataField="State" HeaderText="State" AllowFiltering="true"  AllowSorting="true" DataType="System.String" Visible="true" />
            <telerik:GridBoundColumn UniqueName="Name"  DataField="Name"  HeaderText="Name"  AllowFiltering="false" AllowSorting="true" DataType="System.String" Visible="true" />
          </Columns>
          <PagerStyle AlwaysVisible="true" Position="TopAndBottom" Mode="NextPrevAndNumeric" Visible="true" />
        </MasterTableView>
        <GroupingSettings CaseSensitive="false" ShowUnGroupButton="true" />
      </telerik:RadGrid>
    </form>
  </body>
</html>

And the codebehind:

Imports System.Collections.ObjectModel
Imports Telerik.Web.UI
 
 
Partial Class GridTest01Page
    Inherits System.Web.UI.Page
 
 
  Protected Sub RgDamageCases_NeedDataSource(ByVal source As Object, ByVal e As GridNeedDataSourceEventArgs)
 
    Dim grid  As RadGrid = CType(source, RadGrid)
    Dim items As New Collection ( Of MyType )
 
    items.Add ( New MyType (  1, "001 Test", "AZ" ) )
    items.Add ( New MyType (  2, "002 Test", "AZ" ) )
    items.Add ( New MyType (  3, "003 Test", "AZ" ) )
    items.Add ( New MyType (  4, "004 Test", "AZ" ) )
    items.Add ( New MyType (  5, "005 Test", "AZ" ) )
    items.Add ( New MyType (  6, "006 Test", "AZ" ) )
    items.Add ( New MyType (  7, "007 Test", "AZ" ) )
    items.Add ( New MyType (  8, "008 Test", "AZ" ) )
    items.Add ( New MyType (  9, "009 Test", "AZ" ) )
    items.Add ( New MyType ( 10, "010 Test", "AZ" ) )
    items.Add ( New MyType ( 11, "011 Test", "AZ" ) )
 
    grid.DataSource = items
  End Sub
 
 
  Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    ' Nothing Here
  End Sub
 
 
End Class
 
 
Public Class MyType
 
  Private _Id    As Integer
  Private _Name  As String
  Private _State As String
 
  Public Property Id As Integer
    Get
      Return _Id
    End Get
    Set(value As Integer)
      _Id = value
    End Set
  End Property
 
  Public Property Name As String
    Get
      Return _Name
    End Get
    Set(value As String)
      _Name = value
    End Set
  End Property
 
  Public Property State As String
    Get
      Return _State
    End Get
    Set(value As String)
      _State = value
    End Set
  End Property
 
  Public Sub New(ByVal id As Integer, ByVal name As String, ByVal state As String)
    Me.Id    = id
    Me.Name  = name
    Me.State = state
  End Sub
 
End Class
michelle
Top achievements
Rank 1
 answered on 22 May 2014
3 answers
160 views
Hi,

I created an orgchart based on the rendered fields demo @ http://demos.telerik.com/aspnet-ajax/orgchart/examples/renderedfields/defaultcs.aspx.

How can i change the style of the node based on a rendered filed value? For example an employee node  must have green background while a non employee must have a blue background
Boyan Dimitrov
Telerik team
 answered on 22 May 2014
4 answers
238 views
Hello,

I've been searching for a solution to my problem, but it appears that my issue is unique.

I have had a working web site using RadGrid grid controls for several years until yesterday.  Orginally, this was developed in a 2008 version of Telerik Radcontrols, but I have recently updated it to Version=2013.3.1015.35 to run on a soon-to-be sunset-ed web server.  This upgrade occurred in October or so and things have been fine until a few days ago.

I had to make a change some C# logic that had been discovered to be wrong.  Once the code was tested and approved, the changes were pushed to the production server.  A few days later, it was discovered that there was a problem adding records to the back-end database and having the grid redraw itself.  In fact, the error seems to be coming from the client since it is bypassing any server side error handling that I've built.

The funny twist on this is that there is nothing really happening to the grid.  The users are selecting data from ASP controls that will then be posted back to the database and the grid will be redrawn after the users is done selecting and typing what they need.  They don't get that far.  Before there can be any finalization, the ASP form throws and unhandled exception and references a GridTemplateColumn as the culprit.(See attached).  All server-side code executes without a hitch, but as soon as the grid is being drawn, this error comes up.

Here is the RadGrid ASP.NET code for the GridTemplateColumn:
<telerik:GridTemplateColumn
                                UniqueName="tempLDTEff1"
                                DataType="System.DateTime"
                                HeaderText="LDT1 Effective Date"
                                Reorderable="False"
                                Resizable="False"
                                ShowSortIcon="False"
                                HeaderStyle-Width="80px"
                                DataField="LDT1EffPct"
                                ReadOnly="True"
                                >
                               <HeaderTemplate>
                                
                                    <asp:Label
                                        ID="headLDTEff1" 
                                        Text ="LDT1 Effective Date"
                                        runat="server">
                                    </asp:Label><br />
                                      
                                <asp:TextBox
                                    ID="txtNewLDTDate1"
                                    runat="server"
                                    ToolTip="Type new date to add an LDT.  Can accept 'mm/dd/yyyy' and 'm/d/yyyy' formats"
                                    OnTextChanged="txtNewLDTDate1_OnTextChanged"
                                    AutoPostBack="true"
                                    Font-Bold="true"
                                    onKeyDown="if(event.keyCode==13) event.keyCode=9;"
                                    Width="75px"
                                   >
                                 </asp:TextBox>
                                 <asp:Button
                                    ID ="btnLDT1Delete"
                                    runat="server"
                                    Text ="Delete LDT1"
                                    Visible="false"
                                    OnClick="btnLDT1Delete_Click"
                                    BorderStyle="None"
                                    Font-Underline="true"
                                    ForeColor="Blue"
                                    BackColor="Transparent"/>
                                <asp:RegularExpressionValidator
                                    ID="regExtNewLDTDate1"
                                    runat="server"
                                    ErrorMessage="Invalid date format.  Can accept 'mm/dd/yyyy' and 'm/d/yyyy' formats"
                                    ControlToValidate="txtNewLDTDate1"
                                    Display="Static"
                                    ValidationExpression="^[0,1]?\d{1}\/(([0-2]?\d{1})|([3][0,1]{1}))\/(([1]{1}[9]{1}[9]{1}\d{1})|([2-9]{1}\d{3}))$">
                                </asp:RegularExpressionValidator>
                                <asp:Label
                                    ID="lblLDT1"
                                    runat="server">New LDT Effort %
                                </asp:Label>
                                </HeaderTemplate>
                                <ItemTemplate>                   
                                 <telerik:RadNumericTextBox
                                    runat="server"
                                    ID="txtLDT1Dt"
                                    DbValue='<%# Eval("LDT1EffPct") %>'
                                    OnTextChanged="TextChanged"
                                    AutoPostBack="true"
                                    onKeyDown="if(event.keyCode==13) event.keyCode=9;"
                                    Width="50px">
                                 </telerik:RadNumericTextBox>
                                 </ItemTemplate>
                                <FooterTemplate>
                                    <asp:Label ID="footLDTEff1" Text ="LDT1 Sum" runat="server" Font-Bold="true"></asp:Label>
                                </FooterTemplate>
                                <HeaderStyle Width="80px"></HeaderStyle>
                        </telerik:GridTemplateColumn>
 I am not sure why this is happening and I am out of ideas.  Any help would be greatly appreciated.
Kostadin
Telerik team
 answered on 22 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?