Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
351 views
hi ,
I'm using Pager Template like you use in this link :
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/pagertemplate/defaultcs.aspx

but I just want to Set the previous button Disable when the Current Page Index is 1 and set Next Button disable when the Current Page Index is the last page . Last and First Button too .
thanks a lot .
Shinu
Top achievements
Rank 2
 answered on 14 Aug 2012
1 answer
96 views
Hello,
How can I place the upper value into the center of the green bar and same issue for the red bar ,On client side?
Giuseppe
Telerik team
 answered on 14 Aug 2012
1 answer
38 views
Hi,

We are running into a repeatable issue wherein Chrome and only Chrome dies with the following error "Uncaught SyntaxError: Unexpected Token. The error seems to be random. It absolutely kills everything and you need to do a complete reload of the screen.

Sometimes associated with a RadComboBox, other times, the RadProgress area. In googling this, there were suggestions regarding eliminating possible hidden garbage characters in the .aspx. 

In VS 2008, we copied out of VS into notepad and back in and also tried the Advanced - > Delete Horizontal White space option in VS 2008, but the problem persists. It presents itself in complex layouts where a RadMenu, ComboBox, Grid, MultiPage, Editor and Tab interface are provided. The screen in question does not use RadAjaxManager.

Any thoughts on how to diagnose and resolve this would be most welcome. This does not occur in Firefox or IE 9. 
Marin
Telerik team
 answered on 14 Aug 2012
17 answers
675 views
Hi,

For one of my project, i wans to use a MVC architecture for my program, so I checked what you've got for libraries for ASP, and I see you have an ASP.Net MVC and an Ajax version.

So, my questions:
  • Does Telerik ASP.NET MVC brings something to the "MVC" part? Or is it only user controls that we can use when we have a MVC application?
  • Is it possible to use your ASP.NET Ajax components with an ASP.NET MVC(with and without Telerik for ASP.NET MVC)?

Thank you for your help

Mk
Top achievements
Rank 1
 answered on 14 Aug 2012
1 answer
77 views
Hi,

I was wondering if it would be possible to create a grid and use ajax to manipulate data inside.

I have a RadGrid that is generated dynamically on server side. When it is generate, i use only JS events and functions to manipulate my page. But i don't know how to do this :

I want the content of the grid, by a click on an ASP button, launch a method that will just convert the content of the cell ( of type "x/y")
on percent values ( performing the operation (x*y / 100)). Is it possible to do this without refreshing the all page and just call a method ? Maybe using an AjaxManager and AjaxLoadingPanel ?

Thanks,
Maxime.
Kostadin
Telerik team
 answered on 14 Aug 2012
1 answer
85 views
Hi,

This is Rathan, I am using radmenu control in my project , In some pages when i postback the form the menu control is not workig properly(means it is showing same page not  allowing to click other tab).please let me know.


Thank you.
Rathan Kumar.K
Dhaval
Top achievements
Rank 1
 answered on 14 Aug 2012
0 answers
81 views
Hi,

I do have one RadCombobox and one Radgrid in my page separately. Depends upon the combo box selection the radgrid record will change. It is working fine now. But if I click the Insert option in radgrid, it show the input text fields and all other control, in that time I changed the combo box, the event is not get firing. May I know why? But the selection changed event firing, when I am in the editable mode in the radgrid.
Ananth
Top achievements
Rank 1
 asked on 14 Aug 2012
1 answer
47 views
I have a scenario where I am displaying  a radnotification via a server side show, but when the user closes the the radnotification, navigates away from the page, then back to the page the radnotification reappears. 

How do I prevent the radnotification from showing again.
Princy
Top achievements
Rank 2
 answered on 14 Aug 2012
1 answer
81 views
I'm trying to figure out if it's possible for me to be able to populate the MasterTable along with the DetailTable, so that when I expand my master row it does not have to post back to populate the detaul data.
Thanks
Shinu
Top achievements
Rank 2
 answered on 14 Aug 2012
3 answers
82 views
I'm trying to bind a radgrid with NeedDataSource.  The NeedDataSource routine is fired and I can step through it and it the datatable is filled with data.  But when I let this run to completion it generates a blank page.  I'm new to telerik controls so I'm sure I've overlooked some easy thing here.

<%@ Page Title="" Language="VB"  %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="MySql.Data.MySqlClient" %>
<script runat="server">
  
    Protected Sub rgAlertsNeedDataSource(ByVal source As Object, ByVal e As GridNeedDataSourceEventArgs)
 
         
        Dim Priorities As String = ""
        Dim dtSelectedDate As DateTime = DateTime.Now.AddDays(-7)
        Dim dtEndSelectedDate As DateTime = DateTime.Now
         
        Dim HoursToPST As Integer = -8 'ddlTimeZone.SelectedValue - 8 'adjust because alerts are in PST/PDT
        'If DateTime.Now().IsDaylightSavingTime Then HoursToGMT = HoursToGMT - 1       
        dtSelectedDate = dtSelectedDate.AddHours(HoursToPST)
        dtEndSelectedDate = dtEndSelectedDate.AddHours(HoursToPST)
        Dim SQL As String = "SELECT *, "
        SQL &= " Case Priority "
        SQL &= "   WHEN 'Critical' then '5' "
        SQL &= "   WHEN 'Major' then '4' "
        SQL &= "   WHEN 'Minor' then '3' "
        SQL &= "   WHEN 'Warning' then '2' "
        SQL &= "   WHEN 'FYI' then '1' "
        SQL &= " End  As Severity"
        SQL &= " FROM alert.alerts  "
        Dim SQLWHERE As String = ""
 
        SQLWHERE = " WHERE EventName like '" & Session("ClientID") & "|%' "
        SQLWHERE &= " AND CreationTime BETWEEN '" & dtSelectedDate.ToString("yyyy-MM-dd HH:mm") & "' AND '" & dtEndSelectedDate.ToString("yyyy-MM-dd HH:mm") & "' "
                     
        SQL &= SQLWHERE
        If Len(Session("OSAlertSortExpr")) > 0 Then
            SQL &= " ORDER BY " & Session("OSAlertSortExpr")
        Else
            SQL &= " ORDER BY CreationTime DESC  "
        End If
                 
        rgAlerts.DataSource = GetDataTable(SQL)
    End Sub
 
    Public Function GetDataTable(ByVal SQL As String) As DataTable
        Dim conn As MySqlConnection = New MySqlConnection(Session("TC_CONN"))
 
        Dim adapter As MySqlDataAdapter = New MySqlDataAdapter(SQL, conn)
 
        Dim dt As New DataTable
        conn.Open()
        Try
            adapter.Fill(dt)
        Finally
            conn.Close()
        End Try
        Return dt
    End Function
 
</script>
 
    <telerik:RadGrid ID="rgAlerts" runat="server" OnNeedDataSource="rgAlertsNeedDataSource" >
 
    </telerik:RadGrid>
Andrey
Telerik team
 answered on 14 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?