Telerik Forums
UI for ASP.NET AJAX Forum
17 answers
688 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
82 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
93 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
93 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
51 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
88 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
91 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
1 answer
83 views
Hi,
I want to load a html file into a div in right page (right side of treeview) in Code Behind using AJAX,
Please help.
Princy
Top achievements
Rank 2
 answered on 14 Aug 2012
6 answers
730 views
Hi Guys,

I am using a Rad Date Picker for AJAX and I am not able to select 12/31/2099 which is the based on requirement. How Can I achieve this?

Regards,
Kalyan
Dominic
Top achievements
Rank 1
 answered on 13 Aug 2012
3 answers
556 views
I am trying to make a multi colum combo box 
RadComboBoxItem item = new RadComboBoxItem();
 
                item.Text = selectionItem.ShortName.ToString();
                item.Value = selectionItem.SelectionId.ToString();
 
                item.Attributes.Add("SelectionNumber", selectionItem.SelectionNumber.ToString());
                item.Attributes.Add("DrawnNumber", selectionItem.DrawnNumber.ToString());
 
                radComboBoxSelection.Items.Add(item);
 
                item.DataBind();



But when trying to read value of radComboBoxSelection.SelectedItem.Attributes  I am getting error what are other way to read value of 

DrawnNumber
 

Thanks,


Shakti SIngh Dulawat
Top achievements
Rank 1
 answered on 13 Aug 2012
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?