<?xml version="1.0" encoding="UTF-8"?><!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings for your application. Use the Website->Asp.Net Configuration option in Visual Studio. A full list of settings and comments can be found in machine.config.comments usually located in \Windows\Microsoft.Net\Framework\v2.x\Config --><configuration> <connectionStrings> </connectionStrings> <system.web> <!-- Set compilation debug="true" to insert debugging symbols into the compiled page. Because this affects performance, set this value to true only during development. --> <compilation debug="true" targetFramework="4.0"> <assemblies> <add assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" /> <add assembly="System.Drawing.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" /> </assemblies> </compilation> <!-- The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --> <authentication mode="Forms" /> <!-- The <customErrors> section enables configuration of what to do if/when an unhandled error occurs during the execution of a request. Specifically, it enables developers to configure html error pages to be displayed in place of a error stack trace. <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm"> <error statusCode="403" redirect="NoAccess.htm" /> <error statusCode="404" redirect="FileNotFound.htm" /> </customErrors> --> <pages theme="Theme" controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"> <controls> <add assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagPrefix="telerik" /> </controls> </pages> <httpHandlers> <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2010.1.309.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" /> <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" /> <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" /> </httpHandlers> <httpModules> <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> <add name="TelerikWebResource" type="Telerik.Web.UI.WebResource" /> </httpModules> </system.web> <appSettings> <add key="DefaultActiveDirectoryServer" value="dc=foo,dc=com" /> </appSettings> <!-- The system.webServer section is required for running ASP.NET AJAX under Internet Information Services 7.0. It is not necessary for previous version of IIS. --> <system.webServer> <validation validateIntegratedModeConfiguration="false" /> <modules runAllManagedModulesForAllRequests="true"> <add name="RadCompression" type="Telerik.Web.UI.RadCompression" /> <add name="TelerikWebResource" type="Telerik.Web.UI.WebResource" /> </modules> <handlers> <add name="ChartHandler" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI" /> <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode,runtimeVersionv2.0" /> </handlers> <httpErrors errorMode="Detailed"/> <asp scriptErrorSentToBrowser="true"/> </system.webServer></configuration>var dtTmPicker = $find("<%= SchedStartTime.ClientID %>");
dtTmPicker.clear();var dtTmPicker = $find("<%= SchedStartTime.ClientID %>");
dtTmPicker.get_dateInput().set_textBoxValue("");
dtTmPicker.get_dateInput()._invalid = false;
dtTmPicker.get_dateInput().updateCssClass();This is what we are currently running
Version: 2013.1.417.40
Path: ...\Telerik.Web.UI_2013_1_417_Dev_hotfix\Bin40\Telerik.Web.UI.dll
Runtime Version: v4.0.30319
-----Original Message-----From: cmis@n3cn.org [mailto:cmis@n3cn.org] Sent: Monday, May 13, 2013 8:54 AMTo: CMIS ErrorSubject: unHandledException in CMIS - Page:/_dialog/UploadPatientAttachment/UploadPatientAttachment.aspx?RadUrid=eefdd2b0-33ab-46e2-9545-f4ed8efcf1c6System.IO.FileNotFoundException: Could not find file 'C:\Applications\cmis.n3cn.org\Production\CaseManagement\App_Data\RadUploadTemp\vcfxlbc4.jsp'.File name: 'C:\Applications\cmis.n3cn.org\Production\CaseManagement\App_Data\RadUploadTemp\vcfxlbc4.jsp' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.Move(String sourceFileName, String destFileName) at NCCCN.CMIS._dialog.UploadPatientAttachment.UploadPatientAttachment.buttonSubmit_Click(Object sender, EventArgs e) in C:\Websites\QA\CMISWeb\_dialog\UploadPatientAttachment\UploadPatientAttachment.aspx.cs:line 79 at Telerik.Web.UI.RadButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)Time: 5/13/2013 8:54:24 AMSource: mscorlibHi All,
I am trying to use RadGrid in a user control in sharepoint 2007 project. But when the grid is loaded, it generates a javascript error stating "Object Required, Line1 Char1".
When i click on edit button to edit my grid row, the control does not enter radGrid_ItemDataBound method. and hence the grid does not appear in edit mode. But it does execute radGrid_ItemCommand method. Only after clicking a button that causes postback event, the edit mode gridrow appears but without any data.
I am using a master page for the usercontrol
Following is the code
Master page code:
<%@ Register Assembly="Telerik.Web.UI, Version=****.*.****.**, Culture=neutral, PublicKeyToken=********" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> I have added RadAjaxManager in the master page.
<telerik:RadAjaxManager ID="AjaxManager1" runat="server"></telerik:RadAjaxManager><%@ Register Assembly="Telerik.Web.UI, Version=****.*.****.**, Culture=neutral, PublicKeyToken=*********" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> …………………….. <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Windows7" MinDisplayTime="30" /> <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="rgReportEditor"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="rgReportEditor" /> <telerik:AjaxUpdatedControl ControlID="RadWindowManager1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManagerProxy> <table> ..... ..... <telerik:RadGrid ID="rgReportEditor" Skin="Windows7" GridLines="None" ItemStyle-BackColor="White" AlternatingItemStyle-BackColor="#EFEFEF" runat="server" AutoGenerateColumns="False" SelectedItemStyle-BackColor="blue" OnUpdateCommand="rgReportEditor_UpdateCommand" OnItemCommand="rgReportEditor_ItemCommand" OnEditCommand="rgReportEditor_EditCommand" OnItemDataBound="rgReportEditor_ItemDataBound"> <MasterTableView InsertItemDisplay="Bottom" HorizontalAlign="NotSet" EditMode="InPlace" TableLayout="Fixed" Frame="Border"> <HeaderStyle Font-Bold="true" BackColor="#BDBDBD" ForeColor="Black" /> <PagerStyle AlwaysVisible="true" /> <Columns> <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditColumn"> <ItemStyle CssClass="MyImageButton" Width="7%" /> <HeaderStyle Width="7%" /> </telerik:GridEditCommandColumn> <telerik:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="Testing column"> <ItemStyle Width="17%" /> <HeaderStyle Width="17%" /> <ItemTemplate> <asp:Label ID="lblValue" runat="server"></asp:Label> </ItemTemplate> <EditItemTemplate> <%-- <telerik:RadComboBox ID="cboReportEditorColumn" Width="100%" runat="server" Skin="Office2007"> </telerik:RadComboBox>--%> <asp:DropDownList ID="ddlValue" runat="server"> </asp:DropDownList> </EditItemTemplate> </telerik:GridTemplateColumn> <%-- <telerik:GridButtonColumn ConfirmText="Delete this entry?" ConfirmDialogType="RadWindow" ConfirmTitle="Attention" ConfirmDialogHeight="100" ConfirmDialogWidth="250" ButtonType="ImageButton" CommandName="Delete" Text="Delete" UniqueName="DeleteColumn" CommandArgument="Code"> <ItemStyle CssClass="MyImageButton" Width="3%" /> <HeaderStyle Width="3%" /> </telerik:GridButtonColumn>--%> </Columns> </MasterTableView> <ClientSettings AllowColumnHide="True"> <Scrolling AllowScroll="true" UseStaticHeaders="true" /> <Resizing AllowColumnResize="True" EnableRealTimeResize="false" /> </ClientSettings> </telerik:RadGrid> ......... </table> <telerik:RadWindowManager ID="RadWindowManager1" runat="server"> </telerik:RadWindowManager> UserControl.ascx.cs
protected void Page_Load(object sender, EventArgs e) { RadAjaxManager objRadAJAXManager = RadAjaxManager.GetCurrent(Page); objRadAJAXManager.ClientEvents.OnRequestStart = "onRequestStart"; objRadAJAXManager.AjaxSettings.AddAjaxSetting(rgReportEditor, rgReportEditor, RadAjaxLoadingPanel1); objRadAJAXManager.AjaxSettings.AddAjaxSetting(rgReportEditor, RadWindowManager1, RadAjaxLoadingPanel1); objRadAJAXManager.AjaxSettings.AddAjaxSetting(rgReportEditor, lblErrorYAxis); ................................................................. ................................................................. ................................................................. } Please suggest how to make the grid work in edit mode.
Thanks,
Satbir