Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
80 views
Hi ,

I have a requirement like this.

I have booked one  slot ( room ) for perticular member  on 12/12/2010  3:00 PM     to 12/12/2010 5:00 PM. I will select these rooms  and members from perticular dropdown list and i  will insert appointment on the scheduler.

when i select  12/12/2010  3:30 PM     to 12/12/2010 5:00 PM same Room number and memberit should  give "Room already booked" message will come when i insert new appointment .

Can u help me this.

Thanks & Regards
Shashi....
shashidhar ch
Top achievements
Rank 1
 asked on 17 Dec 2010
1 answer
137 views
Hi All,
I have a RadGrid with KeyboardNavigationSettings to use up and down arrows. When I click on a row, a ServerSide event is launched (with C# codebehind), but when I select a row with arrows the event is not fired. I suppose it could be a normal behaviour, but how could I launch that specific event?
Maybe a clientside event with OnRowSelected, but something like this 
if (eventArgs.get_keyCode() == 38) {
                var grid = $find("<%#RadGrid1%>");
                grid.SelectedIndexChanged();
            }
if (eventArgs.get_keyCode() == 38) {
     var grid = $find("<%#RadGrid1%>");
     grid.SelectedIndexChanged(null,null);
 }
if (eventArgs.get_keyCode() == 38) {
                var grid = $find("<%#RadGrid1%>");
                grid.SelectedIndexChanged();
            }
if (eventArgs.get_keyCode() == 38) {
                var grid = $find("<%#RadGrid1%>");
                grid.SelectedIndexChanged();
            }
if (eventArgs.get_keyCode() == 38) {
                var grid = $find("<%#RadGrid1%>");
                grid.SelectedIndexChanged();
            }
if (eventArgs.get_keyCode() == 38) {
                var grid = $find("<%#RadGrid1%>");
                grid.SelectedIndexChanged();
            }

doesn't work.

Thanks
Shinu
Top achievements
Rank 2
 answered on 17 Dec 2010
5 answers
309 views
Hello Telerik team,

I have a requirement where I need to Edit/Update/Delete the items on a radgrid which are populated from a sharepoint list meaning my datasource is sharepoint datatable.I am using Pop up edit form on edit like shown in this http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/popupeditform/defaultcs.aspx and when i click on "edit" I am able to show my present list item values on pop up edit form for that particular item.How do i write the events on "Update" and "Cancel" buttons inside the pop up edit form and how do i grab that particular item and update that item only.

I have one more issue.As shown in the blog mentioned above, I have a add new record.But when i click on that I am not able to show up the new edit pop up form and what kind of event can be written on that edit form to insert the record into the sharepoint list.

I have one more, I have used a rad window on delete which comes by using "Confirmtype"="Radwindow" on the column.How to write the events on that dialog box to delete or cancel the selected item.

Please provide me a sample with the sharepoint list because I saw many samples for sql datasource and none for a sharepoint list.
I greatly appreciate your response.

Thanks
Smith
Tsvetoslav
Telerik team
 answered on 17 Dec 2010
2 answers
186 views
Hi,

I would like to know if is possible to remove the appointment delete icon that is shown when the mouse is moved over an appointment. I've tried using an AppointmentTemplate but no result.

Regards,
john
Top achievements
Rank 1
 answered on 17 Dec 2010
1 answer
64 views
How to set the image in export pdf.
Daniel
Telerik team
 answered on 17 Dec 2010
4 answers
187 views
Is it possible to save the Track Changes result without opening the dialog?  Or even just a way to open the dialog in the background and close it out once the content is rendered an I have grabed the fieldset for the Track Change Content? 

My objective is to present the track changes content outside of the Editor to other users, so they can see what has changed.  I currently save both the initial and final versions to my database right now.  And I can force the content to automatically set and switch out with the following script.  I would just prefer not to have the dialog interfere with the UI when my sole purpose for it's use is just get the content rendered in the track change format, not to inform the users that wrote the content.
function EditorCommand(editor, args) {
                                  
switch (args.get_commandName()) {
 case "TrackChangesDialog":
   var loc = "Pub.aspx";
   var methodName = "GetLastRevContent" + location.search;
   var jsondata = new Object();
   jsondata.contentId = _$currentEdit.attr("id");
   var jsoon = $.toJSON(jsondata);
   $.ajax({
           async: false,
           type: "POST",
           url: loc + "/" + methodName,
           data: jsoon,
           contentType: "application/json; charset=utf-8",
           dataType: "json",
           timeout: _sysEditPubVars.timeoutRate,
           success: function (response) {
               var editor = $find('<%= RadEditor1.ClientID %>');
               var fromServer = jQuery.parseJSON(response.d);
               var currentcontent = editor.get_html(true);
               editor.set_html(fromServer.oldContent);
               editor.set_initialContent();
               editor.set_html(currentcontent);
               },
             });
      break;
  default:
      break;
   }
}
Sean Patterson
Top achievements
Rank 1
 answered on 17 Dec 2010
2 answers
110 views
I am exporting hierarchical rad grid to excel.
After exporting I can not apply normal excel sort on those result as it is giving attached warning.

 
Daniel
Telerik team
 answered on 17 Dec 2010
1 answer
105 views
Blank
Tsvetoslav
Telerik team
 answered on 17 Dec 2010
3 answers
208 views
When filtering, I'd like for the drop down to resize to remove the empty lines as the selections are narrowed down.  So far I haven't found a way to do this.  There doesn't appear to be a client side method or property on the RadComboBox object to do this.  Any ideas?

Thanks
Kalina
Telerik team
 answered on 17 Dec 2010
1 answer
90 views
Hi,
I have a radgrid. In that control I have lot of rows (without paging). So I see only e.g. 20 rows on screen and using scrollbars I move to other records. In code I select e.g. 30. record. Is any way to move scrollbars to that record?
Princy
Top achievements
Rank 2
 answered on 17 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?