Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
542 views
 Hi all,

I have a grid with 3 columns, a name and a date and a calculated (sql) field witch displays terms like "last week, this week, today, yesterday, next week, last year, etc..."

When i use a grouping al works fine, only the group sorting is alphabetical (of course) and thus the wrong order. I would like the grid toe group, but sort the groups logical, on the date field.

any ideas?

Thanks in advance!
Joe
Top achievements
Rank 1
 answered on 14 Sep 2012
1 answer
108 views
Hi,
I am showing daily test results over a period of time in a line chart.
The values varriy from 0% to 100%. 100% means bestand 0% means the worst.

Currently my chart line is all green. I wanted to check if I can have gradient like color which show 0% red and 100% as green and any other percentage from 0 to 100 are represented by the color which flows form red to green.

Can I achieve this?

Thanks,
Abinash
Petar Kirov
Telerik team
 answered on 14 Sep 2012
3 answers
156 views
The treelist has autogenerated columns and bound to a datatable.

I read somewhere that you need to set the width in order to get the exporting to work.  THis is the error that i'm getting:


System.SystemException: At least one of minimum, optimum, or maximum IPD must be specified on table.

Daniel
Telerik team
 answered on 14 Sep 2012
2 answers
72 views
Hi,

I'd like to have a single menu instance on a single web page.  And as I click on a menu option, A different user control is loaded into the web page.  I didn't see any samples for this.  Is this something that is possible?

Thanks,
Craig
Craig
Top achievements
Rank 1
 answered on 14 Sep 2012
2 answers
104 views
I want to autofill scheduler data when we enterd data in a Grid or textboxes means i have  4 textboxes 1.name 2.date 3.amount 4.total amount when i submit this data this data will display in scheduler for that particuler date i.e given in date text box.
siva sankar
Top achievements
Rank 1
 answered on 14 Sep 2012
0 answers
73 views

Update: I realized that the issue was caused by another control. I apologize for the post.

Hello,

I'm attempting to use the numeric textbox control provided by Telerik and I'm receiving the following error when I attempt to use the control's text value in a sql insert:

{"No mapping exists from object type System.Web.UI.WebControls.Label to a known managed provider native type."}

Here's the code that I'm using to attempt to do the insert:

'Insert/Update the Adjustment
With oCmd
    .Parameters.Clear()
    .Connection = oConn
    .CommandType = CommandType.StoredProcedure
    .CommandText = "iBill_Dashboard_Insert_Adjustments"
    With .Parameters
        .AddWithValue("@DepartmentTab", DepartmentTab)
        .AddWithValue("@ProjectType", ProjectType)
        .AddWithValue("@Month", Month)
        .AddWithValue("@Year", Year)
        .AddWithValue("@Value", tValue.Text)
        .AddWithValue("@AdjustmentID", AdjustmentID)
        .Add("@NewID", SqlDbType.Int)
    End With
    .Parameters("@NewID").Direction = ParameterDirection.Output
    .ExecuteNonQuery()
End With
AdjustmentID = oCmd.Parameters("@NewID").Value

The error occurs on the ExecuteNonQuery() method. Any help would be greatly appreciated.
Johnathan
Top achievements
Rank 1
 asked on 14 Sep 2012
2 answers
119 views
Hi,

I have some text boxes inside a grid edit form. Everything works well except in IE. I can't edit any value of textbox. I click on one, and it unfocus automatically.

TextBox:

<telerik:RadNumericTextBox ID="edDose" runat="server" DbValue='<%# Bind("PRES_DOSE") %>'
       Width="40" MaxLength="12" Height="22px" ShowSpinButtons="true">
</telerik:RadNumericTextBox>

This is happening in every IE versions.
Jocelyn
Top achievements
Rank 1
 answered on 14 Sep 2012
3 answers
220 views
Hi,

When I disable the RemoveScripts and EncodeScripts filters and paste the following javascript to the RAD editor:

<script type="text/javascript">
document.write('test');
</script>

I get the "Permission denied" error in the "telerik.web.ui.webresource.axd" file when using the IE 8 browser. In other browsers this script is successfully executed without any errors.

Please provide me with a workaround and reason for this.

Best regards,
Vitaliy
Rumen
Telerik team
 answered on 14 Sep 2012
2 answers
149 views
Hi

I have a linkbutton that open radwindow, in the image "vista1.jpg" you see this link.

In the first clik of this link the radwindow open OK. In the image "vista2.jpg" you see stage, but when i close the radwindow and i clik the link immediately the radwindow opens as shown in the image "viasta3.jpg"

this is my code:

file .aspx

<%@ Page Title="" Language="VB" MasterPageFile="~/templates/Templateadmin.master" AutoEventWireup="false" CodeFile="puntogestioncarga.aspx.vb" Inherits="admin_Gestion_Control_puntogestioncarga" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <script type="text/javascript">
        var saqtemp = jQuery.noConflict();

        function openWinMiPerfil(usuariosel) {
            var oWnd = radopen("rutacarga_completa.aspx?txtusuariosel=" + usuariosel, "RadWindowchangepassw");
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <telerik:RadAjaxPanel runat="server" ID="RadAjaxPanelScriptppal" EnableAJAX="true" EnableEmbeddedScripts="true">
    </telerik:RadAjaxPanel>
    
    <telerik:RadWindowManager ID="RadWindowManager1"
                                                  ShowContentDuringLoad="false"
                                                  VisibleStatusbar="false"
                                                  ReloadOnShow="true"
                                                  runat="server"
                                                  Skin="Black"
                                                  EnableShadow="true"
                                                  DestroyOnClose="true"
                                                  Modal="true">
        <Windows>
            <telerik:RadWindow CssClass="sobretodo" 
                                             ID="RadWindowchangepassw
                                             runat="server" 
                                             Behaviors="Resize,Close,Maximize,Move,Reload"
                                             Width="980"
                                             Height="485"
>
            </telerik:RadWindow>
        </Windows>
    </telerik:RadWindowManager>
    
    <asp:LinkButton ID="LinkButton1"
                              runat="server"
                             Text="Visualizar Ruta Seleccionada"
                              OnClick="abrircambiocontra"
                             CssClass="txt110066CC"
                              CausesValidation="false">
    </asp:LinkButton>
</asp:Content>


file aspx.vb

Protected Sub abrircambiocontra(ByVal sender As Object, ByVal e As EventArgs)
        Dim scriptfinal As String = "openWinMiPerfil('" & lblusuarioensession.Text & "'); return false;"
        RadAjaxPanelScriptppal.ResponseScripts.Add(scriptfinal)
    End Sub


please help me, I do not understand why this happens.

Juan
Top achievements
Rank 1
 answered on 14 Sep 2012
1 answer
275 views
Hello,

Got a problem today: exception: invalid pattern (during rendering)

version: 2012.2.724.40
<telerik:RadNumericTextBox ID="rnt_EmployeeCount" Width="70px" ShowSpinButtons="true" MinValue="0" MaxValue="9999999" Style="text-align: right;" runat="server"
    NumberFormat-DecimalDigits="0" NumberFormat-ZeroPattern="0" />

It seems that when i set a value of zero to (rnt_EmployeeCount.Value = 0) this error occurred. Other values worked fine.
When I delete NumberFormat-ZeroPattern="0"  the problem disappears... seems like a bug?

Kind regards,

Erik



Milena
Telerik team
 answered on 14 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?