Hello Telerik team,
I have a requirement to make the rad scheduler read only.
As of now..i have disabled the "save" button inside the edit appointment template.
But now if i click on the new appointment..I wanted to show a alert or rad window which does not allow us to add item to the new appointment.
Kindly let me know the way i need to do it.
Thank you
Smith

I'm trialing the AJAX toolkit and it's fantastic.
I have coded a page that uses a RadRotator, a few RadComboBoxes, a RadStyleSheetManager and a RadScriptManager.
I have placed the RadStyleSheetManager and RadScriptManager just before the closing Form tag hoping this would prioritise the page's content before Telerik's scripting for SEO purposes.
Unfortunately, when the page source is viewed in a browser the following scripts are called at the top of the page, immediately after the opening Form tag.
<script src="/WebResource.axd?...lots of code..." type="text/javascript"></script>
<script src="/Telerik.Web.UI.WebResource.axd?..." type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.1.309/Common/Core.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.1.309/Common/jQuery.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.1.309/Common/jQueryPlugins.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.1.309/Common/Animation/AnimationScripts.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.1.309/Rotator/RadRotator.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.1.309/Common/Navigation/NavigationScripts.js" type="text/javascript"></script>
<script src="http://aspnet-scripts.telerikstatic.com/ajaxz/2010.1.309/ComboBox/RadComboBoxScripts.js" type="text/javascript"></script>
<script src="/Telerik.Web.UI.WebResource.axd?...lots of code..." type="text/javascript"></script>
How do I force these scripts to the bottom of the page? The RadStyleSheetManager's attributes are set to OutputCompression="AutoDetect" and EnableStyleSheetCombine="true". The RadScriptManager's attributes are set to EnableScriptCombine="true", OutputCompression="AutoDetect" and ScriptMode="Release". I saw something on the Telerik site about a ScriptRegistrar - which looked promising - but can't seem to find it in the VS toolbox or in attributes belonging to the script manager.
Any help would be appreciated!
| <telerik:RadSiteMap runat="server" |
| ID="RadSiteMapPublications" DataSourceID="RadSiteMapDataPublications" Width="640px"> |
| <LevelSettings> |
| <telerik:SiteMapLevelSetting Level="0" ListLayout-RepeatColumns="4" ListLayout-RepeatDirection="Horizontal"></telerik:SiteMapLevelSetting> |
| </LevelSettings> |
| </telerik:RadSiteMap> |
| <telerik:RadSiteMapDataSource ID="RadSiteMapDataPublications" SiteMapFile="~/web.sitemap" ShowStartingNode="false" StartingNodeUrl="http://saratoga/lr/pages/default.aspx?id=2036" runat="server" /> |
| Dim myDataSource As New RadSiteMapDataSource |
| myDataSource.SiteMapFile = "~/web.sitemap" |
| myDataSource.ShowStartingNode = False |
| myDataSource.StartingNodeUrl = "http://saratoga/lr/pages/default.aspx?id=2017" |
| Dim mySiteMap As New RadSiteMap |
| mySiteMap.Width = 640 |
| mySiteMap.Height = 200 |
| mySiteMap.DataSource = myDataSource |
| Dim mySetting As New SiteMapLevelSetting |
| mySetting.Level = 0 |
| mySetting.ListLayout.RepeatColumns = 4 |
| mySetting.ListLayout.RepeatDirection = SiteMapRepeatDirection.Horizontal |
| mySiteMap.LevelSettings.Add(mySetting) |
| myLabel.Controls.Add(mySiteMap) |
| function RadGrid1_OnCommand(sender, eventArgs) { |
| var nID = sender.get_masterTableView().get_dataItems()[0].getDataKeyValue("ID"); |
| var commandName = eventArgs.get_commandName(); |
| if (commandName == "PDF") { |
| var wnd = window.radopen("/ShowInvoicePDF.aspx?ID=" + nID, null); |
| return false; |
| } |
| } |
| protected void Page_Load(object sender, EventArgs e) |
| { |
| int nID = Convert.ToInt32(Request.QueryString["ID"]); |
| Invoice invoice = Invoice.FindByID(nID); |
| Response.Clear(); |
| Response.ClearContent(); |
| Response.ClearHeaders(); |
| Response.Buffer = true; |
| Response.ContentType = "Application/pdf"; |
| Response.AddHeader("Accept-Ranges", "bytes"); |
| Response.AddHeader("Accept-Header", invoice.PDFData.Length.ToString()); |
| Response.AddHeader("Cache-Control", "public"); |
| Response.AddHeader("Cache-Control", "must-revalidate"); |
| Response.AddHeader("Pragma", "public"); |
| Response.AddHeader("expires", "0"); |
| //Response.BinaryWrite(invoice.PDFData); |
| Response.OutputStream.Write(invoice.PDFData, 0, invoice.PDFData.Length); |
| //Response.Flush(); |
| //Response.Close(); |
| Response.End(); |
| } |