Hi,
When reading http://www.telerik.com/help/aspnet/grid/grdloadingtemplate.html, it seemed that only:
EnableAJAXLoadingTemplate="True" and EnableAJAX="True" was required to show the loading symbol when the grid is grouping/filtering/sorting etc. This does however not work for me. Have I missed anything?
Thanks,
<telerik:RadGrid ID="gridDocumentView"
runat="server"
Width="100%"
HorizontalAlign="Left"
AutoGenerateColumns="false"
AllowMultiRowSelection="false"
AllowFilteringByColumn="true"
AllowPaging="true"
AllowSorting="true"
PageSize="25"
ShowGroupPanel="true"
ShowHeader="true"
ShowStatusBar="true"
EnableAjax="True"
EnableAJAXLoadingTemplate="True"
LoadingTemplateTransparency="50"
GroupingEnabled="true"
OnItemDataBound="gridDocumentView_ItemDataBound"
OnColumnCreating="gridDocumentView_ColumnCreating"
OnNeedDataSource="gridDocumentView_NeedDataSource"
OnItemCommand="gridDocumentView_ItemCommand"
OnGroupsChanging="gridDocumentView_GroupsChanging" >
<MasterTableView>
<Columns> ... </Columns>
</MasterTableView>
<GroupingSettings ShowUnGroupButton="true" CaseSensitive="false" />
<PagerStyle HorizontalAlign="Center" Mode="NextPrevAndNumeric" />
<ClientSettings AllowDragToGroup="true" AllowColumnsReorder="true" ReorderColumnsOnClient="true"
EnableRowHoverStyle="true">
<Scrolling UseStaticHeaders="false" />
</ClientSettings>
</telerik:RadGrid>
When reading http://www.telerik.com/help/aspnet/grid/grdloadingtemplate.html, it seemed that only:
EnableAJAXLoadingTemplate="True" and EnableAJAX="True" was required to show the loading symbol when the grid is grouping/filtering/sorting etc. This does however not work for me. Have I missed anything?
Thanks,
<telerik:RadGrid ID="gridDocumentView"
runat="server"
Width="100%"
HorizontalAlign="Left"
AutoGenerateColumns="false"
AllowMultiRowSelection="false"
AllowFilteringByColumn="true"
AllowPaging="true"
AllowSorting="true"
PageSize="25"
ShowGroupPanel="true"
ShowHeader="true"
ShowStatusBar="true"
EnableAjax="True"
EnableAJAXLoadingTemplate="True"
LoadingTemplateTransparency="50"
GroupingEnabled="true"
OnItemDataBound="gridDocumentView_ItemDataBound"
OnColumnCreating="gridDocumentView_ColumnCreating"
OnNeedDataSource="gridDocumentView_NeedDataSource"
OnItemCommand="gridDocumentView_ItemCommand"
OnGroupsChanging="gridDocumentView_GroupsChanging" >
<MasterTableView>
<Columns> ... </Columns>
</MasterTableView>
<GroupingSettings ShowUnGroupButton="true" CaseSensitive="false" />
<PagerStyle HorizontalAlign="Center" Mode="NextPrevAndNumeric" />
<ClientSettings AllowDragToGroup="true" AllowColumnsReorder="true" ReorderColumnsOnClient="true"
EnableRowHoverStyle="true">
<Scrolling UseStaticHeaders="false" />
</ClientSettings>
</telerik:RadGrid>
7 Answers, 1 is accepted
0
Hi JH,
You are reading the documentation for the old RadGrid for ASP.NET. The new RadGrid for ASP.NET AJAX no longer has native AJAX functionality.
http://www.telerik.com/help/aspnet-ajax/gridoverview.html
You can use RadAjaxManager and RadAjaxLoadingPanel
http://www.telerik.com/help/aspnet-ajax/ajxajaxmanager.html
http://www.telerik.com/help/aspnet-ajax/ajxloadingpanel.html
http://www.telerik.com/help/aspnet-ajax/skins.html
Sincerely yours,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
You are reading the documentation for the old RadGrid for ASP.NET. The new RadGrid for ASP.NET AJAX no longer has native AJAX functionality.
http://www.telerik.com/help/aspnet-ajax/gridoverview.html
You can use RadAjaxManager and RadAjaxLoadingPanel
http://www.telerik.com/help/aspnet-ajax/ajxajaxmanager.html
http://www.telerik.com/help/aspnet-ajax/ajxloadingpanel.html
http://www.telerik.com/help/aspnet-ajax/skins.html
Sincerely yours,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
JH
Top achievements
Rank 1
answered on 10 Mar 2010, 10:09 AM
Thanks for the quick answer!
But I have problems with the control layout..
"Loading" works when the structure is:
<asp:updatepanel>
...
</asp:updatepanel>
<RadAjaxLoadingPanel ID=abc">
</RadAjaxLoadingPanel>
<RadAjaxPanel LoadingPanelD="abc">
<RadGrid>
...
</RadGrid>
</RadAjaxPanel>
But, the loading image is shown in the grouping panel of the grid. I want it displayed over the entire grid?
What structure should I use? And do I even need the RadAjaxPanel when i could expand my updatepanel over the grid control?
But I have problems with the control layout..
"Loading" works when the structure is:
<asp:updatepanel>
...
</asp:updatepanel>
<RadAjaxLoadingPanel ID=abc">
</RadAjaxLoadingPanel>
<RadAjaxPanel LoadingPanelD="abc">
<RadGrid>
...
</RadGrid>
</RadAjaxPanel>
But, the loading image is shown in the grouping panel of the grid. I want it displayed over the entire grid?
What structure should I use? And do I even need the RadAjaxPanel when i could expand my updatepanel over the grid control?
0
Hi JH,
If you are using RadAjaxLoadingPanel with a Skin, the loading image will center automatically - as in all our online demos. If you are using a loading template, you need to take care of that yourself.
http://www.telerik.com/community/code-library/aspnet-ajax/ajax/how-to-center-image-in-a-radajaxloadingpanel.aspx
RadAjaxLoadingPanel will not appear if you use it with a plain UpdatePanel.
Sincerely yours,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
If you are using RadAjaxLoadingPanel with a Skin, the loading image will center automatically - as in all our online demos. If you are using a loading template, you need to take care of that yourself.
http://www.telerik.com/community/code-library/aspnet-ajax/ajax/how-to-center-image-in-a-radajaxloadingpanel.aspx
RadAjaxLoadingPanel will not appear if you use it with a plain UpdatePanel.
Sincerely yours,
Dimo
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
JH
Top achievements
Rank 1
answered on 16 Mar 2010, 02:53 PM
Hi,
I have now tried the approach from your demos and still have problems.
Firstly, the loading symbol is only visible in the grouping panel for some reason.
http://img85.imageshack.us/img85/3781/loadingb.png
Secondly, I get a new javascript error which did not exist before.
Here's som information from the javascript error:
'_events' is null or not an object Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_ScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3asv-SE%3ad0c4ca6e-6b5d-49b6-922d-5244924fb100%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.3.1314.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3asv-SE%3aec1048f9-7413-49ac-913a-b3b534cde186%3a16e4e7cd%3aed16cbdc%3af7645509%3a58366029%3a24ee1bba%3a1e771326%3aaa288e2d%3a8674cba1%3ab7778d6c%3ac08e9f8a%3aa51ee93e%3a59462f1%3ae330518b%3ac8618e41%3ae4f8f289%3bAjaxControlToolkit%2c+Version%3d1.0.20229.20821%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3asv-SE%3ac5c982cc-4942-4683-9b48-c2c58277700f%3a13f47f54%3a1fdadad4%3ab14bb7d5%3a3c55b13e%3adc2d6e36%3ade51bc8f%3a1d056c78%3aa3e10fa2%3a701e375f%3aa4313c7a, line 6 character 36005
Here's what the code looks like:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
I have now tried the approach from your demos and still have problems.
Firstly, the loading symbol is only visible in the grouping panel for some reason.
http://img85.imageshack.us/img85/3781/loadingb.png
Secondly, I get a new javascript error which did not exist before.
Here's som information from the javascript error:
'_events' is null or not an object Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_ctl00_ContentPlaceHolder1_ContentPlaceHolder1_ScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3asv-SE%3ad0c4ca6e-6b5d-49b6-922d-5244924fb100%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.3.1314.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3asv-SE%3aec1048f9-7413-49ac-913a-b3b534cde186%3a16e4e7cd%3aed16cbdc%3af7645509%3a58366029%3a24ee1bba%3a1e771326%3aaa288e2d%3a8674cba1%3ab7778d6c%3ac08e9f8a%3aa51ee93e%3a59462f1%3ae330518b%3ac8618e41%3ae4f8f289%3bAjaxControlToolkit%2c+Version%3d1.0.20229.20821%2c+Culture%3dneutral%2c+PublicKeyToken%3d28f01b0e84b6d53e%3asv-SE%3ac5c982cc-4942-4683-9b48-c2c58277700f%3a13f47f54%3a1fdadad4%3ab14bb7d5%3a3c55b13e%3adc2d6e36%3ade51bc8f%3a1d056c78%3aa3e10fa2%3a701e375f%3aa4313c7a, line 6 character 36005
Here's what the code looks like:
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadGrid1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel>
<telerik:RadGrid ID="RadGrid1" runat="server" >
...
</telerik:RadGrid>
Thanks
0
Hello JH,
I followed your steps in the attached sample but was not able to replicate the issues.
Can you check it on your end and let me know how it goes and if I missed something out?
Regards,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
I followed your steps in the attached sample but was not able to replicate the issues.
Can you check it on your end and let me know how it goes and if I missed something out?
Regards,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
JH
Top achievements
Rank 1
answered on 19 Mar 2010, 11:59 AM
Hi,
Your example implemented in our site did not make any difference.
I have attached the site, unstripped of other code + a screenshot:
http://sprend.com/download.jsp?FileId=3i4TYPfucWnEgkkvEJ8m
BR
Your example implemented in our site did not make any difference.
I have attached the site, unstripped of other code + a screenshot:
http://sprend.com/download.jsp?FileId=3i4TYPfucWnEgkkvEJ8m
BR
0
Hello JH,
Can you send me your web.config any custom styles, themes you have in your application for further investigation?
It would be great if you can send me a sample where I can observe the problem and try finding a proper resolution for you.
Greetings,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Can you send me your web.config any custom styles, themes you have in your application for further investigation?
It would be great if you can send me a sample where I can observe the problem and try finding a proper resolution for you.
Greetings,
Iana
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.