Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
250 views

I followed this demo to download my content to word and it worked perfectly 

view demo

But can I add footer and header to the downloaded document ?

 

Thanks and regards.

Rumen
Telerik team
 answered on 31 Oct 2016
5 answers
160 views
Hi,

Is there a way to set the Grid.ClientEvents.Scrolling.FrozenColumnsCount in javascript?

Thank You
Tracy
Eyup
Telerik team
 answered on 31 Oct 2016
2 answers
200 views

Hi 

I am using the RadGrid control in my website and have a need to translate all the text that the user sees. Is it possible for me to translate the text on the control? 

I cant see any way to translate some of the built in text such as "Page Size", "X items in Y Pages" and the search/Filter options that can be accessed by right clicking the grid.

I have attempted to change the culture on the element but this did not appear to make any changes to the language displayed

The Telerik.Web.UI dll version we are using is 2013.2.611.40

Any ideas?

Vessy
Telerik team
 answered on 31 Oct 2016
3 answers
134 views
Hi,

I noticed that Aggregate="Sum" is not working for GridNumericColumn in DetailTables
(build 1002).  It gives the error:

Sum is not supported for type "System.Object"

It is working in previous build 724.

Example:
<telerik:RadGrid ClientSettings-AllowDragToGroup="true" ShowGroupPanel="true" ShowFooter="true" runat="server" ID="rg" AutoGenerateColumns="False" GroupPanelPosition="Top">
    <MasterTableView>
    <Columns>
    <telerik:GridBoundColumn HeaderText="id" DataField="id"></telerik:GridBoundColumn>
    <telerik:GridBoundColumn HeaderText="text" DataField="text"></telerik:GridBoundColumn>
    <telerik:GridBoundColumn HeaderText="value" DataField="Value" Aggregate="Sum"></telerik:GridBoundColumn>
    </Columns>
    <DetailTables>
    <telerik:GridTableView>
    <Columns>
    <telerik:GridBoundColumn HeaderText="id" DataField="id"></telerik:GridBoundColumn>
    <telerik:GridBoundColumn HeaderText="text" DataField="text"></telerik:GridBoundColumn>
    <telerik:GridNumericColumn HeaderText="value" DataField="value" Aggregate="Sum"></telerik:GridNumericColumn>
    </Columns>
    </telerik:GridTableView>
    </DetailTables>
    </MasterTableView>
    </telerik:RadGrid>


Code behind:

Protected Sub rg_DetailTableDataBind(sender As Object, e As Telerik.Web.UI.GridDetailTableDataBindEventArgs) Handles rg.DetailTableDataBind
    Dim dt As New DataTable()
    dt.Columns.Add("id", GetType(Integer))
    dt.Columns.Add("text", GetType(String))
    dt.Columns.Add("value", GetType(Double))
 
    Dim r As DataRow
 
    r = dt.NewRow()
    r("id") = "1"
    r("text") = "nr. 1 detail"
    r("value") = 1.5
    dt.Rows.Add(r)
 
    r = dt.NewRow()
    r("id") = "2"
    r("text") = "nr. 2 detail"
    r("value") = 2.5
    dt.Rows.Add(r)
 
    e.DetailTableView.DataSource = dt
    End Sub
 
    Protected Sub rg_NeedDataSource(sender As Object, e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles rg.NeedDataSource
    If e.IsFromDetailTable = False Then
 
    Dim dt As New DataTable()
    dt.Columns.Add("id", GetType(Integer))
    dt.Columns.Add("text", GetType(String))
    dt.Columns.Add("value", GetType(Double))
 
    Dim r As DataRow
 
    r = dt.NewRow()
    r("id") = "1"
    r("text") = "nr. 1"
    r("value") = 1.5
    dt.Rows.Add(r)
 
    r = dt.NewRow()
    r("id") = "2"
    r("text") = "nr. 2"
    r("value") = 2.5
    dt.Rows.Add(r)
 
    rg.DataSource = dt
    End If
    End Sub

Eyup
Telerik team
 answered on 31 Oct 2016
1 answer
66 views
Change tile in FieldsWindow-Title & FieldSettingsWindow-Title property has no effect after rendering.
Eyup
Telerik team
 answered on 31 Oct 2016
0 answers
89 views

Hello,

I have an Issue when I viewing a large chart using the RadOrgChart control, some plus signs appear in the chart as in the attachment screenshot.

Do you guys have any idea on what might be causing this issue? Any help would be much appreciated!

Best Regards

Osama
Top achievements
Rank 1
 asked on 31 Oct 2016
1 answer
198 views

Hello,

  I have radcombobox inside radwindow. When postback occurs, Radcombobox itemsrequested event is called and it would insert the items. I would select the item and display the data. It works up to this point. Now, if I click the radcombobox arrow to select again, it freeze. I have to click outside and select again then it works. also, after item is selected, I can't close the radwindow. I need to click outside again, and the radwindow close button works fine. Why is this happening? Could you provide a fix for this problem? thanks. below is sample code.

//client side

 function RadComboBox1_OnClientSelectedIndexChanged(arg) {
                if (arg) {                
                    __doPostBack("<%=RadComboBox1.UniqueID%>", "OnSelectIndexChange");                  
                }
            }

<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
<AjaxSettings>
  <telerik:AjaxSetting AjaxControlID="RadComboBox1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="pnlBox" />                                            
                </UpdatedControls>
            </telerik:AjaxSetting>

</AjaxSettings>
</telerik:RadAjaxManagerProxy>

 <telerik:RadWindowManager ID="RadWindowManager1" runat="server"></telerik:RadWindowManager>

    <telerik:RadWindow ID="RadWindow1" runat="server" >   
 <asp:Panel ID="pnlBox" runat="server">
   <telerik:RadComboBox ID="RadComboBox1" runat="server" EmptyMessage="Select" OnClientSelectedIndexChanged="RadComboBox1_OnClientSelectedIndexChanged"
    OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged" OnItemsRequested="RadComboBox1_ItemsRequested" EnableScreenBoundaryDetection="false" AutoPostBack="false" >
 </telerik:RadComboBox>
</asp:Panel>
</telerik:RadWindow>

// server side
        protected void RadComboBox1_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
        {
            //get items and bind to RadComboBox1;
        }
        protected void RadComboBox1_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
        {           
            //display data;
        } 

kevin
Top achievements
Rank 1
 answered on 28 Oct 2016
1 answer
644 views

Hello,

I was wondering how to limit <asp:DropDownList ... />, that its height would be limited to displayed element count, for example, if there are two elements, list will end after them, if there are three, four and so on. Now, as i understand, list is generated by default for 18 lines, if there are one result, list is still 18 lines long, but almost empty.

Thank you for help.

Milgerdas.

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 28 Oct 2016
7 answers
203 views
Hello,

I need to fire a server event that will save the grid state  to a database when a grid column is resized.  I have gone through the forums and it seems the way to accomplish is by firing an ajax request, but I can't any sample code that shows how to do do this.  If anyone has expierance with this and could post a code sample, I would really appreciate it.   I am using an AjaxManagerProxy in a user control with the AjaxManager on a master page. 

Thanks,
Bob
Jamieson
Top achievements
Rank 1
 answered on 28 Oct 2016
1 answer
90 views

Hi,
In my solution i have created Master page with dynamically loaded RadPanel binding with datatable in Codebehind . And used this as Master page to my Child Pages.I have binded the RadPanelItems and assigned the items with Redirection using NavigateUrl Property .
After Navigation from ChildItem of menu click ,i cannot find the Selected item of menu control in the loaded child pages. 
In my scenario i have to get the selected item value in child pages and need to select particular parent item of the child and expand the parent item by code behind.
I have set PersistStateInCookie = true .But i want to select the RadpanelItem and their child item for my application scenarios. Please give me the solution asap.

 

 

 

Thanks.

Veselin Tsvetanov
Telerik team
 answered on 28 Oct 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?