Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
151 views
I see that Telerik controls already support Jquery, but how much of that functionality is used when using a telerik control?  How much more benefit can be gained by actually using a Jquery plugin in addition to the latest version of the telerik control?  (Controls that I have already used are:  RadGrid, RadAjax, RadDatePicker, radtreelist to name a few.

Thx.

Chris @ Intrinsic
Top achievements
Rank 1
 answered on 28 Sep 2011
2 answers
114 views
Hi,

I am adding panel items programatically. The items have image and text and  I can set the image to the left or right of the text. Is there a way to have the image on the top and the text below it. Are there any examples for this.

Thanks
RJ
Top achievements
Rank 1
 answered on 28 Sep 2011
2 answers
105 views
Hi guys,
Is there any way with which i can have XML values as fields into rad filter..? 

Thanks In advance..!!!
KIRAN RAJ
Top achievements
Rank 1
 answered on 28 Sep 2011
2 answers
142 views

I've implemented Telerik scheduler on timeline view. I am allowing a M:M relationship between my y-axis resource (advocates) and Meetings. Here is what my scheduler looks like:

Timeline View

When I double click one of the instances of the meeting, the advanced edit dialog appears. However, in here, none of the advocates are selected as participants in the meeting:

Advocate Resources - edit meeting dialog

There are a number of advocates for whom this meeting appears in the timeline. Why do they not get displayed as selected in the edit form?

The problem doesn't end there. I have a second type of resources (legislators). There is a similar problem here - I have relationships defined for this meeting and 4 legislators, but only the first legislator is checked (and the other three remain unckecked):

Legislator Resources - edit meeting dialog

I need to add two other types of resources, and I expect that I will have a similar problem to the two I have already added.

I have been able to verify visually by changing the grouping of my scheduler and through SQL queries that the relationships in the database are valid. So, why am I unable to see each of these related resources checked? My scheduler code is as follows:

<telerik:RadScheduler runat="server" ID="RadScheduler1"
    AdvancedForm-Enabled="true"
    AllowEdit="true"
    AllowInsert="true"
    DataEndField="End"
    DataKeyField="ID"
    DataSourceID="EventsDataSource"
    DataStartField="Start"
    DataSubjectField="Subject"
    DayEndTime="17:00:00"
    DayStartTime="07:00:00"
    EnableAdvancedForm="true"
    Localization-HeaderMultiDay="Work Week"
    OverflowBehavior="Expand"
    OnAppointmentDelete="OnAppointmentDelete"
    OnAppointmentInsert="OnAppointmentInsert"
    OnAppointmentUpdate="OnAppointmentEdited"
    OnNavigationComplete="RadScheduler1_NavigationComplete"
    SelectedDate="9/20/2011"
    SelectedView="TimelineView"
    >
    <AppointmentContextMenuSettings EnableDefault="true" />    
    <AdvancedForm Modal="true" />
    <ResourceTypes>
        <telerik:ResourceType KeyField="Adv_AdvocateID" AllowMultipleValues="true" Name="Advocate" TextField="Adv_FullName" ForeignKeyField="Adv_AdvocateID"
            DataSourceID="AdvocatesDataSource" />
    </ResourceTypes>
    <ResourceTypes>
        <telerik:ResourceType KeyField="Leg_LegID" Name="Legislator" AllowMultipleValues="true" TextField="Leg_FullName" ForeignKeyField="Leg_LegID"
            DataSourceID="LegislatorsDataSource" />
    </ResourceTypes>
    <TimelineView UserSelectable="true" GroupBy="Advocate" GroupingDirection="Vertical" />
    <MultiDayView UserSelectable="false" />
    <DayView UserSelectable="false" />
    <WeekView UserSelectable="false" />
    <MonthView UserSelectable="false" />
</telerik:RadScheduler>


I'm hoping someone can shed some insight into how to correctly display the selected resources in the edit appointment dialog, and I thank you in advance for your help.

Peter
Telerik team
 answered on 28 Sep 2011
2 answers
102 views
Hello
I would like to know how to change the Update Cancel linklabels format when I'm editing a record? I would like to make them bigger for example. Or to make the space between both linklabels bigger. Does it have a way to do this?
Thank you
Steve
Top achievements
Rank 1
 answered on 28 Sep 2011
1 answer
210 views
Just upgraded from .712 to .915 and noticed an interesting new behavior.  I have a RadEditor inside a RadMultiPage with a RadTabStrip. All that's inside a RadPane.  I just RadAjaxManager to load most of this stuff dynamically.

The editor is on the second tab.  If I refresh RadPane and have the tab strip default to the first tab, when I switch to the second tab the editor looks fine.  But if the refresh makes or leaves the second tab active (so that the editor is there after the ajax call) it looks all messed up.  Attached is a sample.
Dobromir
Telerik team
 answered on 28 Sep 2011
2 answers
240 views
Hi,

I am using a grid with a button that opens a modal popup window. When I click the button the grid is overlayed, but not the entire screen - just the grid. Then when the popup opens the rest of the screen is overlayed.
How can I control the first overlay and make it overlay the entire screen, directly when the user clicks on the button?

Excerpt from my page:

 <telerik:GridEditCommandColumn UniqueName="actionsCommandColumn" EditText="Go" ButtonType="PushButton" HeaderStyle-CssClass="RadGridHeaderStyle">
                          <HeaderStyle Font-Bold="True" Width="9%" />
                        </telerik:GridEditCommandColumn>
                    </Columns>
                    <EditFormSettings EditFormType="WebUserControl" PopUpSettings-Modal="true" UserControlName="CustomControls\QuoteAndPolicyActions.ascx"
                        CaptionFormatString="Select an Action">
                        <EditColumn UniqueName="EditCommandColumn1" FilterControlAltText="Filter EditCommandColumn column"
                            Visible="false">
                        </EditColumn>
                    </EditFormSettings>


Thanks for your help,
Nicolas




Nicolas
Top achievements
Rank 1
 answered on 28 Sep 2011
2 answers
108 views
Hi Telerik,

RadEditor ToolProviderID has error on js with RadAjaxPanel when post-back (on FireFox 6, IE 9 and Chrome),
I used ToolProviderID follow demo: http://demos.telerik.com/aspnet-ajax/editor/examples/toolprovider/defaultcs.aspx.
Everthing ok, but when I add an AjaxPanel and post-back form, the error occurred, ToolBar cannot load with others editor below

I wrote an demo with that error, please download link below and check it,

http://www.mediafire.com/?5i0uincm6kwnd

Thanks


Dobromir
Telerik team
 answered on 28 Sep 2011
1 answer
167 views
I am currently looking at the following demo,

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/hierarchy/defaultvb.aspx

Which show how to build a hierarchial grid programmaticaly.  The problem I have is that I wish to use a datatable populated from a stored procedure for the grids.  I have tried the following,

Private Sub Page_Init(ByVal sender As Object, ByVal e As EventArgs) Handles MyBase.Init
    buildGrid()
End Sub
 
Sub buildGrid()
 
    Dim state As String = drp_state.SelectedValue
    If state = "" Then
        state = 0
    End If
 
    Dim dt As DataTable = myDataAccessClass.data1(param1, param2)
    Datasource = dt
    GridDataKeyNames = "ID"
    ' masterTableCreation builds and adds the columns, no issue with this.
    masterTableCreation()
 
    Dim dtSub As DataTable = myDataAccessClass.data1(param3)
    hierarchyTable(dtSub, "", "ID", "ID")
 
End Sub
 
 
Public Sub hierarchyTable(ByVal dt As DataTable, ByVal datakeys As String, ByVal masterKeyField As String, ByVal detailKeyField As String)
 
 
    Dim hierarchyTable As New GridTableView(RadGrid1)
    ' set the datasouce
    hierarchyTable.DataSource = dt
    hierarchyTable.Width = Unit.Percentage(100)
 
    Dim datakeysArray() As String
    If datakeys <> "" Then
        datakeysArray = datakeys.Split(",".ToArray())
        hierarchyTable.DataKeyNames = datakeysArray
    End If
 
    Dim relationFields As GridRelationFields = New GridRelationFields()
    relationFields.MasterKeyField = masterKeyField
    relationFields.DetailKeyField = detailKeyField
    hierarchyTable.ParentTableRelation.Add(relationFields)
    RadGrid1.MasterTableView.DetailTables.Add(hierarchyTable)
 
    'add columns
    Dim boundColumn As GridBoundColumn
 
    hierarchyTable.Columns.Clear()
 
    For i As Int32 = 0 To Datasource.Columns.Count - 1
        Dim column As DataColumn = Datasource.Columns(i)
 
        Dim colDataType As String = column.DataType.ToString().ToLower().Replace("system.", "")
 
        boundColumn = New GridBoundColumn
        hierarchyTable.Columns.Add(boundColumn)
 
        boundColumn.DataField = column.ColumnName
        boundColumn.HeaderText = column.ColumnName.Replace("_", " ").ToLower()
 
        boundColumn.DataFormatString = "<nobr>{0}</nobr>"
        boundColumn.ItemStyle.HorizontalAlign = HorizontalAlign.Left
 
    Next
 
End Sub



<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" AllowSorting="True" AllowPaging="True" PageSize="5" GridLines="None" ShowGroupPanel="True">
    <MasterTableView AllowMultiColumnSorting="True" GroupLoadMode="Server">
    </MasterTableView>
    <PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle>
    <ClientSettings AllowDragToGroup="true" />
</telerik:RadGrid>


The grid will expand to show the child table, however with no data.  Any pointers would be much appreciated.
mabs
Top achievements
Rank 1
 answered on 28 Sep 2011
1 answer
93 views
Hi,

There is some performance issue when i try to create columns around 50 columns in radgrid. The columns are created dynamically.
There no issues with the backend database query, i check it.

Please let me know how can i tune up the performance if there around 50 columns in radgrid.   

Thanks
Petrofac
Pavlina
Telerik team
 answered on 28 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?