<telerik:RadEditor ID="radEditor" runat="server"> <Tools> <telerik:EditorToolGroup> <telerik:EditorTool name="ToggleScreenMode" shortcut="F11" showtext="true" text="Togle Full Screen"/> </telerik:EditorToolGroup> </Tools></telerik:RadEditor>
<telerik:RadDockLayout EnableViewState="true" runat="server" ID="RadDockLayout1" StoreLayoutInViewState="true"> <table width="100%" cellpadding="0" cellspacing="0"> <tr> <td valign="top" width="62%"> <telerik:RadDockZone EnableViewState="true" BorderStyle="None" ID="RadDockZoneTopLeft" runat="server" Orientation="Vertical" MinHeight="500px"> <telerik:RadDock Skin="NetVigour" EnableEmbeddedSkins="false" EnableViewState="true" Visible="true" ID="dockExchangeInformation" DockMode="Docked" runat="server" Title="Exchange Information" Font-Bold="true" Width="100%" EnableAnimation="true" Resizable="false"> <Commands> <telerik:DockExpandCollapseCommand /> </Commands> <ContentTemplate> <p> <telerik:RadDockLayout EnableViewState="true" runat="server" ID="RadDockLayout2" StoreLayoutInViewState="true"> <telerik:RadDockZone EnableViewState="true" BorderStyle="None" ID="RadDockZone1" runat="server" Orientation="Vertical" MinHeight="500px"> <telerik:RadDock Skin="Sunset" EnableEmbeddedSkins="false" EnableViewState="true" Visible="true" ID="RadDock1" DockMode="Docked" runat="server" Title="Exchange Information" Font-Bold="true" Width="100%" EnableAnimation="true" Resizable="false"> <Commands> <telerik:DockExpandCollapseCommand /> </Commands> <ContentTemplate> test </ContentTemplate> </telerik:RadDock> </telerik:RadDockZone> </telerik:RadDockLayout> </ContentTemplate> </telerik:RadDock> </telerik:RadDockZone> </td> </tr> </table> </telerik:RadDockLayout><browsers> <browser id="IE11" parentID="Mozilla"> <identification> <userAgent match="Trident/(?'layoutVersion'[7-9]|0*[1-9]\d+)(\.\d+)?;(.*;)?\s*rv:(?'version'(?'major'\d+)(\.(?'minor'\d+)))" /> <userAgent nonMatch="IEMobile" /> </identification> <capture> <userAgent match="Trident/(?'layoutVersion'\d+)" /> </capture> <capabilities> <capability name="browser" value="IE" /> <capability name="layoutEngine" value="Trident" /> <capability name="layoutEngineVersion" value="${layoutVersion}" /> <capability name="extra" value="${extra}" /> <capability name="isColor" value="true" /> <capability name="letters" value="${letters}" /> <capability name="majorversion" value="${major}" /> <capability name="minorversion" value="${minor}" /> <capability name="screenBitDepth" value="8" /> <capability name="type" value="IE${major}" /> <capability name="version" value="${version}" /> </capabilities> </browser> <!-- Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11,0) like Gecko --> <browser id="IE110" parentID="IE11"> <identification> <capability name="majorversion" match="11" /> </identification> <capabilities> <capability name="ecmascriptversion" value="3.0" /> <capability name="jscriptversion" value="5.6" /> <capability name="javascript" value="true" /> <capability name="javascriptversion" value="1.5" /> <capability name="msdomversion" value="${majorversion}.${minorversion}" /> <capability name="w3cdomversion" value="1.0" /> <capability name="ExchangeOmaSupported" value="true" /> <capability name="activexcontrols" value="true" /> <capability name="backgroundsounds" value="true" /> <capability name="cookies" value="true" /> <capability name="frames" value="true" /> <capability name="javaapplets" value="true" /> <capability name="supportsCallback" value="true" /> <capability name="supportsFileUpload" value="true" /> <capability name="supportsMultilineTextBoxDisplay" value="true" /> <capability name="supportsMaintainScrollPositionOnPostback" value="true" /> <capability name="supportsVCard" value="true" /> <capability name="supportsXmlHttp" value="true" /> <capability name="tables" value="true" /> <capability name="supportsAccessKeyAttribute" value="true" /> <capability name="tagwriter" value="System.Web.UI.HtmlTextWriter" /> <capability name="vbscript" value="true" /> </capabilities> </browser></browsers>The telerik grid I have uses sorting on every field. I wanted to sort by the date in descending order, but now it is making the data show up wrong because it is sorting by the month and day, not the month, day, and year.
Ex:
12/31/2000
12/31/1998
12/31/1997
12/30/2012
12/30/2011
I would like the data to show up with the most recent month, day, and year...like this:
12/30/2012
12/30/2011
12/31/2000
12/31/1998
12/31/1997
<telerik:GridDateTimeColumn AllowFiltering="true" SortExpression="Service_Date" DataField="Service_Date" HeaderText="Service Date" UniqueName="Service_Date" DataType="System.DateTime" DataFormatString="{0:MM/dd/yyyy}" ReadOnly="true" >

Dim uc As UserControl =
CType(e.Item.FindControl(GridEditFormItem.EditFormUserControlID), UserControl)
where "GridEditFormItem.EditFormUserControlID" is the UserControl. (I know to try this because it works when I use it On ItemCommand when e.CommandName == "Update")
This line, however, comes up with uc=Nothing when I attempt to use it while e.CommandName == "Edit". Is the usercontrol called something besides "GridEditFormItem.EditFormUserControlID" when e.CommandName == "Edit"???
The usercontrol seems to be called something else when e.CommandName == "Edit" vs e.CommandName == "Update" and yet it is still within the ItemCommand event. Does anyone know how I can access the same UserControl OnItemCommand while e.CommandName == "Edit"??