| <telerik:RadEditor ID="txtNewComment" OnClientLoad="OnClientLoadRadEditor" runat="server" AutoResizeHeight="True" Skin="Office2007" |
| BorderStyle="None" BorderWidth="0px" ToolsWidth="345px" ToolbarMode="ShowOnFocus" |
| EditModes="Design" ToolsFile="BasicTools.xml" Width="720px" Height="50px" > |
| <Content> |
| </Content> |
| </telerik:RadEditor> |
| function OnClientLoadRadEditor(editor, args) |
| { |
| var style = editor.get_contentArea().style; |
| style.fontFamily= 'Arial'; |
| style.fontSize= 12 + 'px'; |
| var tool = editor.getToolByName("FontName"); |
| if (tool) |
| { |
| tool.set_value("Arial"); |
| } |
| var tool2 = editor.getToolByName("RealFontSize"); |
| if (tool2) |
| { |
| tool2.set_value("10px"); |
| } |
| editor.removeShortCut("InsertTab"); |
| } |

| <%--menu 1 --%> |
| <telerik:AjaxSetting AjaxControlID="i0"> |
| <telerik:AjaxSetting AjaxControlID="i1"> |
| <telerik:AjaxSetting AjaxControlID="i2"> |
| <%--menu 2--%> |
| <telerik:AjaxSetting AjaxControlID="i0"> |
| <telerik:AjaxSetting AjaxControlID="i1"> |
| <telerik:AjaxSetting AjaxControlID="i2"> |
| <telerik:AjaxSetting AjaxControlID="i3"> |
| <telerik:AjaxSetting AjaxControlID="i4"> |
I have JavaScript based Gantt Chart that is built on the client when the page loads from an initialization script that was built on the server. For version 1, my client has elected to first update the chart by making Ajax calls to the server and let the return script completely rebuild the chart while leaving the rest of the page alone. Eventually the chart will be modified on the client with only data changes being sent to the server via Ajax.
I have done a lot of JavaScript using hte XMLHTTPRequest object. So I am familiar with this part of the plumbing.
The web page with the Gantt chart will have other content built from calls to the DB layer. We want this and any associated Viewstate left completely alone and we don't want to do any normal PostBack processing during the Ajax call such has hitting the DB layer again for anything other than Gantt related issues.
The Ajax call will be initiated by Gantt chart client method using RadAjaxManager.ajaxRequest(AjaxDataToServer).
BTW - I am absolutely delighted with your product
Have a nice day,
Carl Taylor
Suwanee, GA USA
| private bool IsFiltered(string name) |
| { |
| if (name.ToLower().EndsWith(".sys") || name.ToLower().Contains("Some")) |
| { |
| return false; |
| } |
| // else |
| return true; |
| } |
