
Hello,
I have a problem where I pull data from a huge database (over 140 000 entries) and have taken care to do my own pagination to limit loading time for my users.
Basically, on pagination changes (next, prev, click on number etc.) I query my own 20 rows (which is pagesize) to fill up only what the user see and not pull tens of thousands of rows each time which would slow down the user's experience.
So my problem is, if I do it this way, my table only shows my 20 rows and not whats available to the user.
I have a line in my codebehind that returns the number of results I would like to tell RadGrid is available:
var querySize = bllUsNet.ObtenirTout().Count;
Is there a way to "Trick" Radgrid into thinking there is that many entries but only return 20 ?
If anyone has an idea of a better title for this thread, I had a hard time to find one :)
Thanks

Hello,
I want filtr in grid between two radsearchbox. I would also that after filtering vaule remained RadSearchBox. My code not working:
<telerik:GridBoundColumn HeaderText="Name" UniqueName="_amountColumn" DataField="Amount">
<FilterTemplate>
<telerik:RadSearchBox runat="server" ID="From" Text="Form" OnClientSearch="FromSelected"></telerik:RadSearchBox>
<telerik:RadSearchBox runat="server" ID="To" Text="To" OnClientSearch="ToSelected"></telerik:RadSearchBox>
<telerik:RadScriptBlock ID="RadScriptBlock" runat="server">
<script type="text/javascript">
function FromSelected(sender, args) {
var startValue = FromOrderBrutto.get_value();
var endValue = ToOrderNetto.get_value();
tableView.filter("_amountColumn", startValue + " " + endValue, "Between");
}
function ToSelected(sender, args) {
var startValue = FromOrderBrutto.get_value();
var endValue = ToOrderNetto.get_value();
tableView.filter("_amountColumn", startValue + " " + endValue, "Between");
}
</script>
</telerik:RadScriptBlock>
</FilterTemplate>
Please help my

So, I have a page with multiple user controls. There is a RadAjaxManager on the page. Each user control needs to make ajaxRequests from javascript, and I would like each control to handle that itself. Is this possible?
So, for instance, I have control1 with the following in its code behind:
protected void Page_Load(object sender, System.EventArgs e){ RadAjaxManager manager = RadAjaxManager.GetCurrent(Page); manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(Control1_AjaxRequest);}and control2 with
protected void Page_Load(object sender, System.EventArgs e){ RadAjaxManager manager = RadAjaxManager.GetCurrent(Page); manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(Control2_AjaxRequest);}and in javascript, control1 does
$find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest(dataString);and I end up in Control2_AjaxRequest rather than Control1_AjaxRequest.
Is what I'm trying to do possible? If so, how? I'm currently trying to do this by adding a RadAjaxPanel to each control and invoking ajaxRequest on it, but I'm running into some code block issues with this that weren't there with RadAjaxManager.

Hello,
I have the RadImageGallery implemented using the following:
<telerik:RadImageGallery ID="ImageGallery" RenderMode="Auto" runat="server" LoopItems="true" ShowLoadingPanel="true" AllowPaging="false" DisplayAreaMode="Image" OnNeedDataSource="ImageGallery_NeedDataSource" DataTitleField="ImageTitle" DataDescriptionField="ImageDescription" DataImageField="ImageURL"></telerik:RadImageGallery> the Code behind is like this:
Protected Sub ImageGallery_ItemDataBound(sender As Object, e As ImageGalleryItemEventArgs) Handles ImageGallery.ItemDataBound Dim item As ImageGalleryItem = TryCast(e.Item, ImageGalleryItem) Dim db As New DBCorrDefense.DBDCDataContext() For Each item In ImageGallery.Items Dim EmData = db.CDSP_Get_URLByImageTitle(item.Title).FirstOrDefault If EmData Is Nothing Then Else item.NavigateUrl = EmData.URL End If Next db.Dispose() db = NothingEnd SubProtected Sub ImageGallery_NeedDataSource(sender As Object, e As Telerik.Web.UI.ImageGalleryNeedDataSourceEventArgs) Handles ImageGallery.NeedDataSource Dim db As New DBCorrDefense.DBDCDataContext()ImageGallery.DataSource = db.CDSP_Get_AllSlides() End Sub
How is it possible to allow the NavigateURL to open in a new blank page when i click on the ImageItem? currently it is opening in the same page
Thanks

Hello,
i have little big question.
Is it possible to let a user create his own grid at runtime and save it as XML file into database?
i need to let him:
Add, remove and rename columns.
Group columns,
Set Cell formats
amm...
This i want to save as a xmlfile an store it in database.
Is there already something prefabricated?
If not then i have alot of fun to figure it out.
Regards
Gu
ps. the spreadsheet is not a option, my boss don´t want it like that :(