Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
107 views
Hi,

I have a page that contains a grid. The grid contains a formtemplate for use when editing an item in the grid. Inside the formtemplate I have an aspplaceholder control that will be populated with a table that contains other controls. I am able to get the controls to populate in the place holder and to also populate with data. When the update command event is fired and I try to pull the values from the placeholder control the placeholder states it contains no controls. Here is a sample of the aspx page code I am using and the C# code that is used in the update command event.

 

<div>

 

 

<asp:PlaceHolder id="phEdit" runat="server" />

 

 

</div>

 



if

 

(((PlaceHolder)e.Item.FindControl("phEdit")).Controls.Count>0)

 



I have placed the code to populate the placeholder control in the itemcreated and the itemdatabound methods of the datagrid, but it still loses its controls when using the updatecommand.

Thanks
Tsvetoslav
Telerik team
 answered on 07 Sep 2012
3 answers
225 views
Greetings,

I'm having trouble getting the Splitter/RadPane scroll to function correctly with Scheduler OverflowBehavior="Expand."  Basically I want the scheduler width=100% and the height to expand/contract as required by the content. 

So far I'm only able to get the scheduler's header to scroll in IE7.  The rest of the content remains fixed in place.  I've tried placing the scheduler inside a <div> with a set height as recommended in previous posts, but doesn't work.  Seems to work ok in Firefox.

Can you please post a simple working example with overflowbehavior=expand and radpane scrolling the schduler's content?

Thanks,

Gary.
Plamen
Telerik team
 answered on 07 Sep 2012
3 answers
65 views
I've been playing with the Scheduler and I've managed to get it working with a SQL database and using an Advanced Form. For some reason though when I close the form (either by clicking Save or Cancel) my Scheduler vanishes.

It save whatever I have done, but I have to refresh the page.

I've checked it against the demo and nearly everything in the .aspx page looks the same.
Boyan Dimitrov
Telerik team
 answered on 07 Sep 2012
4 answers
79 views
Hi
CAn we customize the grid header like this
See th attached image

Thanks
waiting for your reply

Hari
Pavlina
Telerik team
 answered on 07 Sep 2012
2 answers
121 views
I am getting this error when loading the asp.net page with RadEditor on it.
How to fix this?
Alexander
Top achievements
Rank 1
 answered on 07 Sep 2012
4 answers
95 views
I have a webpage with a RadScheduler but the recurring appointments are not showing up correctly.

A single appointment will show up with the recurrence symbol on it, ahd when I double click the appointment it will ask if i want to use just the single appointment or the series.  However, no other appointments show up, only the first.

I am using the same information in the database and also have a WinForms application that uses that Schedueler.  That information displays correctly.

I have a SQL database with as far as I can tell correct fields.
The Create Table Script:
/****** Object:  Table [dbo].[ScheduledTable]    Script Date: 08/30/2012 13:49:05 ******/
SET ANSI_NULLS ON
GO


SET QUOTED_IDENTIFIER ON
GO


SET ANSI_PADDING ON
GO


CREATE TABLE [dbo].[ScheduledTable](
[AppointmentID] [bigint] IDENTITY(1,1) NOT NULL,
[Subject] [varchar](max) NULL,
[StartTime] [datetime] NULL,
[EndTime] [datetime] NULL,
[Description] [varchar](max) NULL,
[RecurrenceRule] [varchar](max) NULL,
[ParentID] [varchar](200) NULL,
  CONSTRAINT [PK_ScheduledTable] PRIMARY KEY CLUSTERED 
(
[AppointmentID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]


GO


SET ANSI_PADDING OFF
GO

On the page load I have: 

  Dim AppointmentDT As DataTable = SQLRowToDt(ConnStr, "Select * From AppointmentTable Where EmployeeID = " & EmployeeID)


        RadScheduler1.DataSource = AppointmentDT
        RadScheduler1.DataKeyField = "AppointmentID"
        RadScheduler1.DataStartField = "StartTime"
        RadScheduler1.DataEndField = "EndTime"
        RadScheduler1.DataSubjectField = "Subject"
        RadScheduler1.DataRecurrenceField = "RecurrenceRule"
        RadScheduler1.DataRecurrenceParentKeyField = "ParentID"
        RadScheduler1.DataDescriptionField = "Description"

The RecurrenceRule in the database is: FREQ=DAILY;UNTIL=20120905T000000Z
The ParentID in the database is set to NULL

I have attached a screenshot of what the Appointment currently looks like.

Please let me know if you can help.

Thanks
Boyan Dimitrov
Telerik team
 answered on 07 Sep 2012
5 answers
608 views
Hi there I am quite new to telerik controls and am trying to get item labels to appear in the legend of my pie chart. Someone recently got fired and I have taken over this piece of work so I am not entirely sure exactly how this code works at the moment. Another problem I have is when the pie slices get to thin the labels for that slice appear away from the correct slice! I've turned on showlabelconnectors as without it its hard to see exactly where some labels belong. I have managed to get each colour of the pie chart listed in the legend but no names appear next to the legend which looks normal as from looking at the code I dont see anything which could possibly show the item names. I've attached an image below of the pie chart. Currently this is what code I have:

CourseGroupUsagePieChart.Chart.Series.Clear();
            CourseGroupUsagePieChart.PlotArea.XAxis.Appearance.LabelAppearance.RotationAngle = 270f;
            CourseGroupUsagePieChart.PlotArea.XAxis.AutoScale = true;
            CourseGroupUsagePieChart.CustomPalettes.Add(seriesPalette);
            CourseGroupUsagePieChart.SeriesPalette = "seriesPalette";

ChartSeries ySeries_Pie = new ChartSeries();
 ySeries_Pie.Appearance.LegendDisplayMode = ChartSeriesLegendDisplayMode.ItemLabels;
ySeries_Pie.Appearance.ShowLabelConnectors = true;

   foreach (TotalReport item in totalReportCourseGroupList)
            {
                // x-axis
                CourseGroupUsagePieChart.PlotArea.XAxis.AddItem(String.Format("{0} {1}", item.Name, item.Name));


                // y-axis
                ySeries_Pie.AddItem(item.TotalReportSummary.UsageSeconds, item.TotalReportSummary.UsageSeconds.ToString());
                //series.AddItem(item.TotalReportSummary.UsageSeconds, item.TotalReportSummary.UsageSeconds.ToString());
            }


            CourseGroupUsagePieChart.AutoLayout = true;
            CourseGroupUsagePieChart.AutoTextWrap = true;
            CourseGroupUsagePieChart.AddChartSeries(ySeries_Pie);

Here is the asp:
<telerik:RadChart ID="CourseGroupUsagePieChart"  runat="server" Width="700" Height="600" Skin="Vista" IntelligentLabelsEnabled="true" Appearance-LegendDisplayMode="ItemLabels" OnItemDataBound="CourseGroupUsagePieChart_ItemDataBound">
              
                <ChartTitle>
                <TextBlock Text="Course Group Usage - Top 10">
                </TextBlock>
            </ChartTitle>
            </telerik:RadChart>

I've crawled through examples and demos of radcharts and cant seem to find my answer :(. Please help it will be greatly appreciated
James
Top achievements
Rank 1
 answered on 07 Sep 2012
1 answer
46 views
How to change the HeadText of GridBoundColumn in edit mode?
Shinu
Top achievements
Rank 2
 answered on 07 Sep 2012
1 answer
217 views
Rad grid has a property called confirm text which is used to pop up a confirm dialog box.
eg.

 

 

<telerik:GridButtonColumn ConfirmText="Delete this Location?" ConfirmDialogType="RadWindow"

 

 

 

ConfirmDialogHeight="25px" ConfirmDialogWidth="250px" ConfirmTitle="Delete" ButtonType="ImageButton"

 

 

 

CommandName="Delete" />

 

Confirm dialog box has two button submit and cancel.
By default when popup open, focus is on submit button. Could you tell me how to change the focus to cancel button.

Thanks
Yogesh.
Shinu
Top achievements
Rank 2
 answered on 07 Sep 2012
4 answers
119 views

I'm using this control ,
<telerik:radbutton enablesplitbutton="true"

i feel that is look like drop down list ,
i want to look like button view ,
how i achieve that ..

Thanks Advance,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 07 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?