Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
342
EditorProviders work on local machine but not on webserver
posted

Hi.

I have a WebDate grid with two types of EditorProvides (DatePickerProvider and DropDownProvider).  Everything works perfectly fine when I run my applicaiton on my local machine but once I copy over my application to the web server the providers do not work.  the WebDataGrid binds fine, I see all the data Ineed to see but when I click on the cell to edit the EditorProvider does not show.  I see the drop down arrow in the cell to click for the calendar/dropdown but the page just flashes  and no calendar or dropdown show.  I put this WebdataGrid in its own updatepanel.  the aspx page also has a formview, SQL data Sources, script manager...code for gird is below.  again works fine on local machine but not on webserver.  please help! :(

<asp:UpdatePanel ID="UpdatePanel2" runat="server">

<ContentTemplate>

<ig:WebDataGrid ID="wdgSubDates" runat="server" Height="180px" Width="900px" AutoGenerateColumns="False"

DataSourceID="dsSubDate" DataKeyFields="ocd_control_number,ocd_submission"

EnableDataViewState="True" >

<Columns>

<ig:BoundDataField DataFieldName="ocd_control_number" Hidden="True"

Key="ocd_control_number" DataType="System.Double">

<Header Text="ocd_control_number" />

</ig:BoundDataField>

<ig:BoundDataField DataFieldName="ocd_submission" Key="ocd_submission"

Width="100px">

<Header Text="Submission #" Tooltip="Submission #" />

</ig:BoundDataField>

<ig:BoundDataField DataFieldName="ocd_doc_date" Key="ocd_doc_date"

Width="150px">

<Header Text="Document Date" Tooltip="Document Date" />

</ig:BoundDataField>

<ig:BoundDataField DataFieldName="ocd_received_date" Key="ocd_received_date"

Width="150px">

<Header Text="Received Date" Tooltip="Received Date" />

</ig:BoundDataField>

<ig:BoundDataField DataFieldName="ocd_due_date" Key="ocd_due_date"

Width="150px">

<Header Text="Due Date" Tooltip="Due Date" />

</ig:BoundDataField>

<ig:BoundDataField DataFieldName="ocd_completion_code"

Key="ocd_completion_code" Width="200px">

<Header Text="Action" Tooltip="Action" />

</ig:BoundDataField>

</Columns>

<EditorProviders>

<ig:DatePickerProvider ID="DatePickerProvider1" >

<EditorControl ID="EditorControl1" DisplayModeFormat="MM/dd/yyyy"

EditModeFormat="MM/dd/yyyy" runat="server" >

</EditorControl>

</ig:DatePickerProvider>

<ig:DropDownProvider ID="DropDownProvider1">

<EditorControl EnableAnimations="False" runat="server"

EnableDropDownAsChild="False" ID="EditorControl2" Width ="140px"

DropDownContainerWidth = "140px" DropDownContainerHeight="0px" >

<Button AltText="" />

<Items>

<ig:DropDownItem Selected="False" Text="Approved" Value="Approved">

</ig:DropDownItem>

<ig:DropDownItem Selected="False" Text="Disapproved" Value="Disapproved">

</ig:DropDownItem>

<ig:DropDownItem Selected="False" Text="Withdrawn" Value="Withdrawn">

</ig:DropDownItem>

<ig:DropDownItem Selected="False" Text="Revise &amp; Resubmit"

Value="Revise &amp; Resubmit">

</ig:DropDownItem>

</Items>

</EditorControl>

</ig:DropDownProvider>

</EditorProviders>

<Behaviors>

<ig:EditingCore AutoCRUD="false">

<Behaviors>

<ig:CellEditing>

<ColumnSettings>

<ig:EditingColumnSetting ColumnKey="ocd_doc_date"

EditorID="DatePickerProvider1" />

<ig:EditingColumnSetting ColumnKey="ocd_received_date"

EditorID="DatePickerProvider1" />

<ig:EditingColumnSetting ColumnKey="ocd_due_date"

EditorID="DatePickerProvider1" />

<ig:EditingColumnSetting ColumnKey="ocd_completion_code"

EditorID="DropDownProvider1" />

</ColumnSettings>

<EditModeActions MouseClick="Single" />

</ig:CellEditing>

<ig:RowAdding>

<ColumnSettings>

<ig:RowAddingColumnSetting ColumnKey="ocd_doc_date"

EditorID="DatePickerProvider1" />

<ig:RowAddingColumnSetting ColumnKey="ocd_received_date"

EditorID="DatePickerProvider1" />

<ig:RowAddingColumnSetting ColumnKey="ocd_due_date"

EditorID="DatePickerProvider1" />

<ig:RowAddingColumnSetting ColumnKey="ocd_completion_code"

EditorID="DropDownProvider1" />

<ig:RowAddingColumnSetting ColumnKey="ocd_submission" ReadOnly="True" />

</ColumnSettings>

<EditModeActions MouseClick="Single" />

</ig:RowAdding>

<ig:RowDeleting />

</Behaviors>

<EditingClientEvents RowAdding="onRowAdding" />

</ig:EditingCore>

<ig:Selection CellClickAction="Row" RowSelectType="Single">

<SelectionClientEvents RowSelectionChanged="onRowSelectionChanged" />

</ig:Selection>

<ig:RowSelectors>

</ig:RowSelectors>

<ig:Filtering>

</ig:Filtering>

</Behaviors>

</ig:WebDataGrid>

 

</ContentTemplate>

</asp:UpdatePanel>

 

 

Parents
No Data
Reply
  • 342
    Offline posted

    So far it seems like it has to do with using a MasterPage on the aspx page.

    When I add a grid with a editor provider on a page that has a masterpage it does not work.  but add a grid to a page that does not use a MasterPage it works???

     

    any ideas?

Children
No Data