Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
221 views
I have a table with 5,355,113 records. I want to display them in a grid. I have a test application similar
to this: Link

The description of the example says: "allows you to handle millions of records within a few milliseconds",
but I'm getting the error displayed in the attached image.

What am I doing wrong?. The example linked before should be able to handle 5 million records? or, should
I handle the paging in code behind?

This is my ASPX code (No code behind):

<
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 runat="server" ID="RadAjaxLoadingPanel1" />
 
<telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True" AutoGenerateColumns="False" PageSize="1"
    DataSourceID="LinqDataSource1">
    <PagerStyle Mode="NextPrevAndNumeric" />
     <MasterTableView TableLayout="Fixed">
        <Columns>
            <telerik:GridBoundColumn DataField="ID" HeaderText="ID" UniqueName="ID">
            </telerik:GridBoundColumn>
        </Columns>
 
    </MasterTableView>
</telerik:RadGrid>
 
<asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="WebApplication1.DAL.DataClassesDataContext" TableName="Cards" OrderBy="ID">
</asp:LinqDataSource>

Any help would be appreciated. Thanks
Angel Petrov
Telerik team
 answered on 10 Oct 2013
1 answer
85 views
Can anyone tell me if it is possible to make a custom content provided for the FileBrowser in order to choose and upload photos from the photos are of iOS with any version of Telerik. This means the photos, photostream, camera roll, or albums.

We are currently using:

Telerik.Web.UI
Version 2011.2.712.40

Any help would be most appreciated.

Sincerely,

Len Chaney

Vessy
Telerik team
 answered on 10 Oct 2013
6 answers
275 views

1.       Header  in the RadGrid control is  getting fixed but the alignment of the data and Header borders are not matching. That means the border of the header and the data of the particular column are not aligned properly.

2.       Header Resize for the Grouped Columns we are not able to resize Error: Which resizing any particular column another Columns get resize.

3.       When we resize the Rad Grid Column, Content in the columns are getting wrapped. Let us assume the text that displays in that particular column  contains 20 characters, so initially it is displaying to 8 characters in that particular column then we resize that column up to  10 characters but the Entire text 20 characters are getting displayed.
Angel Petrov
Telerik team
 answered on 10 Oct 2013
1 answer
66 views
Hi,
I have a following query regarding RadasyncUpload. Please clarify it.

Can we upload multiple files of different file extensions in a single attempt?
(ie  xls,docx,txt,htm,pdf format files uploaded at once)

is der any change that has to be done to ensure proper uploading of different format files at once. Because i have tried to do so but the files are not been uploaded on post back. But when I tried with similar format multiple files I am able to upload successfully.
I have added the extensions in the allowedextension property of the control.

Please provide the necessary change that has to be made.

Shinu
Top achievements
Rank 2
 answered on 10 Oct 2013
3 answers
181 views
HI,
 i am having grid with edit mode(update ,delete , automatic insert) and i want a validation using rad window that sure to delete if client select yes then record will be deleted otherwise not,
and after thar success msg apper on insert data

Thanks
Princy
Top achievements
Rank 2
 answered on 10 Oct 2013
0 answers
51 views
See pic in the attachment.

I tried to set Scrollbars = "Hidden" or "None" but it didn't help.  I know that my page may be long/wider than the PageView holder, but I just want to get rid of the scrollbars no matter what.

Thanks

Lamk.
LamKhoa
Top achievements
Rank 1
 asked on 10 Oct 2013
3 answers
426 views
HI, I have 6 to 7 Items in RadTabStrip & & each item has sub-menu as RadTab.
But i would like to override the control's css class to get "item text to get underline on mouse hover" instead of mentioning
HoveredCssClass="textHover" for each item.



CSS Class:
.textHover
    {
        text-decoration:underline !important;
    }
Aspx Page:
<telerik:RadTab
runat       ="server"
Text        ="Dashboard"
 Value       ="Dashboard"
 Selected    ="true"
 HoveredCssClass="textHover"
Font-Names  ="Verdana"  >

Can you please provide control's css class to override the same thing.
Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 10 Oct 2013
3 answers
192 views
I see some posts on here of closing the Radwindow from server and client.  What I am wondering if there are any easier ways now with the updated releases from telerik.    Need to Close my radwindow on this button click and then refresh the page.  If there and easy way to do on the code side.  Instead of the scriptmanager below I would put in the close radwindow.

Protected Sub lnkVerify_Click(sender As Object, e As EventArgs) Handles lnkVerify.Click
       Dim returnV As String = ""
 
       sql = "exec usp_AnnualSignHR '" & Replace(HFDigSig.Value, "'", "''") & "', '" & HFEDIPI.Value & "'"
 
       returnV = getData(sql).Rows(0)(0)
 
       If returnV = "0" Then
           pnlGrid.Visible = False
           ScriptManager.RegisterClientScriptBlock(Page, GetType(Page), "OpenWindow", "alert('Thank you for signing your annual hand receipt. You will be redirected to your Hand Receipt');", True)
           Response.Write("<meta HTTP-EQUIV=""refresh"" content=""1;url=~/User/UserHR.aspx"">")
       Else
           ScriptManager.RegisterClientScriptBlock(Page, GetType(Page), "OpenWindow", "alert('There has been an problem please contact the help desk.');", True)
       End If
   End Sub
Kevin
Top achievements
Rank 1
 answered on 09 Oct 2013
2 answers
242 views
I have a master grid to which I am binding a Detail grid only if it is part of a "series".  All other rows should not have a detail table.  There's no real key relationship between the master and detail table otherwise.

When I try to just bind the detail grid on only the rows which require it, it binds the entire master table view to the detail grid on the rows which don't.  I cannot get the detail grid to have a null datasource.

I don't know if I'm explaining it well, but how do I prevent the grid from showing the entire master table view on the detail view when there are no records to explicitly bind?

protected void RadGridCE_DetailTableDataBind(object source, Telerik.Web.UI.GridDetailTableDataBindEventArgs e)  
        {  
            GridDataItem dataItem = (GridDataItem)e.DetailTableView.ParentItem;  
 
            if (dataItem["is_series"].Text == "1")  
            {  
                int series_id = int.Parse(dataItem["series_id"].Text);  
                e.DetailTableView.DataSource = (FarranMedia.Classes.OnlineCE.CECourseGetBySeriesID(series_id)).Tables[0];  
            }  
            else  
            {  
 
                e.DetailTableView.DataSource = null;  
 
            }  
             
        } 

Thanks.
Steve
Top achievements
Rank 1
 answered on 09 Oct 2013
0 answers
120 views
nothing here!  I found the solution
Mike
Top achievements
Rank 1
 asked on 09 Oct 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?