Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
123 views
Hi,

I follow the link below  to export all item of grid. But for .csv format its not working correct i.e. its exporting only Parent grid item not exporting nested grid items. Other format works correct.

Please help me what I am missing.

  http://demos.telerik.com/aspnet-ajax/grid/examples/export/exporthierarchicalgrid/defaultcs.aspx
Princy
Top achievements
Rank 2
 answered on 03 Aug 2012
1 answer
158 views
Can the embedded jQuery be disabled outside of the webconfig?...like in the masterpage?

I've tried in Init and PreInit, but the page size is the same
Maria Ilieva
Telerik team
 answered on 03 Aug 2012
3 answers
104 views
I am using a custom dialog to implement the ImageManager as a standalone file manager for images (outside of RadEditor). I have hidden both the "Insert" button of the FileBrowser UserControl and the "Properties" tab of the ImageManager UserControl. However, if a user double clicks on an image, it still assuems they are trying to insert the image in some content and this results in the ImageManager dialog closing. Is there a way to disable the double click for files within the FileBrowser control in my custom dialogs?
Rumen
Telerik team
 answered on 03 Aug 2012
0 answers
78 views
Hello Team,

Main features in my grid:

1) EnableHeaderContextMenu="true"
2) EnableHeaderContextFilterMenu="true"
<ClientSettings AllowColumnsReorder="false" ReorderColumnsOnClient="false">
    <Scrolling AllowScroll="true" UseStaticHeaders="true" SaveScrollPosition="true"> </Scrolling>
  </ClientSettings>
3) AutoGenerateColumns="true" 

Problem

If i hiding one or more columns using context menu and then again displaying same columns using context menu options UI get disturbed.
Means columns are not displaying with there previous width its extending with full screen with.

Please elaborate what i am missing.

Thanks,
Preeti





preeti
Top achievements
Rank 1
 asked on 03 Aug 2012
1 answer
65 views
Good afternoon, I am with the following problem, to fill in the text box by as follows: 1.00 and then immediately change 0.00 he accepts, but if I do thus 0.20 and change to 0, it automatically returns to 0.20 ... not understood very well the because ... he is not accepting the decimal places with " 00 ". 

<telerik:RadNumericTextBox ID="txt" runat="server" MinValue="0">
    <NumberFormat AllowRounding="true" DecimalDigits="2">
</telerik:RadNumericTextBox>
Princy
Top achievements
Rank 2
 answered on 03 Aug 2012
1 answer
84 views
The title says it all...how to export also extra created LinkColumns using the build in ExportToExcel in RadGrid ?

Regards,
Robert
Shinu
Top achievements
Rank 2
 answered on 03 Aug 2012
0 answers
128 views
Hi 

I like to know if there is any drill down option for ASP.NET MVC chart controls provided by telerik. Can you please share some URL or documentation for the same ?
Vishnu
Top achievements
Rank 1
 asked on 03 Aug 2012
2 answers
103 views
I've created a grid where the last column is defined thusly:

      <telerik:GridTemplateColumn UniqueName="StdHrs" DataField="StdHrs">
        <HeaderTemplate>Std Hrs</HeaderTemplate>
        <ItemTemplate>
          <asp:Label ID="labelStdHrs" runat="server" Width="100%" Text='<%# Bind("StdHrs") %>' />
        </ItemTemplate>            
      </telerik:GridTemplateColumn> 

The Std Hrs on each row = Quantity x Rate

After a little research I determined this approach to update the Std Hrs value when a number is changed in the Quantity (aka Units) TextBox:

          float stdHrs = Tools.Round((float)dataRows[0]["Rate"] * newval, 2);
          dataRows[0]["StdHrs"] = stdHrs;
          GridDataItem item = (GridDataItem)textBox.NamingContainer;
          Label label = (Label)item.FindControl("labelStdHrs");
          label.Text = stdHrs.ToString();


This does work but it seems rather redundant to have to update both the underlying DataTable (that the Grid is bound to) as well as the Label that sits in the row.

Is there, in fact, a more efficient way to do this?

Robert
Robert
Top achievements
Rank 1
 answered on 03 Aug 2012
1 answer
82 views
Hi,

I am new to Telerik controls.

How to insert data into the grid client-side on a button click . 

Please provide me a sample project/code as I am new to script also.

1) A Combo with ProductName as text, Productid as value.

2) A textbox to enter the Qty.

3) A button (ADD to Grid)  to insert the data into grid client-side


Tsvetoslav
Telerik team
 answered on 03 Aug 2012
1 answer
145 views
Hi,

I am facing a problem while trying to insert checkbox control into the cell during the itemdatabound event. The grid is tied to the datatable which is created dynamically.

This is the code:

Protected Sub gvCompareAccessories_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles gvCompareAccessories.ItemDataBound

        If (e.Item.ItemType = Telerik.Web.UI.GridItemType.Item Or e.Item.ItemType = Telerik.Web.UI.GridItemType.Item) Then
            'If TypeOf e.Item Is GridDataItem Then
            Dim dt As GridDataItem = DirectCast(e.Item, GridDataItem)

            'Dim imgbox As System.Web.UI.WebControls.Image = New System.Web.UI.WebControls.Image()

            If (e.Item.RowIndex = 2) Then
                Dim plcholder As PlaceHolder = New PlaceHolder()
                Dim chkbox As CheckBox = New CheckBox()
                For Each cellitem As GridTableCell In e.Item.Cells
                    chkbox.Text = "Remove"
                    plcholder.Controls.Add(chkbox)
                    cellitem.Controls.Add(plcholder)
                   
                Next
            End If

        End If
      
    End Sub

Here in the code i am trying to insert the checkbox into each cell of row index 2. But the checkbox appears only in the last column.
Shinu
Top achievements
Rank 2
 answered on 03 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
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
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
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
Rakhee
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?