Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
257 views
Hi,
I have a splitter inside a contentplaceholder and want the splitter to cover the whole area of the placeholder, but it is only 50%, height-wise.  I don't remember when this happened, maybe after I put another splitter inside this one, but I don't know.  If someone could take a look at my code and see where I'm going wrong, that would be great.  I'm very new at all of this, by the way.

The aspx:
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Master2.Master" 
    CodeBehind="EquipmentPages.aspx.vb" Inherits="New_Nexus_3.EquipmentPages" %> 
 
<%@ MasterType VirtualPath="~/Master2.master" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"
    <style type="text/css"
        .style6 
        { 
        } 
        #Update 
        { 
            width: 11px; 
        } 
    </style> 
    <script language="javascript" type="text/javascript"
        //        function doFilter(sender, e) { 
        //            if (e.keyCode == 13) { 
        //                var btn = document.getElementById("<%=UpdateButton.ClientID %>"); 
 
        //                if (btn != null) { 
        ////                    e.cancelBubble = true
        ////                    e.returnValue = false
 
        ////                    if (e.preventDefault) { 
        ////                        e.preventDefault(); 
        ////                    } 
 
        //                    btn.click(); 
        //                } 
        //            } 
        //        } 
    </script> 
</asp:Content> 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolderSide" runat="server"
    <div id="SearchDiv" style="padding: 8px; position: absolute; width: 278px; top: 0px; 
        bottom: 0px; left: 0px"> 
        <asp:SqlDataSource ID="TestDB" runat="server" ConnectionString="<%$ ConnectionStrings:TestDBConnectionString %>" 
            SelectCommand="SELECT [Number], [Description] FROM [tblEquipment]"></asp:SqlDataSource> 
        <telerik:RadComboBox ID="SearchBox" runat="server" DataSourceID="TestDB" DataTextField="Description" 
            Skin="Web20" ToolTip="Type an object description" Width="100%" MarkFirstMatch="True" 
            Text="Search by description" AutoPostBack="True" DataValueField="Number" /> 
    </div> 
</asp:Content> 
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolderMain" runat="server"
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
        <AjaxSettings> 
            <telerik:AjaxSetting AjaxControlID="RadSplitter1"
            </telerik:AjaxSetting> 
            <telerik:AjaxSetting AjaxControlID="RadMenu2"
                <UpdatedControls> 
                    <telerik:AjaxUpdatedControl ControlID="RadSplitter1" /> 
                    <telerik:AjaxUpdatedControl ControlID="RadMenu2" /> 
                </UpdatedControls> 
            </telerik:AjaxSetting> 
        </AjaxSettings> 
    </telerik:RadAjaxManager> 
    <div style="position: absolute; width: 100%; top: 0px; left: 0px; bottom: 0px"
        <telerik:RadSplitter ID="RadSplitter1" runat="server" Skin="Web20" Height="100%" 
            Width="100%" VisibleDuringInit="false" HeightOffset="25"
            <telerik:RadPane ID="EquipmentPane" runat="server" MinWidth="320" Width="320px"
                <div style="padding: 20px 0px 20px 20px; font-size: 18px; font-weight: bold;" id="TitleDiv"
                    Equipment 
                </div> 
                <table cellpadding="10px" style="padding: 10px; bottom: 25px; top: 0px; right: 0px; 
                    left: 0px;" width="100%"
                    <tr> 
                        <td class="style6" width="96px"
                            Number 
                        </td> 
                        <td style="text-align: right" valign="middle" align="right"
                            <asp:TextBox ID="EquipNumBox" runat="server" ToolTip="Enter a Part Number" Wrap="False" 
                                Style="text-align: right" MaxLength="20" AutoPostBack="True"></asp:TextBox><%--onchange="doFilter"--%> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td class="style6" width="96px"
                            Description 
                        </td> 
                        <td style="text-align: right" valign="middle" align="right"
                            <asp:Label ID="EquipDes" runat="server"></asp:Label> 
                            <asp:TextBox ID="DesBox" runat="server" Visible="False" Wrap="False"></asp:TextBox> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td class="style6" width="96px"
                            Model No. 
                        </td> 
                        <td style="text-align: right" valign="middle" align="right"
                            <asp:Label ID="EquipMod" runat="server"></asp:Label> 
                            <asp:TextBox ID="ModBox" runat="server" Visible="False"></asp:TextBox> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td class="style6" width="96px"
                            Manufacturer 
                        </td> 
                        <td style="text-align: right" valign="middle" align="right"
                            <asp:Label ID="EquipMan" runat="server"></asp:Label> 
                            <asp:TextBox ID="ManBox" runat="server" Visible="False"></asp:TextBox> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td class="style6" width="96px"
                            Serial No. 
                        </td> 
                        <td style="text-align: right" valign="middle" align="right"
                            <asp:Label ID="EquipSerial" runat="server"></asp:Label> 
                            <asp:TextBox ID="SerialBox" runat="server" Visible="False"></asp:TextBox> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td class="style6" width="96px"
                            Location 
                        </td> 
                        <td style="text-align: right" valign="middle" align="right"
                            <asp:Label ID="EquipLoc" runat="server"></asp:Label> 
                            <asp:TextBox ID="LocBox" runat="server" Visible="False"></asp:TextBox> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td class="style6" width="96px"
                            Date Purchased 
                        </td> 
                        <td style="text-align: right" valign="middle" align="right"
                            <asp:Label ID="EquipPurchDate" runat="server"></asp:Label> 
                            <telerik:RadDatePicker ID="PurchDateBox" runat="server" Culture="en-US" MinDate="1900-01-01" 
                                PopupDirection="TopLeft" Skin="Web20" Visible="False"
                                <Calendar runat="server" Skin="Web20" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                    ViewSelectorText="x"
                                </Calendar> 
                                <DateInput runat="server" CausesValidation="True" DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy"
                                </DateInput> 
                                <DatePopupButton HoverImageUrl="" ImageUrl="" /> 
                            </telerik:RadDatePicker> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td class="style6" align="center" colspan="2"
                            <asp:Button ID="UpdateButton" runat="server" Text="Update" /> 
                            <asp:Button ID="EditButton" runat="server" Text="Edit" /> 
                            <asp:Button ID="DeleteButton" runat="server" Text="Delete" /> 
                            <asp:Button ID="AddNewButton" runat="server" Text="Add New" /> 
                            <asp:Button ID="SaveButton" runat="server" Text="Save" Visible="False" /> 
                            <asp:Button ID="CancelButton" runat="server" Text="Cancel" Visible="False" /> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td align="center" class="style6" colspan="2"
                            <asp:RequiredFieldValidator ID="NumEnteredVali" runat="server" ControlToValidate="EquipNumBox" 
                                ErrorMessage="RequiredFieldValidator">*</asp:RequiredFieldValidator> 
                            <asp:CompareValidator ID="NumValidator" runat="server" ControlToValidate="EquipNumBox" 
                                ErrorMessage="Number must be an integer." Operator="DataTypeCheck" SetFocusOnError="True" 
                                Type="Integer">*</asp:CompareValidator> 
                            <asp:CompareValidator ID="EquipPurchDateVali" runat="server" ControlToValidate="PurchDateBox" 
                                ErrorMessage="CompareValidator" Operator="DataTypeCheck" Type="Date">*</asp:CompareValidator> 
                            <asp:ValidationSummary ID="ValidationSummary1" runat="server" /> 
                        </td> 
                    </tr> 
                </table> 
            </telerik:RadPane> 
            <telerik:RadSplitBar ID="RadSplitBar1" runat="server" BorderColor="#6582B4" BorderStyle="Double" 
                BorderWidth="4px" BackColor="White" CollapseMode="Backward"
            </telerik:RadSplitBar> 
            <telerik:RadPane ID="GridsPane" runat="server"
                <telerik:RadSplitter ID="RadSplitter2" runat="server" Orientation="Horizontal" Height="100%" 
                    Width="100%"
                    <telerik:RadPane ID="PIPane" runat="server"
                        <telerik:RadGrid ID="PIGrid" runat="server" AllowFilteringByColumn="True" AllowPaging="True" 
                            AllowSorting="True" AutoGenerateColumns="False" DataSourceID="PIDataSource" GridLines="None" 
                            Height="100%" Skin="Web20" Width="100%" BorderWidth="0px"
                            <ClientSettings> 
                                <Selecting AllowRowSelect="True" /> 
                                <Scrolling AllowScroll="True" UseStaticHeaders="True" /> 
                            </ClientSettings> 
                            <MasterTableView DataKeyNames="PartNumber" DataSourceID="PIDataSource" EditMode="InPlace"
                                <RowIndicatorColumn> 
                                    <HeaderStyle Width="20px" /> 
                                </RowIndicatorColumn> 
                                <ExpandCollapseColumn> 
                                    <HeaderStyle Width="20px" /> 
                                </ExpandCollapseColumn> 
                                <Columns> 
                                    <telerik:GridBoundColumn DataField="PartNumber" FilterControlWidth="50px" HeaderText="Part Number" 
                                        ReadOnly="True" SortExpression="PartNumber" UniqueName="PartNumber"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn AllowFiltering="False" AllowSorting="False" DataField="Number" 
                                        HeaderText="Number" SortExpression="Number" UniqueName="Number"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn AllowSorting="False" DataField="Description" HeaderText="Description" 
                                        SortExpression="Description" UniqueName="Description"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn AllowFiltering="False" AllowSorting="False" DataField="Location" 
                                        HeaderText="Location" SortExpression="Location" UniqueName="Location"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn AllowFiltering="False" DataField="DateCreated" DataType="System.DateTime" 
                                        HeaderText="Date Created" SortExpression="DateCreated" UniqueName="DateCreated"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn AllowFiltering="False" DataField="DateChanged" DataType="System.DateTime" 
                                        HeaderText="Date Changed" SortExpression="DateChanged" UniqueName="DateChanged"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn AllowSorting="False" DataField="CreatedBy" FilterControlWidth="50px" 
                                        HeaderText="Created By" SortExpression="CreatedBy" UniqueName="CreatedBy"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn AllowFiltering="False" AllowSorting="False" DataField="ChangedBy" 
                                        HeaderText="Changed By" SortExpression="ChangedBy" UniqueName="ChangedBy"
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridEditCommandColumn> 
                                    </telerik:GridEditCommandColumn> 
                                    <telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName="column"
                                    </telerik:GridButtonColumn> 
                                </Columns> 
                                <EditFormSettings> 
                                    <EditColumn UniqueName="EditCommandColumn1"
                                    </EditColumn> 
                                </EditFormSettings> 
                            </MasterTableView> 
                        </telerik:RadGrid> 
                    </telerik:RadPane> 
                    <telerik:RadSplitBar ID="RadSplitBar4" runat="server" BorderColor="#6582B4" BorderStyle="Double" 
                        BorderWidth="4px" CollapseMode="Backward"
                    </telerik:RadSplitBar> 
                    <telerik:RadPane ID="THPane" runat="server"
                        <telerik:RadGrid ID="THGrid" runat="server" AutoGenerateColumns="False" DataSourceID="THDataSource" 
                            GridLines="None" Skin="Web20" BorderWidth="0px" Height="100%" Width="100%"
                            <ClientSettings> 
                                <Selecting AllowRowSelect="True" /> 
                                <Scrolling AllowScroll="True" UseStaticHeaders="True" /> 
                            </ClientSettings> 
                            <MasterTableView DataKeyNames="AutoID" DataSourceID="THDataSource" EditMode="InPlace"
                                <RowIndicatorColumn> 
                                    <HeaderStyle Width="20px" /> 
                                </RowIndicatorColumn> 
                                <ExpandCollapseColumn> 
                                    <HeaderStyle Width="20px" /> 
                                </ExpandCollapseColumn> 
                                <Columns> 
                                    <telerik:GridBoundColumn DataField="AutoID" DataType="System.Int32" HeaderText="Auto ID" 
                                        ReadOnly="True" SortExpression="AutoID" UniqueName="AutoID"
                                        <HeaderStyle Width="60px" /> 
                                        <ItemStyle Width="60px" /> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn DataField="Number" HeaderText="Number" SortExpression="Number" 
                                        UniqueName="Number"
                                        <HeaderStyle Width="60px" /> 
                                        <ItemStyle Width="60px" Wrap="True" /> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn DataField="Task" DataType="System.Int32" HeaderText="Task" 
                                        SortExpression="Task" UniqueName="Task"
                                        <HeaderStyle Width="60px" /> 
                                        <ItemStyle Width="60px" /> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn DataField="Frequency" DataType="System.Int32" HeaderText="Freq" 
                                        SortExpression="Frequency" UniqueName="Frequency"
                                        <HeaderStyle Width="60px" /> 
                                        <ItemStyle Width="60px" /> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn DataField="AssignedTo" HeaderText="Assigned To" SortExpression="AssignedTo" 
                                        UniqueName="AssignedTo"
                                        <HeaderStyle Width="65px" /> 
                                        <ItemStyle Width="65px" /> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn DataField="CompletionDate" DataType="System.DateTime" HeaderText="Completion Date" 
                                        SortExpression="CompletionDate" UniqueName="CompletionDate"
                                        <HeaderStyle Width="80px" /> 
                                        <ItemStyle Width="80px" /> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn DataField="DateCreated" DataType="System.DateTime" HeaderText="Date Created" 
                                        SortExpression="DateCreated" UniqueName="DateCreated"
                                        <HeaderStyle Width="80px" /> 
                                        <ItemStyle Width="80px" /> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn DataField="DateChanged" DataType="System.DateTime" HeaderText="Date Changed" 
                                        SortExpression="DateChanged" UniqueName="DateChanged"
                                        <HeaderStyle Width="80px" /> 
                                        <ItemStyle Width="80px" /> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn DataField="CreatedBy" HeaderText="Created By" SortExpression="CreatedBy" 
                                        UniqueName="CreatedBy"
                                        <HeaderStyle Width="60px" /> 
                                        <ItemStyle Width="60px" /> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridBoundColumn DataField="ChangedBy" HeaderText="Changed By" SortExpression="ChangedBy" 
                                        UniqueName="ChangedBy"
                                        <HeaderStyle Width="60px" /> 
                                        <ItemStyle Width="60px" /> 
                                    </telerik:GridBoundColumn> 
                                    <telerik:GridEditCommandColumn> 
                                        <HeaderStyle Width="40px" /> 
                                        <ItemStyle Width="40px" /> 
                                    </telerik:GridEditCommandColumn> 
                                    <telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName="column"
                                        <HeaderStyle Width="50px" /> 
                                        <ItemStyle Width="50px" /> 
                                    </telerik:GridButtonColumn> 
                                </Columns> 
                                <EditFormSettings> 
                                    <EditColumn UniqueName="EditCommandColumn1"
                                    </EditColumn> 
                                </EditFormSettings> 
                            </MasterTableView> 
                        </telerik:RadGrid> 
                    </telerik:RadPane> 
                </telerik:RadSplitter> 
            </telerik:RadPane> 
            <telerik:RadSplitBar ID="RadSplitBar3" runat="server" BorderColor="#6582B4" BorderStyle="Double" 
                BorderWidth="4px" BackColor="White" CollapseMode="Backward"
            </telerik:RadSplitBar> 
            <telerik:RadPane ID="OoSPane" runat="server"
                <div style="padding: 20px; font-size: 18px; font-weight: bold;" id="Div3"
                    Out of Service</div> 
                <table cellpadding="10px" style="padding: 10px; width: 100%;"
                    <tr> 
                        <td> 
                            Number 
                        </td> 
                        <td align="right"
                            <asp:Label ID="NumberOS" runat="server"></asp:Label> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td> 
                            Date Taken Out 
                        </td> 
                        <td align="right"
                            <asp:Label ID="DateOut" runat="server"></asp:Label> 
                            <telerik:RadDatePicker ID="DateOutBox" runat="server" Culture="en-US" MinDate="1900-01-01" 
                                PopupDirection="TopLeft" Skin="Web20" Visible="False"
                                <Calendar runat="server" Skin="Web20" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                    ViewSelectorText="x"
                                </Calendar> 
                                <DateInput runat="server" DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy"
                                </DateInput> 
                                <DatePopupButton HoverImageUrl="" ImageUrl="" /> 
                            </telerik:RadDatePicker> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td> 
                            Date Put Back In 
                        </td> 
                        <td align="right"
                            <asp:Label ID="DateIn" runat="server"></asp:Label> 
                            <telerik:RadDatePicker ID="DateInBox" runat="server" Culture="en-US" MinDate="1900-01-01" 
                                PopupDirection="TopLeft" Skin="Web20" Visible="False"
                                <Calendar runat="server" Skin="Web20" UseColumnHeadersAsSelectors="False" UseRowHeadersAsSelectors="False" 
                                    ViewSelectorText="x"
                                </Calendar> 
                                <DateInput runat="server" DateFormat="M/d/yyyy" DisplayDateFormat="M/d/yyyy"
                                </DateInput> 
                                <DatePopupButton HoverImageUrl="" ImageUrl="" /> 
                            </telerik:RadDatePicker> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td> 
                            Reason 
                        </td> 
                        <td align="right"
                            <asp:Label ID="Reason" runat="server"></asp:Label> 
                            <asp:TextBox ID="ReasonBox" runat="server" Visible="False"></asp:TextBox> 
                        </td> 
                    </tr> 
                </table> 
            </telerik:RadPane> 
        </telerik:RadSplitter> 
    </div> 
    <asp:SqlDataSource ID="THDataSource" runat="server" ConflictDetection="CompareAllValues" 
        ConnectionString="<%$ ConnectionStrings:TestDBConnectionString %>" DeleteCommand="DELETE FROM [tblEquipmentPMTaskAssignment] WHERE [AutoID] = @original_AutoID AND [Number] = @original_Number AND [Task] = @original_Task AND (([Frequency] = @original_Frequency) OR ([Frequency] IS NULL AND @original_Frequency IS NULL)) AND (([AssignedTo] = @original_AssignedTo) OR ([AssignedTo] IS NULL AND @original_AssignedTo IS NULL)) AND (([CompletionDate] = @original_CompletionDate) OR ([CompletionDate] IS NULL AND @original_CompletionDate IS NULL)) AND (([DateCreated] = @original_DateCreated) OR ([DateCreated] IS NULL AND @original_DateCreated IS NULL)) AND (([DateChanged] = @original_DateChanged) OR ([DateChanged] IS NULL AND @original_DateChanged IS NULL)) AND (([CreatedBy] = @original_CreatedBy) OR ([CreatedBy] IS NULL AND @original_CreatedBy IS NULL)) AND (([ChangedBy] = @original_ChangedBy) OR ([ChangedBy] IS NULL AND @original_ChangedBy IS NULL))" 
        InsertCommand="INSERT INTO [tblEquipmentPMTaskAssignment] ([AutoID], [Number], [Task], [Frequency], [AssignedTo], [CompletionDate], [DateCreated], [DateChanged], [CreatedBy], [ChangedBy]) VALUES (@AutoID, @Number, @Task, @Frequency, @AssignedTo, @CompletionDate, @DateCreated, @DateChanged, @CreatedBy, @ChangedBy)" 
        OldValuesParameterFormatString="original_{0}" SelectCommand="SELECT * FROM [tblEquipmentPMTaskAssignment]" 
        UpdateCommand="UPDATE [tblEquipmentPMTaskAssignment] SET [Number] = @Number, [Task] = @Task, [Frequency] = @Frequency, [AssignedTo] = @AssignedTo, [CompletionDate] = @CompletionDate, [DateCreated] = @DateCreated, [DateChanged] = @DateChanged, [CreatedBy] = @CreatedBy, [ChangedBy] = @ChangedBy WHERE [AutoID] = @original_AutoID AND [Number] = @original_Number AND [Task] = @original_Task AND (([Frequency] = @original_Frequency) OR ([Frequency] IS NULL AND @original_Frequency IS NULL)) AND (([AssignedTo] = @original_AssignedTo) OR ([AssignedTo] IS NULL AND @original_AssignedTo IS NULL)) AND (([CompletionDate] = @original_CompletionDate) OR ([CompletionDate] IS NULL AND @original_CompletionDate IS NULL)) AND (([DateCreated] = @original_DateCreated) OR ([DateCreated] IS NULL AND @original_DateCreated IS NULL)) AND (([DateChanged] = @original_DateChanged) OR ([DateChanged] IS NULL AND @original_DateChanged IS NULL)) AND (([CreatedBy] = @original_CreatedBy) OR ([CreatedBy] IS NULL AND @original_CreatedBy IS NULL)) AND (([ChangedBy] = @original_ChangedBy) OR ([ChangedBy] IS NULL AND @original_ChangedBy IS NULL))"
        <DeleteParameters> 
            <asp:Parameter Name="original_AutoID" Type="Int32" /> 
            <asp:Parameter Name="original_Number" Type="String" /> 
            <asp:Parameter Name="original_Task" Type="Int32" /> 
            <asp:Parameter Name="original_Frequency" Type="Int32" /> 
            <asp:Parameter Name="original_AssignedTo" Type="String" /> 
            <asp:Parameter Name="original_CompletionDate" Type="DateTime" /> 
            <asp:Parameter Name="original_DateCreated" Type="DateTime" /> 
            <asp:Parameter Name="original_DateChanged" Type="DateTime" /> 
            <asp:Parameter Name="original_CreatedBy" Type="String" /> 
            <asp:Parameter Name="original_ChangedBy" Type="String" /> 
        </DeleteParameters> 
        <InsertParameters> 
            <asp:Parameter Name="AutoID" Type="Int32" /> 
            <asp:Parameter Name="Number" Type="String" /> 
            <asp:Parameter Name="Task" Type="Int32" /> 
            <asp:Parameter Name="Frequency" Type="Int32" /> 
            <asp:Parameter Name="AssignedTo" Type="String" /> 
            <asp:Parameter Name="CompletionDate" Type="DateTime" /> 
            <asp:Parameter Name="DateCreated" Type="DateTime" /> 
            <asp:Parameter Name="DateChanged" Type="DateTime" /> 
            <asp:Parameter Name="CreatedBy" Type="String" /> 
            <asp:Parameter Name="ChangedBy" Type="String" /> 
        </InsertParameters> 
        <UpdateParameters> 
            <asp:Parameter Name="Number" Type="String" /> 
            <asp:Parameter Name="Task" Type="Int32" /> 
            <asp:Parameter Name="Frequency" Type="Int32" /> 
            <asp:Parameter Name="AssignedTo" Type="String" /> 
            <asp:Parameter Name="CompletionDate" Type="DateTime" /> 
            <asp:Parameter Name="DateCreated" Type="DateTime" /> 
            <asp:Parameter Name="DateChanged" Type="DateTime" /> 
            <asp:Parameter Name="CreatedBy" Type="String" /> 
            <asp:Parameter Name="ChangedBy" Type="String" /> 
            <asp:Parameter Name="original_AutoID" Type="Int32" /> 
            <asp:Parameter Name="original_Number" Type="String" /> 
            <asp:Parameter Name="original_Task" Type="Int32" /> 
            <asp:Parameter Name="original_Frequency" Type="Int32" /> 
            <asp:Parameter Name="original_AssignedTo" Type="String" /> 
            <asp:Parameter Name="original_CompletionDate" Type="DateTime" /> 
            <asp:Parameter Name="original_DateCreated" Type="DateTime" /> 
            <asp:Parameter Name="original_DateChanged" Type="DateTime" /> 
            <asp:Parameter Name="original_CreatedBy" Type="String" /> 
            <asp:Parameter Name="original_ChangedBy" Type="String" /> 
        </UpdateParameters> 
    </asp:SqlDataSource> 
    <asp:SqlDataSource ID="PIDataSource" runat="server" ConflictDetection="CompareAllValues" 
        ConnectionString="<%$ ConnectionStrings:TestDBConnectionString %>" DeleteCommand="DELETE FROM [tblEquipmentPartInventory] WHERE [PartNumber] = @original_PartNumber AND (([Number] = @original_Number) OR ([Number] IS NULL AND @original_Number IS NULL)) AND (([Description] = @original_Description) OR ([Description] IS NULL AND @original_Description IS NULL)) AND (([Location] = @original_Location) OR ([Location] IS NULL AND @original_Location IS NULL)) AND (([DateCreated] = @original_DateCreated) OR ([DateCreated] IS NULL AND @original_DateCreated IS NULL)) AND (([DateChanged] = @original_DateChanged) OR ([DateChanged] IS NULL AND @original_DateChanged IS NULL)) AND (([CreatedBy] = @original_CreatedBy) OR ([CreatedBy] IS NULL AND @original_CreatedBy IS NULL)) AND (([ChangedBy] = @original_ChangedBy) OR ([ChangedBy] IS NULL AND @original_ChangedBy IS NULL))" 
        InsertCommand="INSERT INTO [tblEquipmentPartInventory] ([PartNumber], [Number], [Description], [Location], [DateCreated], [DateChanged], [CreatedBy], [ChangedBy]) VALUES (@PartNumber, @Number, @Description, @Location, @DateCreated, @DateChanged, @CreatedBy, @ChangedBy)" 
        OldValuesParameterFormatString="original_{0}" SelectCommand="SELECT * FROM [tblEquipmentPartInventory]" 
        UpdateCommand="UPDATE [tblEquipmentPartInventory] SET [Number] = @Number, [Description] = @Description, [Location] = @Location, [DateCreated] = @DateCreated, [DateChanged] = @DateChanged, [CreatedBy] = @CreatedBy, [ChangedBy] = @ChangedBy WHERE [PartNumber] = @original_PartNumber AND (([Number] = @original_Number) OR ([Number] IS NULL AND @original_Number IS NULL)) AND (([Description] = @original_Description) OR ([Description] IS NULL AND @original_Description IS NULL)) AND (([Location] = @original_Location) OR ([Location] IS NULL AND @original_Location IS NULL)) AND (([DateCreated] = @original_DateCreated) OR ([DateCreated] IS NULL AND @original_DateCreated IS NULL)) AND (([DateChanged] = @original_DateChanged) OR ([DateChanged] IS NULL AND @original_DateChanged IS NULL)) AND (([CreatedBy] = @original_CreatedBy) OR ([CreatedBy] IS NULL AND @original_CreatedBy IS NULL)) AND (([ChangedBy] = @original_ChangedBy) OR ([ChangedBy] IS NULL AND @original_ChangedBy IS NULL))"
        <DeleteParameters> 
            <asp:Parameter Name="original_PartNumber" Type="String" /> 
            <asp:Parameter Name="original_Number" Type="String" /> 
            <asp:Parameter Name="original_Description" Type="String" /> 
            <asp:Parameter Name="original_Location" Type="String" /> 
            <asp:Parameter Name="original_DateCreated" Type="DateTime" /> 
            <asp:Parameter Name="original_DateChanged" Type="DateTime" /> 
            <asp:Parameter Name="original_CreatedBy" Type="String" /> 
            <asp:Parameter Name="original_ChangedBy" Type="String" /> 
        </DeleteParameters> 
        <InsertParameters> 
            <asp:Parameter Name="PartNumber" Type="String" /> 
            <asp:Parameter Name="Number" Type="String" /> 
            <asp:Parameter Name="Description" Type="String" /> 
            <asp:Parameter Name="Location" Type="String" /> 
            <asp:Parameter Name="DateCreated" Type="DateTime" /> 
            <asp:Parameter Name="DateChanged" Type="DateTime" /> 
            <asp:Parameter Name="CreatedBy" Type="String" /> 
            <asp:Parameter Name="ChangedBy" Type="String" /> 
        </InsertParameters> 
        <UpdateParameters> 
            <asp:Parameter Name="Number" Type="String" /> 
            <asp:Parameter Name="Description" Type="String" /> 
            <asp:Parameter Name="Location" Type="String" /> 
            <asp:Parameter Name="DateCreated" Type="DateTime" /> 
            <asp:Parameter Name="DateChanged" Type="DateTime" /> 
            <asp:Parameter Name="CreatedBy" Type="String" /> 
            <asp:Parameter Name="ChangedBy" Type="String" /> 
            <asp:Parameter Name="original_PartNumber" Type="String" /> 
            <asp:Parameter Name="original_Number" Type="String" /> 
            <asp:Parameter Name="original_Description" Type="String" /> 
            <asp:Parameter Name="original_Location" Type="String" /> 
            <asp:Parameter Name="original_DateCreated" Type="DateTime" /> 
            <asp:Parameter Name="original_DateChanged" Type="DateTime" /> 
            <asp:Parameter Name="original_CreatedBy" Type="String" /> 
            <asp:Parameter Name="original_ChangedBy" Type="String" /> 
        </UpdateParameters> 
    </asp:SqlDataSource> 
    <div align="left" style="width: 100%; bottom: 0px; position: absolute; left: 0px;"
        <telerik:RadMenu ID="RadMenu2" runat="server" Skin="Web20" Style="top: 0px; left: 0px" 
            Width="100%"
            <Items> 
                <telerik:RadMenuItem runat="server" Text="Task" NavigateUrl="~/Task.aspx"
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="Task History" NavigateUrl="~/TaskHistory.aspx"
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="Part Inventory" NavigateUrl="~/PartInventory.aspx"
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="Out of Service" NavigateUrl="~/OutOfService.aspx"
                </telerik:RadMenuItem> 
            </Items> 
        </telerik:RadMenu> 
    </div> 
</asp:Content> 
 

And the master:
<%@ Master Language="VB" AutoEventWireup="false" CodeBehind="Master2.master.vb" Inherits="New_Nexus_3.Master2" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
<head id="Head1" runat="server"
    <title>Nexus</title> 
    <script language="javascript" type="text/javascript"
 
    </script> 
    <asp:ContentPlaceHolder ID="head" runat="server"
    </asp:ContentPlaceHolder> 
</head> 
<%--Need master page bottom variable or something--%> 
<body style="margin: 0px"
    <form id="form1" runat="server"
    <telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True"
    </telerik:RadScriptManager> 
    <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Web20" /> 
    <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" SkinID="MasterSkin" /> 
    <div style="position: absolute; top: 0px; left: 0px; z-index: 200; height: 140px; 
        width: 294px; border-bottom-style: double; border-bottom-width: 4px; border-bottom-color: #6186C7;"> 
        <asp:ImageButton ID="ImageButton1" runat="server" Height="140" Width="294" ImageUrl="~/Images/JMW-Nexus-logo-3.jpg" 
            ToolTip="Nexus Home" PostBackUrl="~/Default.aspx" /> 
    </div> 
    <div style="position: absolute; z-index: 190; top: 0px; right: 0px; left: 294px; 
        border-left-style: double; border-left-width: 4px; border-left-color: #6186C7;"> 
        <telerik:RadMenu ID="RadMenu1" runat="server" CssClass="RadMenu_rtl" Skin="Web20" 
            Width="100%" CausesValidation="False" EnableSelection="False"
            <Items> 
                <telerik:RadMenuItem runat="server" Text="Login/Logoff"
                </telerik:RadMenuItem> 
                <telerik:RadMenuItem runat="server" Text="Options"
                    <Items> 
                        <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1"
                        </telerik:RadMenuItem> 
                        <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2"
                        </telerik:RadMenuItem> 
                        <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 3"
                        </telerik:RadMenuItem> 
                        <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 4"
                        </telerik:RadMenuItem> 
                        <telerik:RadMenuItem runat="server" Text="Skin"
                            <Items> 
                                <telerik:RadMenuItem runat="server" Text="Black"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Default"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Forest"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Hay"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Office2007"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Outlook"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Simple"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Sitefinity"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Sunset"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Telerik"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Vista"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Web20"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="WebBlue"
                                </telerik:RadMenuItem> 
                                <telerik:RadMenuItem runat="server" Text="Windows7"
                                </telerik:RadMenuItem> 
                            </Items> 
                        </telerik:RadMenuItem> 
                    </Items> 
                </telerik:RadMenuItem> 
            </Items> 
        </telerik:RadMenu> 
    </div> 
    <div style="position: absolute; left: 0px; bottom: 0px; width: 294px; vertical-align: bottom; 
        z-index: 210;"> 
        <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Skin="Web20" Width="294px" 
            AllowCollapseAllItems="True" ExpandMode="SingleExpandedItem"
            <Items> 
                <telerik:RadPanelItem runat="server" Text="Sales"
                    <Items> 
                        <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 1" NavigateUrl="~/SalesMenu.aspx"
                        </telerik:RadPanelItem> 
                        <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 2" Target="_parent"
                        </telerik:RadPanelItem> 
                        <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 3"
                        </telerik:RadPanelItem> 
                    </Items> 
                </telerik:RadPanelItem> 
                <telerik:RadPanelItem runat="server" Text="Production"
                </telerik:RadPanelItem> 
                <telerik:RadPanelItem runat="server" Text="Purchasing"
                    <Items> 
                        <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 1"
                        </telerik:RadPanelItem> 
                        <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 2"
                        </telerik:RadPanelItem> 
                    </Items> 
                </telerik:RadPanelItem> 
                <telerik:RadPanelItem runat="server" Text="Inventory" NavigateUrl="~/Inventory.aspx"
                </telerik:RadPanelItem> 
                <telerik:RadPanelItem runat="server" Text="Maintenance"
                    <Items> 
                        <telerik:RadPanelItem runat="server" Text="Equipment" NavigateUrl="~/EquipmentPages.aspx"
                        </telerik:RadPanelItem> 
                        <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 2"
                        </telerik:RadPanelItem> 
                        <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 3"
                        </telerik:RadPanelItem> 
                    </Items> 
                </telerik:RadPanelItem> 
                <telerik:RadPanelItem runat="server" Text="H.R."
                </telerik:RadPanelItem> 
                <telerik:RadPanelItem runat="server" Text="Tools"
                    <Items> 
                        <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 1"
                        </telerik:RadPanelItem> 
                        <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 2"
                        </telerik:RadPanelItem> 
                        <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 3"
                        </telerik:RadPanelItem> 
                        <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 4"
                        </telerik:RadPanelItem> 
                    </Items> 
                </telerik:RadPanelItem> 
                <telerik:RadPanelItem runat="server" Text="Library"
                    <Items> 
                        <telerik:RadPanelItem runat="server" Text="Child RadPanelItem 1"
                        </telerik:RadPanelItem> 
                    </Items> 
                </telerik:RadPanelItem> 
            </Items> 
        </telerik:RadPanelBar> 
    </div> 
    <div id="SideDiv" style="padding: 8px; position: absolute; width: 278px; top: 148px; 
        bottom: 226px; left: 0px"> 
        <asp:ContentPlaceHolder ID="ContentPlaceHolderSide" runat="server"
        </asp:ContentPlaceHolder> 
    </div> 
    <div id="NameDiv" style="position: absolute; z-index: 195; top: 2px; left: 318px; 
        color: #FFFFFF; font-size: 20px"> 
        <asp:Label ID="NameLabel" runat="server" Text="Your Name" Font-Names="Book Antiqua"></asp:Label> 
    </div> 
    <div id="MainDiv" style="position: absolute; z-index: 150; top: 26px; right: 0px; 
        bottom: 0px; left: 294px; border-left-style: double; border-left-width: 4px; 
        border-left-color: #6186C7;"> 
        <asp:ContentPlaceHolder ID="ContentPlaceHolderMain" runat="server"
        </asp:ContentPlaceHolder> 
    </div> 
    </form> 
</body> 
</html> 
 

Uh...  Sorry it's so long, but the problem should be easy enough to find.

Thanks,
Chris

Svetlina Anati
Telerik team
 answered on 14 Jun 2010
4 answers
227 views
Hello,

I am using RadEditor for MOSS v. 5.7.2.0 to edit wiki pages in MOSS 2007 SP2.

When I create a link to a wiki page, which does not yet exist in the wiki library, using the double square breakets [[new wiki page name]] and the page name contains a german umlaut letter (ä, ö and ü) for e.g. [[Äbc]], the link in display mode creates a page with name "bc" instead of "Äbc", which is expected. The problem does not occur, when using the build-in SharePoint RichTextEditor.

Best regards,
Dimitar Kuzumski
Berufsgenossenschaft Metall Nord Süd
Mainz, Germany
Dimitar
Top achievements
Rank 1
 answered on 14 Jun 2010
5 answers
199 views
I want to use  RadTooltip as a clever  type of  " messagebox " with a few standard asp controls on it. , is that possible. ?
To use  Radtooltip would be very usefull in my project. 

I have all code in place the only obstacle left is that I cant find out how to show RadTooltip1 from code behind when I want to.

I dont want to show the tooltip using the standard methods, like on_click, got focus, 
 
Just a simple line of in code behind (vb)  
radtooltip.show() ..  (It don't work) .. Do I need java script on the aspx code to ? 

 Best regards
Johan 
Svetlina Anati
Telerik team
 answered on 14 Jun 2010
1 answer
191 views
I am trying to pre-populate the RadFileExplorer's ViewPaths property when an item is selected for editing in the RadGrid control.  In other words, when a user needs to update a record in the grid, the file explorer should default to a specific directory based on certain criteria of the record.  However, when an attempt to locate the file explorer control is made, it cannot be found always resulting in a null assignment.  Is there a particular event to use prior to drawing the EditItemTemplate which contains the file explorer control?  Is there a better way to write the code to perform this dynamic behavior?  Below is some code snippets for the design and C#.

Thanks in advance

Design Page:
<telerik:RadGrid ID="exampleRadGrid" OnItemCommand="exampleRadGrid_ItemCommand"
   <Columns> 
       <telerik:GridTemplateColumn UniqueName="FileName" DataField="FileName" HeaderText="FileName"  SortExpression="FileName"
           <ItemTemplate>                                            
              <asp:Label runat="server" Text='<%#Eval("FileName") %>' ID="fileNameLabel" /> 
           </ItemTemplate> 
           <EditItemTemplate> 
              <telerik:RadTextBox runat="server" Text='<%# Bind("FileName") %>' ID="fileNameRadTextBox" /> 
              <telerik:RadFileExplorer ID="fileNameRadFileExplorer" runat="server" /> 
           </EditItemTemplate> 
       </telerik:GridTemplateColumn> 
   </Columns> 
</telerik:RadGrid> 
 

C# Code:
protected void exampleRadGrid_ItemCommand(object source, GridCommandEventArgs e) 
   RadFileExplorer fileExplorer1 = (RadFileExplorer)FindControl("fileNameRadFileExplorer"); 
   RadFileExplorer fileExplorer2 = e.Item.FindControl("fileNameRadFileExplorer"as RadFileExplorer;             
   // Both variables result in null. 

Fiko
Telerik team
 answered on 14 Jun 2010
1 answer
144 views
Hi !

I've got dropdownlists in ItemTemplates of a DataGrid. Those dropdownlists are meant to update other ones (within the same DataGridItem) The DataGrid is itself in a Repeater.

On the ItemDataBound event of the DataGrid, I populate the AjaxSettings collection of the RadAjaxManager control in the webform.

All the updates (AJAX PostBack calls) work very well but all dropdownlists on the page "flash" although they do not get updated (they're not meant to either !)....?! Some of the dropdowns flashing are not added to the AjaxSettings collection (on purpose)..... There are other controls on the webform (i.e. Labels) and they remain "static" so is the rest of the webform..... only dropdownlists disappear and re-appear after the AJAX Postback is completed.......

Is that behaviour "by design" ?! Can that be avoided ?!

Thank you !

Regards,

Benoit
Maria Ilieva
Telerik team
 answered on 14 Jun 2010
1 answer
167 views
Hello,

I have a RadGrid that has grouping enabled, and all works fine. Except, I can't stop the grid from sorting itself by the field used for grouping. I want the grid to just dispaly the data in the order the data is provided. I have all the sorting disabled, but it still sorts by default. Does anyone have any ideas??

Thanks,
J
Shinu
Top achievements
Rank 2
 answered on 14 Jun 2010
1 answer
278 views
I've gone over the example of using the attachment column with Radgrid over and over.  I still can't get it to work.  What I don't understand, is that aren't these controls supposed to save time?  This control doesn't even save the information to the database like the gridbinaryimage column does.  Those of us trying to build customized CMS controls have to spend a great deal of extra time to try to get it working with a database.

I know the whole update thing in a grid isn't so great.  Is it better just to have a details page with a file upload control instead?  How does that work if you want to upload the content to a varbinary column?

EDIT:  I removed the end-of-a-bad day stuff.  Sorry about that.
Veli
Telerik team
 answered on 14 Jun 2010
2 answers
129 views

i am creating a custom control (RCB) that extends RadComboBox.
i want to add a child control(textbox) for the RCB, so whenever an RCB is created,  a textbox will be created.
i managed to do this by overrideing OnPagePreLoad of RadComboBox, and add Page.Form.Controls.Add(textbox);

everything works fine (ie. textbox is created with every RadComboBox) untill i use RCB in a gridview edit panel (where only RadComboBox is created  and not the textbox).

how can i fix this issue?is there a better way to add a control to another control?

 

 

rashad kabbara
Top achievements
Rank 1
 answered on 14 Jun 2010
1 answer
85 views
We have a RadToolTip that opens up some news items on our site, everything works fine as far as opening and closing it but the problem happens when the tooltip gets closed and the user goes to another page and then hits the back button.  The ToolTip then fires on that page load.  Is there an easy way to stop that?
Svetlina Anati
Telerik team
 answered on 14 Jun 2010
13 answers
343 views
Hi Telerik team,
i want to use rad moss editor,

problem with content editor webpart is, it is using static urls, when i try to deploy the sharepoint site to another it's not changing the urls in the content.

so all the urls on the deployed server still pointing to the dev server,

is this problem solved by RAD editor?

can i use rad edior for this purpose.
is it only use relative urls?

thanks
Praveen.
Stanimir
Telerik team
 answered on 14 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?