WebGrid/WebInput Integration Not Working

3 replies. Last post: March 26, 2014 8:44 PM by Yudi
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
I have an editable WebGrid. I want cells in a certain column to always be have the value and text of a Date with no time. To do this I defined the column like this:
<ISWebGrid:WebGridColumn Caption="Start Date" CustomEditorName="WebInputNET" CustomEditorServerId="WebInput1" DataMember="StartDate" DataType="System.DateTime" EditType="Custom" FilterEditType="TextBox" Name="StartDate" Width="100px" GroupRowInfoFormat="[caption]: [value] ([count])" GroupInterval="Text" DataFormatString="MM/dd/yyyy"></ISWebGrid:WebGridColumn>  

 And the Web Input like this:

            <ISWebInput:WebInput ID="WebInput1" runat="server">
                <HighLight IsEnabled="true" Type="Phrase" />
                <CultureInfo CultureName="en-US">
                </CultureInfo>
                <EditFormat Format="MM/dd/yyyy" IsEnabled="true">
                    <MaskInfo MaskExpression="00/00/0000">
                    </MaskInfo>
                    <ErrorWindowInfo IsEnabled="false">
                    </ErrorWindowInfo>
                </EditFormat>
            </ISWebInput:WebInput>

For some reason when I input a new value into the Web Grid Cell, the cell immediately reverts to its original value.


Please help. I am using Web Grid Version 7.


Aaron

All times are GMT -5. The time now is 7:13 PM.
Previous Next