Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
48 views
How to get the expression in my button event instead of apply button?
Eyup
Telerik team
 answered on 07 Sep 2012
2 answers
94 views
Hi,
I'm using the techniques described here in order to use RadWindow as insert/edit dialog for RadGrid.

Now, I have several pages with this code, so I'm concerned about having to repeat the same code for all pages; I'm wondering if I can put the JavaScript code into two separate files, one for the page with the RadGrid and one for the page showed with the RadWindows in order to optimize page load and simplify pages maintenance.

Any suggestion and/or sample code will be greatly appreciated.Thank you.
John Swenson
Top achievements
Rank 1
 answered on 07 Sep 2012
1 answer
135 views
Hi All,

In Rad Scheduler we are able to show Day Start Time and Day End Time on left side of the scheduler, But i need to show this on both sides of the scheduler.

How can we show this show Day Start Time and Day End Time both sides of the scheduler?

Thanks,
Madhan
Plamen
Telerik team
 answered on 07 Sep 2012
1 answer
70 views
Hi,
Here, I am trying to execute radeditor command from another button control which is outside the the editor toolbox. So, I am able to execute the commands but the issue is, when we select some/all text in the editor and try to click button to apply some formatting the highlight/selection of text is clear. but when we do the same thing on Chrome, firefox, safari it works well.

To re-produce the issue, 

  1. Create a new page 
  2. Add two RadEditor controls 
  3. Run the application on IE
  4. Enter text into first editor and select some part of text
  5. Now, move to second editor. 
  6. See, the selection is lost.
  7. Now, Run application on Chrome and repeat 4 & 5.
  8. See, Selected text is still highlighted.

Or, you can test to select text in  http://mono.telerik.com/Editor/Examples/ToolbarMode/DefaultCS.aspx 

See the attached file for expected behaviour from IE. The snapshot is taken from Chrome.
Please look into the issue.

Regards,
Aditya Kumar
Marin Bratanov
Telerik team
 answered on 07 Sep 2012
7 answers
137 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
236 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
73 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
93 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
137 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
112 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?