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; |
| } |

How can i call a function inside the navigate url property ?
Below is the code:
Im trying to call a function with function.getpageid inside the navigateurl.
| <script language="javascript" type="text/javascript"> |
| function onClicking(sender, eventArgs) { |
| var item = eventArgs.get_item(); |
| var navigateUrl = item.get_navigateUrl(); |
| eventArgs.set_cancel(true); |
| if (navigateUrl && navigateUrl != "#") { |
| var oWnd = radopen(navigateUrl, "WindowName"); |
| } |
| sender.hide(); |
| } |
| </script> |
| <telerik:RadContextMenu ID="RadContextMenu2" runat="server" OnClientItemClicking="onClicking"> |
| <Targets> |
| <telerik:ContextMenuControlTarget ControlID="Mediaarea" /> |
| </Targets> |
| <Items> |
| <telerik:RadMenuItem runat="server" Text="Media wijzigen" NavigateUrl='~/test.aspx?PageID=<%# functions.getpageID %>'></telerik:RadMenuItem> |
| </Items> |
| </telerik:RadContextMenu> |
| <telerik:RadWindowManager ID="RadWindowManager1" runat="server"> |
| </telerik:RadWindowManager> |
| <div id="Mediaarea"> |
| <img src="Upload/Design/GUI/images/powerplusxq/media.jpg" /> |
| </div> |
Message: Access is denied.
Line: 6
Char: 73478
Code: 0
URI: /Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_cphSurvey_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d1.0.61025.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a1f0f78f9-0731-4ae9-b308-56936732ccb8%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.3.1103.20%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3afa29fa87-3646-4a1f-8f90-45263b4e63e9%3a16e4e7cd%3aed16cbdc%3af7645509%3a8674cba1%3ab7778d6c%3ac08e9f8a%3a59462f1%3aa51ee93e
