Hi,
I am very new to all this... And I think what I want to accomplish is doable, but I cannot seem to get it working right.
I have a page with a searchbox at the top and a 3 pane splitter, the top on contains an asp:panel with a radlistview inside it, this is linked to sqldatasource1 which is a stored procedure. The middle pane contains just a radgrid whose datasource is sqldatasource2, also a stored procedure. The bottom pane is another asp:panel with a radlistview who has sqldatasource3, another stored procedure.
Right now I have a radajaxmanager whose AJAXcontrol id is the searchbox.
When the searchbox fires, in VB.net codebehind it takes the text of the search box, places it in a hidden field and then the sqldatasources are all set to their stored procedure names (whose parameters reference the hidden field) and then does a databind() on each.
The three queries take vastly different amounts of time and what I want is for the radajax loadingpanel to disappear from each control as it has its data bound. Right now they all cease at the same time and it takes the sum of the 3 loading times.
How can I do this? I feel like it might involve splitting the binding to three separate functions in the codebehind, but when I've tried that, the ajax seems to stop at the first (quickest) one, and only that pane is loaded.
From a lot of searching, I've found that I cannot have them load in parallel, which is fine, but I'd like to not have to wait for all 3 to load to view the first.
I'd like the effect to be similar to this:
http://demos.telerik.com/aspnet-ajax/splitter/examples/showcontentduringload/defaultcs.aspx
where it is clear that one loads before the other.
Let me know if I can provide anything more to help.
Thanks!!
I am very new to all this... And I think what I want to accomplish is doable, but I cannot seem to get it working right.
I have a page with a searchbox at the top and a 3 pane splitter, the top on contains an asp:panel with a radlistview inside it, this is linked to sqldatasource1 which is a stored procedure. The middle pane contains just a radgrid whose datasource is sqldatasource2, also a stored procedure. The bottom pane is another asp:panel with a radlistview who has sqldatasource3, another stored procedure.
Right now I have a radajaxmanager whose AJAXcontrol id is the searchbox.
When the searchbox fires, in VB.net codebehind it takes the text of the search box, places it in a hidden field and then the sqldatasources are all set to their stored procedure names (whose parameters reference the hidden field) and then does a databind() on each.
The three queries take vastly different amounts of time and what I want is for the radajax loadingpanel to disappear from each control as it has its data bound. Right now they all cease at the same time and it takes the sum of the 3 loading times.
How can I do this? I feel like it might involve splitting the binding to three separate functions in the codebehind, but when I've tried that, the ajax seems to stop at the first (quickest) one, and only that pane is loaded.
From a lot of searching, I've found that I cannot have them load in parallel, which is fine, but I'd like to not have to wait for all 3 to load to view the first.
I'd like the effect to be similar to this:
http://demos.telerik.com/aspnet-ajax/splitter/examples/showcontentduringload/defaultcs.aspx
where it is clear that one loads before the other.
Let me know if I can provide anything more to help.
Thanks!!