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

[Solved] ajax method

1 Answer 110 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Ormando Gomez
Top achievements
Rank 1
Ormando Gomez asked on 15 Jul 2009, 05:32 PM
Hi
 i already submitted many request for this ajax method is not working,
breakpoint is not going into the method which is given below

protected

 

void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)

 

{

 

// RadScheduler1.ShowInlineInsertForm(ParseJavaScriptTime(e.Argument).AddHours(8));

 

RadScheduler1.SelectedView =

SchedulerViewType.DayView;

 

RadScheduler1.SelectedDate = ParseJavaScriptTime(e.Argument);

}

 

private DateTime ParseJavaScriptTime(string jsTime)

 

{

 

DateTime result = DateTime.ParseExact(jsTime, "yyyyMMddHHmm", null, DateTimeStyles.AssumeUniversal);

 

 

return result.ToUniversalTime();

 

}


inistialized

 

this.RadAjaxManager1.AjaxRequest += new RadAjaxManager.AjaxRequestDelegate(RadAjaxManager1_AjaxRequest);

 

 

this.RadAjaxManager1.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(RadAjaxManager1_AjaxRequest);

 


i tested both initialized but not working

regards

imtiyaz
 

1 Answer, 1 is accepted

Sort by
0
Veselin Vasilev
Telerik team
answered on 16 Jul 2009, 07:42 AM
Hello Ormando Gomez,

Can you tell us where and how do you call the ajaxRequest client-side method of RadAjaxManager?
It will fire the server AjaxRequest event.

Greetings,
Veselin Vasilev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Scheduler
Asked by
Ormando Gomez
Top achievements
Rank 1
Answers by
Veselin Vasilev
Telerik team
Share this question
or