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

I've got a splitter control with two panes (leftPane & rightPane with a split bar in the middle).  I'm wondering if it's possible to:
a) Access a button on the left pane from the codebehind on the main page the splitter is on.
b) Access a button on the left pane from the code for the content of the rightPane.

Svetlina Anati
Telerik team
 answered on 05 Jun 2008
1 answer
221 views
Hi all,
I have a page (A) that uses a Response.Redirect method to redirect to a second page (B). On page B in the page load I have code that sets a viewstate to Request.UrlReferrer.ToString().
The page errors out on load with a "Object reference not set to an instance of the object" error.
I assume it has to do with the redirect using the AspNet Ajax on page A.
Any ideas on how to fix this so I can use UrlReferrer?

Thanks in andvance

Best regards,
Flavio
Steve
Telerik team
 answered on 05 Jun 2008
5 answers
482 views
I would like to align the XAxis labels to the right (against the bottom of the graph). Here I have some labels which are shorter in length and some very lengthy labels. I am using MaxLength property of ChartAxis Item to limit the no of characters within the label. Still I would like to align the labels which are shorter than this MaxLength to the right (i.e against the bottom of the graph). When I mention
RadChart1.Plotarea.XAxis.Appearance.Dimensions.Margins.Top= someval;
the same margin is applied to all xaxis labels. I would like this margin to be different for different chart axis items. How to achieve this functionality?
Giuseppe
Telerik team
 answered on 05 Jun 2008
1 answer
84 views
Hi,

we use full version of rad editor version 4.5.3.0.

We try to include video material with media manager in WCM content (not in lists, as asked in other threads in this forum).

However, in Edit-Mode the video is shown. When saving or checkin in, the video is lost.

We tried to set  <property name="AllowSpecialTags">True</property> in the config file, but get this error message: Configuration File provided is not valid. Invalid entries: AllowSpecialTags ...

How do we get this fixed?

Regards,

Robert Tullius
George
Telerik team
 answered on 05 Jun 2008
7 answers
156 views
Hi,

I am trying to use the RadChart conrtol from Promethues in each cell of the RadGrid from RadControls. Basically my grid has 8 columns and upto 50 rows. each cell would contain a text and a datagram(bar chart). I am new to RadChart control and I would like to get an example of accomplishing my need from Telerik. Example in VS 2008 would be appreciated. Also I am wondering the performance of this approach.

Thanks
Sub
Ves
Telerik team
 answered on 05 Jun 2008
1 answer
135 views
Hi,

I'm using Radeditor Full for Sharepoint. Is it possible to integrate the RadEditor into the Content Editor Webpart? And if, how.

Thanks for help,
Falk
George
Telerik team
 answered on 05 Jun 2008
1 answer
144 views
Hi all,
I would like to use the tooltip control to display a dictionary definition of a any word within a panel.  So, when the user double clicks on a word, the tooltip queries a webservice and grabs the definition of the clicked word.  Is this doable, or am I going down the wrong path?
Georgi Tunev
Telerik team
 answered on 05 Jun 2008
1 answer
107 views
Hi all,
i'm using version 2008.1.515 of control and i have see that new methods and old methods are both present on client-side object.

It's correct? What should I use?

Thanks,
Flavio



Georgi Tunev
Telerik team
 answered on 05 Jun 2008
2 answers
182 views
Hello - I've been fussing with this a bit and I just can't seem to figure out what's going on.

I'm using an ASP.NET AJAX Tool Kit TabContainer and on an initial non-visible tab, I have the scheduler control  The problem I'm experiencing is that initially the Scheduler only shows one hour on the day calendar.  As soon as I move forward or back days or switch view types, it resizes and shows full schedule.

Any thoughts of what I can try?

Thanks in advance

Kevin D. Wolf
Tampa, FL
Kevin Wolf
Top achievements
Rank 1
 answered on 05 Jun 2008
2 answers
153 views
I'm using RadControls for ASPNET AJAX Q1 2008 and I have discovered a problem with the RadGrid and lists of custom objects. Suppose that you define these classes:

Public 

Class Parent

Private _Cusip As String

Public

Property Cusip() As String

Get

Return _Cusip

End Get

Set(ByVal value As String)

_Cusip = value

End Set

End Property

Public Sub New()

End Sub

End 

Class

Public 

Class Child1

Inherits Parent

Public Sub New()

End Sub

End 

Class

 

Public

Class Child2

Inherits Parent

Public Sub New()

End Sub

End

Class


And suppose that you create a grid like this:

<

telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="false" AutoGenerateColumns="false"

 CellPadding="2" CellSpacing="1" BorderWidth="0px" Width="500px" ShowFooter="True" OnNeedDataSource="GetData" >

 <MasterTableView >

 <Columns>

 <telerik:GridBoundColumn

HeaderText="Cusip"

 DataField="Cusip"

 ReadOnly="True" />

 </Columns>

 </MasterTableView>

 </telerik:RadGrid>

And the GetData method is defined like this:

Protected Sub GetData(ByVal sender As Object, ByVal e As GridNeedDataSourceEventArgs)

 Dim list As New List(Of Parent)

Dim a As New Child1

Dim b As New Child1

Dim c As New Child2

a.Cusip = "a"

b.Cusip = "b"

c.Cusip = "c"

list.Add(DirectCast(a, Parent))

list.Add(DirectCast(b, Parent))

list.Add(DirectCast(c, Parent))

RadGrid1.DataSource = list

End Sub

When you try viewing the page, you get the error "Unable to cast object of type 'Child2' to type Child1'."  However, if you change the code so that you add a, then c, and finally b to the list, the grid displays properly.

The problem is that when you have a list of objects of different types in the data source, the RadGrid assumes that if the first two objects are of the same type, then all of the objects are of that type. It then tries to cast all of the objects in the list to object of the first type encountered. However, if the first two objects are of different types, then it does not try casting the remaining objects to the first type. This error occurs even though the list is declared to be a list of objects of the parent type and the objects are cast to the parent type before they are added to the list.

Is a fix for this problem available?

M
Top achievements
Rank 1
 answered on 05 Jun 2008
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?