Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
54 views
Hello, 

I am trying to make a staff scheduling program, I am wondering if it is possible to get the hours across the top on a day view

screenshot :
http://i.imgur.com/I0Wj7.png 


I would like something similar to : 

====================================================================================

8am 9am 10am 11am 12am 1pm

Mike --------------------------------

Joe -------------------------------------------


====================================================================================
Peter
Telerik team
 answered on 17 Jan 2012
2 answers
107 views
Hi, I have a snippet like this
function ShowSuccessNotificationMessage(title, message) {
            var notifObject = $find("<%=RadNotification.ClientID %>");
            notifObject.set_title(title);
            notifObject.set_text(message);
            notifObject.show();
It works with 3.5 NET framework, but, I updated to 4.0, and doesn't work anymore.
I have the Telerik2011Q2 version

Notification markup is setted with LoadContentOn="EveryShow" (but I didn't need that property in 3.5).
Any idea?
Martin
Top achievements
Rank 1
 answered on 17 Jan 2012
0 answers
48 views
hi 
how can i add a combox for each binded  items in my Listview??

and also i wanna bind this comboboxes to a datalist 

can you please help me?

thanx
Best Regards
Pouya
Top achievements
Rank 1
 asked on 17 Jan 2012
1 answer
171 views

I would like to know the best way to utilise a radwindow for the following scenario.

in my application im setting a link to allow a user to mark where their location is on google maps. the google map is being loaded in a radwindow, im currently passing the record id and postcode to the map page via a querystring. is this the best way or is there an alternative?

where im having a problem is i want to include a button whereby the user clicks after moving the marker and this function will close the window and pass the parameters for id, postcode, lat + lng coordinates to the calling page.

the samples ive found are client side but i need the parameter values server side as i want to update a database record with the coorinates related to the location set by the user.

i also need a way to deal with the user closing the window via the x in the corner rather than my button. maybe a prompt?

so the main issue is, once the user clicks the button to close the window how do i get the values in my code-behind module?

Marin Bratanov
Telerik team
 answered on 17 Jan 2012
1 answer
144 views
I have an intranet site where anonymous access has been turned off.  When I try to use a web service to populate the scheduler I get an error: "You are not authorized to view this page due to invalid authentication headers"
How do I set the authorization header? Thanks
Peter
Telerik team
 answered on 17 Jan 2012
3 answers
109 views
Hello,

I want the GridView and DetailsView to have a default skin applied via the FormDecorator, but I do not want it to apply to the FormView.  Currently it appears that you have to have it apply to all three controls or none of them.  I would rather not have to set the skin on each control individually to accomplish this as I want the GridView and DetailsView to be dynamic and change by simply changing the default skin setting on the FormDecorator.

Lastly, the FormDecorator control in on my master page.  Is there anyway to accomplish excluding FormView from having the skin specified in the FormDecorator applying to it?

Thanks,
Ron
Ron
Top achievements
Rank 2
 answered on 17 Jan 2012
1 answer
72 views
I am using rad scheduler for fixing appointments for doctors.

markup of telerik
-----------------------

<

telerik:RadScheduler runat="server" ID="scheduleApp1" EnableDescriptionField="True" MinutesPerRow="10" onappointmentinsert="scheduleApp1_AppointmentInsert"> <Reminders Enabled="True" /> <WebServiceSettings><ODataSettings InitialContainerName=""></ODataSettings> </WebServiceSettings> </telerik:RadScheduler>

 


//--------------------------------code of first issue------------------

 

private void FillSchedule()

 

{

scheduleApp1.DataKeyField = "ID";

 scheduleApp1.DataStartField = "Start";

 scheduleApp1.DataEndField = "End";

 scheduleApp1.DataSubjectField = "Subject";

 scheduleApp1.DataRecurrenceField = "RecurrenceRule";

 scheduleApp1.DataRecurrenceParentKeyField = "RecurrenceParentID";

 ResourceType rt = new ResourceType("Doctors");

 rt.DataSource = objbl.GetDoctors();

 rt.KeyField = "emp_id";

 rt.ForeignKeyField = "emp_id";

 rt.TextField = "Emp_Name";

 scheduleApp1.ResourceTypes.Add(rt);

 scheduleApp1.GroupBy = "Doctors";

 scheduleApp1.DataSource = objdb.GetAppointments(scheduleApp1);

 

}


But none of the  appointments I saved in db are populating in the scheduler.

Please help..Urgent..
Peter
Telerik team
 answered on 17 Jan 2012
1 answer
80 views
Hello.

I have implemented the client-side event OnClientAppointmentDataBound to set property cssClass of RadScheduler appointments:

function AppointmentDataBound(sender, args)
{
    var app = args.get_appointment();
    if (app.get_attributes().getAttribute("RegisteredMembers") != "")
    {
        app.set_cssClass("rsCategoryYellow");
    }
}

If the custom attribute "RegisteredMembers" is not empty, property cssClass is set accordingly.
The problem is that, differently from the RadScheduler screen shot displayed on page http://www.telerik.com/help/aspnet-ajax/scheduler-appearance-setting-appointment-style.html, the border of the appointments are not set to yellow; only the background of the appointments are (see attachment).

What am I missing?

Thank you.
Paulo
Peter
Telerik team
 answered on 17 Jan 2012
1 answer
151 views
i added RadAjaxPanel inside RadNotification content template to load control.ascx at runtime but it had an error "Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors()."

and i used updatepanel too, it loaded the control.ascx ok but when i clicked the button inside control.ascx it disappeared !!!


so is there anyway to use RadNotification as control container and loading ascx at runtime?
Marin Bratanov
Telerik team
 answered on 17 Jan 2012
2 answers
127 views
Hi ,

I need some custom changes to be done on the current  RadCombo features:
1. Assuming I have a RadCombo with checkboxes and the list of items are
[ ] No Preferences
[ ] Product 1
[ ] Product 2
[ ] Product 3

When I check No Preferences (Index 0) , All already selected Items should be unchecked... Conversely, If I check One of the item from Product 1 - 3, It should uncheck No Preference.

2. Also, When I click on the Description, it should check and uncheck the checkbox...

3. The CheckedItemsText when It is "Display All In Input"... I need to show the whole String as long as it would fit within the Width of the Combo and if it exceeds certain length, I would like to truncate the string and append "..." at the end

Can anyone point me to where I can find information on how to access the checked elements, the CheckedItemText property within the RadCOmbo to achieve such a requirement using ClientSide Javascript?

Thanks
Kalina
Telerik team
 answered on 17 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?