Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
121 views
Hi,

I am having Rad Grid, which has a child grid inside, Click on particular row in the parent Grid, I am displaying child Grid. I want to Export the entire Grid with expanded child grid to PDF. I tried the samples given in the Telerik forums, 

On Button Click Event:

grid.ExportSettings.ExportOnlyData =

true;

 

grid.MasterTableView.HierarchyDefaultExpanded =

true;

 

grid.MasterTableView.ExportToPdf();


I am getting following error:

System.SystemException: At least one of minimum, optimum, or maximum IPD must be specified on table.
  at Telerik.Web.Apoc.ApocDriver.FireApocError(String message)
  at Telerik.Web.Apoc.Fo.Flow.Table.SetIPD(Boolean bHasProportionalUnits, Int32 maxAllocIPD)
  at Telerik.Web.Apoc.Fo.Flow.Table.CalcFixedColumnWidths(Int32 maxAllocationWidth)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
  at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more

Can anyone help me on this.

Thanks, Malli
Daniel
Telerik team
 answered on 17 Dec 2009
2 answers
227 views

We are using a third party control to develop the scheduler functionality in our application. But with that we are not able to show the appointments in a different color based on the appointment status. I have seen your online Demos and I saw RadScheduler is a perfect suit for our requirements.

We had recurring appointments and we were rebinding our control to the datatable on the next day or previous day button click events.

RadScheduler was not showing anything even I have an appointments exists for next day/previous day.  I tried rebinding the datatable to the Scheduler from RadScheduler1_NavigationCommand Event but it still showing nothing.  Is there anyway that I can make this workout without using DataRecurrenceField and DataRecurrenceParentKeyField ?

 

 

Harsh Mehta
Top achievements
Rank 1
 answered on 17 Dec 2009
2 answers
143 views
Good Afternoon,

I am trying to wire up the ItemDataBound event of the RadListView control and encountering issues doing so. Let me describe the situation.

I am building a custom Sharepoint webpart that loads a control from an aspx page using Page.LoadControl. The loaded aspx page contains the RadListViewControl whose events I wish to wire up.
_ctrlGoogleCalendarSubscriptions = Page.LoadControl("/_controltemplates/NUGoogleCalendarSubscriptions.ascx");  
 

To wire up the event I call;

 

 

 

_radCalendarListView.ItemDataBound += new EventHandler(this.radCalendarListView_OnItemDataBound);  
 

I do this in the CreateChildControls method.

 

 

However when I compile I recieve the error "No overload for 'radCalendarListView_OnItemDataBound' matches delegate 'System.EventHandler'"

The method I am passing is below,

 

        protected void radCalendarListView_OnItemDataBound(object sender, Telerik.Web.UI.RadListViewItemEventArgs e)  
        {  
        } 

I am able to wire up the DataBinding event without issue.

Am I missing something, is this not possible with the Rad Controls when loaded in this fashion?

Please let me know if you need any further details at all.

Regards,

Christian Brown
Christian
Top achievements
Rank 1
 answered on 17 Dec 2009
2 answers
191 views
I have a grid that is subclassed from the telerik grid control. It is declared like this on the page

ID

 

="NotarySearchResultsGrid" runat="server" AutoGenerateColumns="false" OnNeedDataSource="NotarySearchResultsGrid_NeedDataSource"

 

 

OnItemCommand="NotarySearchResultsGrid_ItemCommand" AutoGenerateDeleteColumn="false" AutoGenerateEditColumn="false"

 

 

AllowDelete="false" AllowEdit="false" AllowInsert="false" AllowSorting="true"

 

 

ShowViewDetailsCommandColumn="false"

 

 

AllowPaging="true" PageSize="100" PagerStyle-Position="Bottom" PagerStyle-Mode="NextPrevAndNumeric"

 

 

>

 

 

<MasterTableView DataKeyNames="CommissionNumber" CommandItemDisplay="None" >

 

 

<Columns>

 

 

<telerik:GridButtonColumn HeaderText="Commission #" UniqueName="CommissionNumberColumn" ButtonType="LinkButton" DataTextField="CommissionNumber"

 

 

CommandName="CommissionSelected" SortExpression="CommissionNumber" ></telerik:GridButtonColumn>

 

 

<telerik:GridBoundColumn HeaderText="Name" UniqueName="NotaryNameColumn" DataField="Name" SortExpression="Name"></telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Address" UniqueName="AddressColumn" DataField="Address" SortExpression="Address"></telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="City" UniqueName="CityColumn" DataField="City" SortExpression="City"></telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Zip" UniqueName="ZipColumn" DataField="Zip" SortExpression="Zip"></telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="County" UniqueName="CountyColumn" DataField="County" SortExpression="County"></telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn HeaderText="Status" UniqueName="StatusColumn" DataField="Status" SortExpression="Status"></telerik:GridBoundColumn>

 

 

</Columns>

 

 

<NoRecordsTemplate>

 

 

<div>

 

No records to display.

 

</div>

 

 

</NoRecordsTemplate>

 

 

</MasterTableView>

 


However, when the grid displays, there is an extra column at the end of the grid. Looks like a hyphen or the beginning of an underline in the column header area but no data in the column. Using the IE dev toolbar, I'm able to see tha tthe UniqueName for this column is DeleteCommandColumn. Both AllowDelete and AllowAutoGenerateDelete columns are set to false in the code above. Is there another setting I can set too? Nothing jumped out at me.

Thanks,
Dennis
Dennis
Top achievements
Rank 1
 answered on 17 Dec 2009
2 answers
162 views
I want to create column header groups. and am not able to find an example of anything close to what I'm trying to do.

I need to group repeating set of columns, and the grid is resizeable, so it would be optimal to have these headers generated within the grid headers, but have no idea how this would be best accomplished.

I've attached a sample visual which I think will explain better than words.
Steve
Top achievements
Rank 1
 answered on 17 Dec 2009
6 answers
127 views
Hi,
Can we able to access the controls inside rad pannel from code behind.
Like asp pannel.
Thanks.
Eva

Eva Stephen
Top achievements
Rank 1
 answered on 17 Dec 2009
1 answer
149 views
I have a tabstrip on an .aspx page.  I have created a custom skin for this and set it during design time.  But during runtime, when the user clicks on a button on the page, I want to change the skin.  I want to do this in javascript. Right now, I am using javascript to change the background color of the tabstrip.  But the currently selected tab's background is not getting changed to the color of the background.  Could you please help?

Thanks,

MS
Schlurk
Top achievements
Rank 2
 answered on 17 Dec 2009
3 answers
122 views
Okay, so I just downloaded and installed the new version of the Rad controls.  When I open my web site projects, I can see all the new rad controls in the toolbox.  My problem is with one particular website (uses way older rad control version), none of the rad controls are in the toolbox whatsoever.  I even go into the choose items and find the web.UI, but nothing shows up.  I also ran the toolbox program in telerik and still nothing shows up.  So, I find it really strange that all the new controls are showing up in most of my websites and not this one.  any ideas or suggestions as to why this is happening?
Sebastian
Telerik team
 answered on 17 Dec 2009
1 answer
62 views
Hi,

I am facing performance issues in telerik controls. major controls that i have used are Radtextbox, Radgird, radcombobox, radwindow.
These controls are taking too much time to load and bind. when i replace them by normal controls the performance was fine.
any solution to this problem?
is there any way of enhancing performance using telerik controls?
Pavlina
Telerik team
 answered on 17 Dec 2009
4 answers
151 views
Hi,

As i'm getting weird design errors , telling cannot load assembly, cannot generate designer,
telerik[a] cannot be cast into telerik[b].
 So,I deleted some telerik.web.ui.dll , copied from somewhere. but no use. i read many blogs for 2 days and I'm really tired of trying anything. My project deadline is very close.

Can i go ahead and delete my radcontrols at( c:/programfiles/telerik/RadControls for ASP.NET AJAX ....
and  download them again. because i think that my help me .

But if i delete all  references and download the trial version in my system with the latest release now, will it solve my problem

Note: many ppl are in my project and they all have the old assembly refernce telerik.web.ui.dll version 2009.1.402.35.
The project has reference pointing to this 402.35 version. so , what may help my problem. I'm clueless. pls help me asap .

Should my colleagues too change therir refernce to my new reference or shall them have the  old refernce.
We're using the trial version.
Thanks,
ZR,
Adam
Top achievements
Rank 1
 answered on 17 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?