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

Iam using the RadGrid with Hireachy. On the RadGrid i have the Buttons Export to Excel and Export to PDF on the top of the Grid.Iam using the Display on top Property to display the buttons. Export to exel is working but Export to PDF iam getting a blank Page.

Can any one pls let me know how to solve this issue.

Iam uisng the License verison of the Telerik.

Regards
asra
Pavlina
Telerik team
 answered on 22 Jun 2009
1 answer
96 views
Hi Dear all,
I am using r.a.d.controls Q4 2006 ASP.NET 2.x  in my projects.
Now i need a editable grid for my project.
I saw a editable grid sample in the telrick website.
I need to know the editable grid is compatible in r.a.d.controls Q4 2006 ASP.NET 2.x
Thanks in Advance.

Sebastian
Telerik team
 answered on 22 Jun 2009
1 answer
282 views
Hi all,

Please guide us to improve initial load time of RadGrid databinding.

Our scenario is:

1. RadGrid has 7 bound columns and 33 GridTemplateColumns. (Setting column visible property 'false' for 25 GridTemplateColumns at runtime). So total display columns is 15 only.
2. Rendering data size 500KB.
3. It is taking more than 120 seconds to load data in grid.

here is the sample code:

<telerik:RadGrid  ID="RadGrid1" runat="server" Width="960px" AllowPaging="false" PagerStyle-AlwaysVisible="false" 
   HeaderStyle-HorizontalAlign=
"center" BackColor="#e8eefa" HeaderStyle-Font-Size="8" 
  
AllowSorting="false" >  
<ClientSettings Scrolling-UseStaticHeaders="true" >  
    <Scrolling FrozenColumnsCount="2" SaveScrollPosition="false" ScrollHeight ="350px"/>  
</ClientSettings>  
<MasterTableView NoMasterRecordsText="No Matching Record Exists" Name="Master" Width="960px" 
    DataKeyNames="PersonLocationId" EnableColumnsViewState="true" TableLayout="fixed" 
    >  
 <Columns>  
    <telerik:GridTemplateColumn UniqueName="PersonSelected"   
        HeaderStyle-Width="15px" ItemStyle-Width="100%" >  
    </telerik:GridTemplateColumn>  
    <telerik:GridTemplateColumn DataField="PersonName" UniqueName="Person"   
        HeaderStyle-Width="120px" ItemStyle-Width="100%" ItemStyle-HorizontalAlign="left">  
        <ItemTemplate>  
            <asp:Label ID="lblPersonName" runat="server" Text='<%# DataBinder.Eval(Container, "DataItem.PersonName") %>'></asp:Label>  
        </ItemTemplate>  
    </telerik:GridTemplateColumn>  
    <telerik:GridBoundColumn datafield="Specialty" uniquename="Specialty" Visible="false">  
    </telerik:GridBoundColumn>  
    <telerik:GridTemplateColumn uniqueName="Day1" HeaderStyle-Width="35px" ItemStyle-Width="100%" >  
    </telerik:GridTemplateColumn>  
    .....  
    .....  
    <telerik:GridTemplateColumn uniqueName="Day31" HeaderStyle-Width="35px" ItemStyle-Width="100%" >  
    </telerik:GridTemplateColumn>  
 </Columns>  
</MasterTableView>  
</telerik:RadGrid> 
Princy
Top achievements
Rank 2
 answered on 22 Jun 2009
1 answer
184 views
Hello,

i want to use the telerik controls (e.g. scheduler, grid, rotator) with sharepoint designer.
I can drag and drop the controls on a sharepoint site.
But i have two questions:

a) is this a proven way to use the controls? Or have i to use webparts?
b) Is there a way to use the SPDatasource to get data from Sharepoint lists with Sharepoint Designer?

Maybe somebody can show me a short way to accomplish b).

I think spd 2007 is the easiest way to implement telerik controls in our sharepoint sites.

Thank you very much.

Regards

Marc
Sebastian
Telerik team
 answered on 22 Jun 2009
1 answer
131 views
I've got a DataSet with 2 tables that have a relationship between them assigned in the DataSet:

i.e.
DataSet ds = new DataSet();
ds.Tables.Add(customerTable);
ds.Tables.Add(orderTable);
DataColumn parentDC = customerTable.Columns["CustomerID"];
DataColumn childDC = orderTable.Columns["CustomerID"];
ds.Relations.Add("Customer_Orders", parentDC, childDC, false);

My Grid has a MasterTable and DetailTable setup, with the appropriate ParentTableRelation setup.

I was hoping that I could simply set the datasource of the grid to this dataset (the master getting the first datatable, and the detail getting the second), and that the relationship would be used in the DetailTable to filter on expanding, but that does not appear to be the case. Is this possible, and if so, are thre any live examples on the net?

Thanks.
Shinu
Top achievements
Rank 2
 answered on 22 Jun 2009
4 answers
277 views
Hello,

I am working on incorporating RadEditor into a project.  In that project, all access to image files, documents, etc, passes through a GetFiles.aspx page, where that GetFiles.aspx page checks permissions before streaming the file to the browser.  Along with restricted permissions on the folders themselves, this ensures that nobody can browse directly to the files in question. 

This means that img tags in the page, must be something like this: <img src="getfiles.aspx?=imageurl.gif">.

This RadEditor is being integrated into a Wiki, so I may even want to output a custom Wiki markup tag insteadThis RadEditor is being integrated into a Wiki, so I may even want to output a custom Wiki markup tag instead

In RadEditor, I see two possible solutions.

  1. Customize the link as it is pasted into the RadEditor after it is selected from the ImageEditor dialog.  Is there a way to do this? 
  2. Make my own ImageEditor dialog.  I think I prefer this method since I may want to make some subtle changes to the dialog. If I go this route, is there a way to re-use some of the existing functionality, such as the image previewer and editor?  I know I can do the ExternalDialog thing and modify the .ascx files, but I'm not sure this gives me full control to completely retool things.  Is there a way to re-use some of the components in our own dialogs?  The FileManager is easy now since it it is it's own control, but I don't see anyway to reuse the other things like the ImagePreviewer and ImageEditor.

Thanks,
Chris

Lini
Telerik team
 answered on 22 Jun 2009
3 answers
210 views
Hi.  I am trying to freeze the first column and allow the user to scroll all the way to the left with the first column frozen.  The column is froze just fine but when the user scrolls all the way to the left they cannot get to the last column unless they tab into it.  Is there a way to fix this?

Any help is greatly appreciated.

Thank you,
Nick
Sebastian
Telerik team
 answered on 22 Jun 2009
1 answer
89 views
Dear Support

I have the following situation:

2 RadWindow:
The first one have a Combobox that is bind to a datasource. THe combobox shows the expected items from the source.
Example:
London, New Work and Paris..

From this window you can open another RadWinodw to add/delete and edit the items from the Datasource of the Combobox.
So all this I have implementd.

I cklick on a button and the second winodow get open and I see all the items to edit. I add one item (for explame "Oslo)"and insert the new item. I close the window and then I want to ajxa/update the Combobox on the first window to show all items and also the new one.
(I check it in the database. The new item is added.)

I expact that the COmbobox on rhe first window show after the update/add:
London, New Work, Paris and Oslo.

I try to implemeted this by a CLientScript with raising the itemrequested event, but the combobox don't updated. I also try it with an AjaxPanel or an AjaxManager.

Have someone an idea how I can realise this?

Thanks in adance
Christian
Georgi Tunev
Telerik team
 answered on 22 Jun 2009
1 answer
574 views
If you visit my site http://www.theplaygrounds.co.uk/ and click mp3 player, you will see the column name is Item. I bind to an arraylist, which contains a struct. Nowhere in any of these objects is there a field called "Item" so I don't know where this name comes from. Where/how can I change this?

Thanks
Princy
Top achievements
Rank 2
 answered on 22 Jun 2009
1 answer
222 views
Hi,

I need to create multilevel hierarchical grid at runtime. We needs to generate details table on tab out of the column of the parent grid.
For this scenario i have created grid dynamically and added template columns to it. The problem is i need to bind the grid each time i add the details table to it. This works fine for the first level. But when i change some value in first child grid and needs to open next level hierarchy grid, the gird does not display all the child level detail tables. This is because, when we rebind the grid the grid looses the data in the intermediate detail table and just displays the top level data.

Is there any way to maintain the state, and without binding is it possible to load details table dynamically.

Could anyone provide sample for loading multi level hierarchical grid dynamically at runtime based on the value entered in the parent grid.

Thanks
Ravi
Yavor
Telerik team
 answered on 22 Jun 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?