Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
152 views
I have a  webpage that has  an Asp.Net ListView control that looks like a table.  I would like to export it to  an Excel file.  I 'm trying to use the radGrid to do so by creating it in the code behind and placing it in a placeholder on the aspx page.  I do not get any errors but my grid has no columns or rows, even though it showes as being databound.  Any help would be appreciated.  Here is my code for my button click to create radGrid.

            RadGrid grid = new RadGrid();
            grid.ID = "RadGrid1";

            this.phExport.Controls.Add(grid);

            grid.AutoGenerateColumns = true;  //added for testing
            grid.DataSource = FAM.ContactManager.Domain.Contact.GetExportData("2008","1");  //just returns a datatable
            grid.Rebind();

            grid.MasterTableView.ExportToExcel();
Daniel
Telerik team
 answered on 01 Sep 2008
1 answer
141 views
Hi,

Is there any way to clear all the filter values using client api (javascript)?

Thanks
Shinu
Top achievements
Rank 2
 answered on 01 Sep 2008
2 answers
47 views
Hi,

I am using Q2 2008 varsion of telerik controls for asp.net ajax. The problem is we are not able to decrease the height of the combobox. Can any one tell me how to do the same.


Regards,
Avik
Veselin Vasilev
Telerik team
 answered on 01 Sep 2008
1 answer
115 views
My exporttopdf radgrid doesn't do anything.  I figured out I was missing the javascript on the ascx.  But now there is an issue calling it.

In the demo the ClientSettings has ClientEvents-OnRequestStart as an attribute.  I believe this is an error as intellisense can't see it and it throws a design and run-time error. Could you verify?

Thanks,

Chad
Shinu
Top achievements
Rank 2
 answered on 01 Sep 2008
10 answers
189 views
Hi telerik team.

Following the instructions i have found in the rtl demo... When i try to implament the solution and set my in my mastertableview dir=rtl the output and the whole behavior of the grid completely ignores the scenerio that says:

RadGrid supports right-to-left presentation. You merely need to set the Dir property for the MasterTableView/GridTableViews to "RTL".

RadGrid renders RadGridRTL_SkinName class when placed in element with dir set to "rtl". This further facilitates skinning RadGrid and providing RTL specific settings.

My problem is that when i view the source of my page i cannot find anywhere in my html that the grid is using the RadGridRTL_SkinName! its seems that control simply ignores this statement. 

Even viewing the html source of the demo listed above, there is no place that RadGridRTL_SkinName  class comes to use.

Please check this bug and get back to me.

Thanks,
Rasin Vadim.
Dimo
Telerik team
 answered on 01 Sep 2008
4 answers
243 views
I have some code similar to:

var oWnd = $find("<%=RadWindow1.ClientID%>");
oWnd.setUrl('Page1.aspx');
oWnd.show();

after window is closed, script is sometimes executed again:

var oWnd = $find("<%=RadWindow1.ClientID%>");
oWnd.setUrl('Page2.aspx');
oWnd.show();

When popup window is displayed a second time it briefly displays the contents for Page1.aspx before postback is completed and window is refreshed.

How do I avoid this?

I'd either want no contents to be shown in popup window until page has been fetched, or delay displaying popup until refresh has completed.

Did try DestroyOnClose as a way of clearing the previous results but this doesn't seem to work as $find returns null second time it is called.


Thanks
Keith
Georgi Tunev
Telerik team
 answered on 01 Sep 2008
2 answers
49 views
I have a grid in the edit mode. I dont see any lines. Before I used to see but I dont know what changed.

Can you suggest any place to check eg any property or.... so that I can check .

Shinu
Top achievements
Rank 2
 answered on 01 Sep 2008
3 answers
194 views
Is possible change the Prometheus menuitem navigate url from client side with javascript?
Peter
Telerik team
 answered on 01 Sep 2008
1 answer
125 views
I have a grid that I have the client side delete turned on for. How can I get a handle to all the items that the client deleted (client side) from the server side? When I loop through all the items of the MasterTableView, it still contains all the items including the ones that were removed on the client.

Thanks!
Vlad
Telerik team
 answered on 01 Sep 2008
1 answer
60 views
I have a data series bound to a sql query and display this as a pie chart - I'd like to be able to see the top n items (say 5 or 6) and have the remainder aggregated and shown as one slice labelled "other" - is there a standard way of achieving this or am I going to have to manipulate the data before binding?

Mark
Giuseppe
Telerik team
 answered on 01 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?