Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
98 views
Is this no longer supported out of the box?  I just want to do automatic sorting by multiple columns.  This used to work in older versions of the grid.
Pavlina
Telerik team
 answered on 18 Jan 2011
4 answers
69 views
Hi 

 I am having drop down list in my page has all the month names.
If i click on the month based on that rad calendar should display..
Could you please tell me how to do?
Maria Ilieva
Telerik team
 answered on 18 Jan 2011
3 answers
98 views
Hi!

I have a checkbox inside a templatecolumn

<telerik:GridTemplateColumn>
   <HeaderTemplate>
       <input onclick="CheckAll(this);" type="checkbox">
   </HeaderTemplate>
   <ItemTemplate>
       <asp:CheckBox ID="cbApproved" runat="server" />
   </ItemTemplate>
</telerik:GridTemplateColumn>

Now, in the UpdateCommand of the Grid, I would like to access the CheckBox from the ItemTemplate. This is because when you go into Edit Mode, the column for the CheckBox is still visible and clickable. So I woul like to check if the user has changed this value.

Id this is not posible, is it possible to lock the checkbox for the ItemTemplate when in edit mode?
Pavlina
Telerik team
 answered on 18 Jan 2011
6 answers
133 views
I am wanting a panelbar within a panelbar but when i do this the panelbar within wont expand is there a way round this ? thanks
JedF
Top achievements
Rank 1
 answered on 18 Jan 2011
3 answers
114 views
Hi,

We are using 2008.3.1314.35 version for our app.
For all versions after that, the look and feel of grid has completely changed. Is there any easier fix to get the same look and feel as we are not able to use the new version for the same reason.

Thanks.
kachy
Top achievements
Rank 1
 answered on 18 Jan 2011
1 answer
183 views
1) I'm succeeded to show Radchart as a template column in Radgrid and Series Orientation="Horizontal". here  I want to display time interval (half hour difference (0,0:30,1:00)) in X axis, for this, I followed your code snippet  chart.Series(0).Add Item(Date Time.Now.Hour Mod 30) and it is displaying from 0 to current time with interval 2 hours.
2)I dont want to display Y axis values.
The above one is stacked rad chart.

3) Based on the time value from database I need to change color on stacked bar at particular place with exact time value in X axis.

Could you please suggest me how to achieve it and would be appreciate if you provide some example

Evgenia
Telerik team
 answered on 18 Jan 2011
3 answers
311 views
Hello All,
I am using radscheduler to set the appointments. All functionality has been done and working fine for simple appointments. As I tried to set up the recurring appointment appointments are generated and gets displayed on the radscheduler but when the page is refreshed on the currents date occurence gets displayed. While all this functinality was going good in my demo project but in the live application its not working? I am unable to understand the problem. Here I am giving my database structure and rad scheduler description.

<
telerik:radscheduler id="RadScheduler1" runat="server" datadescriptionfield="Description"
    dataendfield="End" datakeyfield="AppointmentId" datarecurrencefield="RecurrenceRule"
    datarecurrenceparentkeyfield="RecurenceParentId" datasourceid="SDSAppointments"
    datastartfield="Start" datasubjectfield="Subject" enabledescriptionfield="True"
    customattributenames="FlightHours,GroundHours,Comments,IsInactive,IsDelivered,IsEdited,IsDeleted"
    enablecustomattributeediting="True" allowdelete="False" onclientformcreated="OnClientFormCreated"
    onappointmentinsert="RadScheduler1_AppointmentInsert" onappointmentupdate="RadScheduler1_AppointmentUpdate">
<ResourceTypes>
 <telerik:ResourceType DataSourceID="SDSStudents" ForeignKeyField="CustomerId" 
 KeyField="CustomerID" Name="Students" TextField="StudentName" />
 <telerik:ResourceType DataSourceID="SDSLessons" ForeignKeyField="LessonTypeId" 
  KeyField="CategoryID" Name="Lessons" TextField="Name" />
 </ResourceTypes>
 </telerik:radscheduler>
Appointment Table
AppointmentId int
Subject nvarchar(50)
Start datetime
[End] datetime
LessonTypeId int
InstructorId int
CustomerId int
RecurrenceRule nvarchar(1024)
RecurenceParentId int
Description nvarchar(MAX)
IsInactive tinyint
IsDelivered tinyint
IsEdited tinyint
IsDeleted tinyint
FlightHours decimal(18, 0)
GroundHours decimal(18, 0)
Comments nvarchar(MAX)
 I am unable to understand the error.

Please reply as soon as possible.

Thanks,
Roshani
Peter
Telerik team
 answered on 18 Jan 2011
1 answer
105 views

Hello, I am migrating a control from GridView to RadGrid. With GridView, I was able to extend the GridViewRow class:

Public Class GridViewSearchRow
Inherits GridViewRow
          
    ReadOnly Property SearchValueEntry As ISearchValueEntry
        Get
            Return FirstChildControl(Of ISearchValueEntry)()
        End Get
    End Property
  
    Public Sub New(…)
        MyBase.New(…)
    End Sub
  
End Class

In its containing grid (an extension of GridView), I was able to instantiate my custom row by overriding GridView’s CreateRow function:

Protected Overrides Function CreateRow(…)As GridViewRow
  
    If rowType = DataControlRowType.DataRow Then
        Return New GridViewSearchRow(…)
    Else
        Return MyBase.CreateRow(…)
    End If
  
End Function


In Telerik, I am able to extend the GridDataItem class:

Public Class RadSearchRow
Inherits GridDataItem
  
    ReadOnly Property SearchValueEntry As ISearchValueEntry 
        Get
            Return FirstChildControl(Of ISearchValueEntry)()
        End Get
    End Property
  
    Public Sub New(…)
        MyBase.New(…)
    End Sub
  
End Class

 

 

Is there a similar way to ensure that all objects in the .Items() collection are added as RadSearchRow? I’ve noticed that the RadGrid’s GridDataItems are created within the CreateChildControl() sub, but since CreateChildControl() isn’t a function (like GridView’s CreateRow) I’m not sure how to mimic it.

Thank you very much.

Maria Ilieva
Telerik team
 answered on 18 Jan 2011
5 answers
571 views
I am looking to change style for treeview which has office 2007, the matter is that I wanna change the expand/collapse button (the small + or - sign) to something triangle shape (as windows 7 skin), so how to do that?

and I want when I click to child root, the parent root should be highlighted in same effect as child...

he is how the changing should be (I have drawn then in photoshop):
Yana
Telerik team
 answered on 18 Jan 2011
1 answer
54 views
Hello all,

I am using IE8.

I have the following lyperlink in the editor:


I want to modify it using the LinkManager so the result will be as follows:


To do so, I selected the link and loaded the LinkManager. Then, I simply changed the URL to [http://www.someotherwebsite.com] and clicked OK (linkmanager1.jpg). Surprisingly, the markup still points to http://www.yahoo.com (linkmanager2.jpg).

This is working as I expect in IE7. Do you have any idea how can I fix this in IE8?  I am using Telerik version 2009.3.1314.35.

Thanks,
Rez

Rumen
Telerik team
 answered on 18 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?