Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
I have a tab strip that is built dynamically by binding a user control to the pageview of my tab strip. I load one control into a pageview for every row of data that is retireived from the database. This seems to work fine except when I delete a row. I am calling clear on the tab strip and pageviews and then re-add them again based on re-querying the database. (There are triggers in the database that change data depending on which tab was deleted so just deleting the tab is not an option) The problem is that the tabs still display the old data even after calling clear on both objects. For example, if I have 5 tabs and delete one, when the page repaints I still have 5 tabs but the one that was deleted has no data in it even though 4 rows are returned from the database and I have only created 4 tabs and pageviews. Any help or guidence would be greatly appreciated.
Yana
Telerik team
 answered on 14 Jun 2010
1 answer
198 views
Hello guys.

I'm trying to upload some videos using radupload, but my page get a error, and I can't to debug it.

The file extension is .flv

Are there a problem with video uploads?

Regards.
T. Tsonev
Telerik team
 answered on 14 Jun 2010
1 answer
320 views
Hello,

Is it possible to set the background color of specific rows in the RadGrid server side using a style?  I am able to set the background color of the grid rows using the backcolor, but would like to use a style instead as part of validation that a required checkbox on a row is selected.

Thanks,
Shinu
Top achievements
Rank 2
 answered on 14 Jun 2010
2 answers
148 views
We are using the RadRotator on a couple of our pages.  The control is listing all the items down the page and not rotating.  It did work at one time and we made no changes.

Thanks
Lini
Telerik team
 answered on 14 Jun 2010
4 answers
120 views
Hi there.

I Have found a problem in your LoadOnDemand Example,  try to change the selected index to the last tab like this:

      
    <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="2" OnPageViewCreated="RadMultiPage1_PageViewCreated" CssClass="multiPage"> 
                </telerik:RadMultiPage> 
                <telerik:RadTabStrip OnClientTabSelecting="onTabSelecting" ID="RadTabStrip1" SelectedIndex="2" CssClass="tabStrip" 
                    runat="server" MultiPageID="RadMultiPage1" Skin="Office2007" OnTabClick="RadTabStrip1_TabClick" Orientation="HorizontalBottom"> 
                </telerik:RadTabStrip> 


And in the code-behind change to:
    protected void Page_Load(object sender, System.EventArgs e) 
        { 
            if (!Page.IsPostBack) 
            { 
                AddTab("Customers"); 
                //AddPageView(RadTabStrip1.FindTabByText("Customers")); 
                AddTab("Products"); 
                AddTab("Orders"); 
                AddPageView(RadTabStrip1.FindTabByText("Orders")); 
            } 
        } 


The last tab although is selected, the user control is not loaded and you have to select another tab and then return to it.

I'm using RadControls for ASP.NET AJAX Q1 2010, and i need, under certain conditions, start on another tab and not on the 1st one.

Thks.
João Matos.



João
Top achievements
Rank 1
 answered on 14 Jun 2010
1 answer
162 views
I want to be able to simply redirect to another page providing the value coming back from the radconfirm is a "Yes". However, when the server side script executes, the page just hangs. What am I missing?

I have the following code in a server side button click event:
<code>
RadAjaxManager1.ResponseScripts.Add("radconfirm('No more EDLogs exist for the remaining Chart files. Do you want to be redirected to the page where you can enter more EDLogs?', confirmCallBackEDLogFn);"); 
</code>

I have the following code in my html:
<code>

<telerik:RadWindowManager ID="RadWindowManager1" runat="server">
    </telerik:RadWindowManager>

    <script type="text/javascript">
        function confirmCallBackChartFn(arg)
            {
                if(arg == "Yes")
                    {
                       window.location.href = "../scan/viewchart.aspx"; // Set the url to redirect
                    }
            }
           
        function confirmCallBackEDLogFn(arg)
            {
                if(arg == "Yes")
                    {
                       window.location.href = "../scan/viewchart.aspx"; // Set the url to redirect
                    }
            }
    </script>

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Inline">
        <AjaxSettings>
             <telerik:AjaxSetting AjaxControlID="chkBulk">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="chkBulk" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadGridEDLogFiles">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGridEDLogFiles" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="chkEDLog">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="chkEDLog" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server">
    </telerik:RadAjaxLoadingPanel>
</code>

Fiko
Telerik team
 answered on 14 Jun 2010
7 answers
272 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
232 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
209 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
198 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?