Hi,
I'm new to the Telerik controls and ASP.NET AJAX, so this may be a very elementary question, but I'm having a hard time figuring this out.
I'm trying to get grouping working, like here where you can drag and drop columns and then the grid reloads to group the results.
I also followed the tutorial in the pdf here, which ended up working without errors but it doesn't let me drag-and-drop. Also, I can't even sort the data without reloading the page which I thought was something AJAX would fix as well..
So I guess my question is, how do I get AJAX working? I'm not sure what code snippets would be helpful. Here's my aspx page:
although I'm not sure if this isn't more of a web.config problem.. Like I said though, I'm new to this.. Any help would be much appreciated!
Thanks in advance!
- Beth
I'm new to the Telerik controls and ASP.NET AJAX, so this may be a very elementary question, but I'm having a hard time figuring this out.
I'm trying to get grouping working, like here where you can drag and drop columns and then the grid reloads to group the results.
I also followed the tutorial in the pdf here, which ended up working without errors but it doesn't let me drag-and-drop. Also, I can't even sort the data without reloading the page which I thought was something AJAX would fix as well..
So I guess my question is, how do I get AJAX working? I'm not sure what code snippets would be helpful. Here's my aspx page:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml"> |
<head runat="server"> |
<title> |
</title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<telerik:RadScriptManager id="RadScriptManager1" runat="server" __designer:wfdid="w3"> |
</telerik:RadScriptManager> |
<telerik:RadAjaxLoadingPanel id="RadAjaxLoadingPanel1" __designer:wfdid="w6" Skin="Default" Runat="server" Transparency="50" MinDisplayTime="3">Loading....?</telerik:RadAjaxLoadingPanel> |
<DIV> |
<telerik:RadGrid id="RadGrid1" runat="server" __designer:wfdid="w1" DataSourceID="SqlDataSource1" GridLines="None" ShowStatusBar="True" AllowPaging="True" AllowSorting="True" ShowGroupPanel="True"> |
<PagerStyle PageButtonCount="15" Position="TopAndBottom" AlwaysVisible="True"></PagerStyle> |
<MasterTableView DataSourceID="SqlDataSource1" AutoGenerateColumns="True"> |
<PagerStyle AlwaysVisible="True"></PagerStyle> |
</MasterTableView> |
<GroupingSettings ShowUnGroupButton="True"></GroupingSettings> |
</telerik:RadGrid> |
<asp:SqlDataSource id="SqlDataSource1" runat="server" __designer:wfdid="w2" |
ProviderName="<%$ ConnectionStrings:ConnectionString1.ProviderName %>" |
ConnectionString="<%$ ConnectionStrings:ConnectionString1 %>" |
SelectCommand="select * from testtbl where rownum < 30"></asp:SqlDataSource> |
</DIV> |
<telerik:RadAjaxManager id="RadAjaxManager1" runat="server" __designer:wfdid="w4" |
DefaultLoadingPanelID="RadAjaxLoadingPanel1"> |
<AjaxSettings> |
<telerik:AjaxSetting AjaxControlID="RadGrid1"> |
<UpdatedControls> |
<telerik:AjaxUpdatedControl ControlID="RadGrid1"></telerik:AjaxUpdatedControl> |
</UpdatedControls> |
</telerik:AjaxSetting> |
</AjaxSettings> |
</telerik:RadAjaxManager> </form></body></html> |
although I'm not sure if this isn't more of a web.config problem.. Like I said though, I'm new to this.. Any help would be much appreciated!
Thanks in advance!
- Beth