Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
92 views
Good Day,

I have a small problem. The RadGrid I am working on is a Grid with NestedViewTemplates for each record. In the nestedTemplate there is another RadGrid. Now I use a recorded ID from the parent row to populate the RadGrid in the nested template. The Template loads up nicely but as soon as I collapse/expan the record to view the grid in the template receives a null value from the ID. Thus the data cannot bind. 

Is there a way to come around this? 

Thank you
Chris
Top achievements
Rank 1
 answered on 02 Nov 2012
13 answers
881 views
I have a rad grid that I'm exporting to excel. The column headers never show in the excel file. Any ideas why? Here's the code I use to export, 
RadGrid1.DataBind()
        RadGrid1.ExportSettings.OpenInNewWindow = True
        RadGrid1.ExportSettings.ExportOnlyData = False
        RadGrid1.ExportSettings.HideStructureColumns = False
        RadGrid1.ExportSettings.IgnorePaging = True
        RadGrid1.MasterTableView.ExportToExcel()
Kostadin
Telerik team
 answered on 02 Nov 2012
0 answers
159 views
Hi There,

When placing a RadTextBox inside a RadWindow, I get a JavaScript Error: TypeError: $telerik.$ is undefined

Placing a RadComboBox works without any problems.

This is my code:
<telerik:RadWindow ID="Details" runat="server" Title="Details" Width="450" Height="536"
 VisibleOnPageLoad="false" Behaviors="Move, Close" Left="580" EnableShadow="true" RegisterWithScriptManager="false">
    <ContentTemplate>
             <telerik:RadTextBox ID="Test" runat="server">
             </telerik:RadTextBox>
    </ContentTemplate>
</telerik:RadWindow>

Is this a know bug?

*UPDATE*

My bad, RegisterWithScriptManager="false" caused this behaviour.
JS
Top achievements
Rank 1
 asked on 02 Nov 2012
1 answer
79 views
Hi,
Thanks in advance for your help.
I have a rad grid connected to a SQL database, and also a button that pops up and allows user to add more items to the radgrid.
The data added from the seperate window is added into the radgrid and shows when I rebind it, so when I 'Import' the data from the pop up how do I rebind the radgrid in the parent window to display the data?
Many Thanks
Ryan

UPDATE: I now have it running how I need it to, however it is still not updating the screen without refreshing it, How do I add the Ajax controls?

The code it runs through currently
function refreshRadGrid() {
    var masterTable = $find("<%=RadGrid2.ClientID%>").get_masterTableView();
    masterTable.rebind();
}
 then
Protected Sub RadGrid2_NeedDataSource(sender As Object, e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGrid2.NeedDataSource
    ' MATERIALS FOR DAYSHEET
    Dim dt As New DataTable
    If lblHeaderID.Text <> 0 Then
        Dim itm As New dbrcOrdItems(Session("ConnectionString"))
        Dim HeaderID As Integer = lblHeaderID.Text
        dt = itm.ListforDaySheet(HeaderID)
        RadGrid2.DataSource = dt
    End If
    RadGrid2.DataSource = dt
End Sub

Thanks once again
Eyup
Telerik team
 answered on 02 Nov 2012
1 answer
138 views
Why is does the RadGrid disappear when I click on or drag the Radwindow? Is there a way to eliminate this behavior?
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" ShowContentDuringLoad="false" Width="638px" Height="323px" Top="80px" Left="80px" VisibleStatusbar="False" BorderStyle="None" BorderWidth="1px"
        InitialBehaviors="Close, Move" Animation="None" Behaviors="Close, Move" EnableViewState="false"  InitialBehavior="Close">
        </telerik:RadWindowManager>

//Show RadWindow with
function ShowWindow(Document) {
    //Popup Window
    top.radopen(Document, "RadWindow1");
    //Window within the Iframe
    //window.radopen(Document, "RadWindow1");
    return false;
}


Marin Bratanov
Telerik team
 answered on 02 Nov 2012
1 answer
248 views
in the screen shot attached, how do I get rid of the top border which appears on tabs in the sitefinity skin when in vertical orientation. Also, how do I get rid of the border which is show along the bottom of the tabstrip?
Princy
Top achievements
Rank 2
 answered on 02 Nov 2012
2 answers
134 views
Preface:
In my application, we use a lightbox to open the RADEditor. Its position in the page (vertical height) will be relative on the page to where it was clicked.

Problem:
When the RadEditor is opened further down on the page, all the additional pop-ups that are generated by the RADEditor appear in random locations (not director over the RADeditor). For example, if I try to paste-in plain text, open the image/document Library, Table Wizard, or any other pop-up, they will be way above, or way below the immediate RadEditor. How can I control the placement of these pop-ups?

(example below shows a "moderate" version where the Past Plain Text window first loads)

Rumen
Telerik team
 answered on 02 Nov 2012
1 answer
100 views

With the RadFileExplorer, we are seeking a way to multi select files, click a context item, then fire a client side event with the itemPaths for the selected files.

I can add a RadMenuItem to the context menu, and fire an event client side event. However it only fires once, and passes in the first selected file itemPath.

Thanks
-Matt

Dobromir
Telerik team
 answered on 02 Nov 2012
1 answer
180 views
I am looking for a way to simply bind a byte array to the ImageEditor.  On my page, users can click various link buttons which will allow them to crop pictures coming from the database.  How do I invoke the ImageLoading event each time a user clicks a link button?  Right now it seems the ImageLoading event only fires when the page loads.

It would be ideal if the control could be used like this:

ImageEditor1.DataSource = SomeByteArray;
ImageEditor1.DataBind();

The DataBind would then fire an event similar to ImageLoading but you wouldn't have to handle the memory stream in the event, the DataBind would simply do it.

Just any idea.  My immediate need is figuring out how to trigger the ImageLoading event.

Thanks!
Dobromir
Telerik team
 answered on 02 Nov 2012
3 answers
349 views
Hi,
I am using Telerik.Web.UI.dll 2010.3.1317.35 Version. I have doubts in Rad Grid Multiple Column Header with col-span. ColumnsGroup Tag does not support for this version. so we are trying to use below 2 methods 
1. Using tables TR, TD Method in Header Template in Single Template columns.
2. Server Side code methods of Grid PreRender using add new Header Item using TableHeadercell but after data bind or using column resizing  then gird design will be collapse, 
 
So, Can you Suggest me which is the correct method or any other simple method for multiple column header.
Marin
Telerik team
 answered on 02 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?