This is a migrated thread and some comments may be shown as answers.

Radschedular -Advance form controls

1 Answer 71 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
arockiasamy
Top achievements
Rank 1
arockiasamy asked on 28 Jun 2010, 08:48 AM
Dear,
How to access the controls , example subject textbox and description textbox found in scheduler Advanced Form (by clicking options). I would like to open in edit mode only (not insert mode) and assign some text in description textbox and subject textbox and date set. How to do?

the below code is not working (null object returned your reply)

Your reply
protected void RadScheduler1_FormCreated(object sender, SchedulerFormCreatedEventArgs e) 

if (e.Container.Mode == SchedulerFormMode.AdvancedEdit) 

  RadTextBox subtxt = (RadTextBox)e.Container.Controls[1].Controls[1].Controls[1].FindControl("SubjectText"); 
  subtxt.text = "Something"; 

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 28 Jun 2010, 04:52 PM
Hi arockiasamy,

Please, use the approach from this kb article:
http://www.telerik.com/support/kb/aspnet-ajax/scheduler/how-to-access-controls-in-the-advanced-form.aspx


Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
arockiasamy
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or