Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
210 views
Currently when you drag an element to drop you can move it all around the page, which is good if you need to drop onto a different area, but for reordering a grid is there anyway to restrict the dragging to just the y-axis? 

Basically the same idea that Netflix has when you reorder your queue. 
Eyup
Telerik team
 answered on 20 Aug 2014
4 answers
170 views
One of my Radgrid is a bit wide and by scrolling to right, upon clicking one of the last column the Radgrid filter button, the filter menu is not displaying correctly on IE. I have  attached is screenshot of the issue. I even try using RadGrid's client-side OnFilterMenuShowing to point to the correct position. (http://www.telerik.com/forums/inconsistant-filter-menu-locations-on-radgrid)
Pavlina
Telerik team
 answered on 20 Aug 2014
1 answer
106 views
Hello ,

I have to find the previous sibling of the element when I press enter of the text .

 For example
<h1>Telerik editor Text</h1>

when i press enter in the H1 tag in between the this text "Telerik editor Text" then the editor we create two H1 tag either of adding br tag in between so for that I want the element before the cursor position.

For example : in between in this I have a cursor at this text "Telerik editor Text" at the "tele |"cursor position" so i want the "tele" element .
I have used the getselectionhtml but it return null value
Nikolay
Telerik team
 answered on 20 Aug 2014
9 answers
435 views
Hi,
I have some photos which are large as 3000px X 4000px.
When I open one of them in my ie or chrome browser, the browser set it's size to browser size automatically. Bu when I open that photo in a radwindow (and resize radwindow), windows shows scrollbars. Is there any way to set image size to its parent container(radwindow).

I used this code to open a photo in a radwindow. (sender is a imagebutton).

        function OpenWindow(sender) {
            var link = sender.src;
            var wnd = window.radopen(link, null);
            wnd.set_status("");
            wnd.setSize(400, 400);
            return false;
        }

The Result is in the attachment. I want to shrink image automatically to its parent size.

Many thanks.

gozcelik
Top achievements
Rank 1
 answered on 20 Aug 2014
1 answer
145 views
Hello Support,

We are using 2013.1.220.32 version of telerik rad controls.

We are using multiple RadTabStrip as a sub Main Tab and inside that as a Sub Tab. We also have multiple RadTreeview inside that RadTabs. We have also used rad splitters and rad panes on that page in user control

While accessing that page on IE8 native browser It's throwing unable to open error message dialogue. Attaching snapshot here.

Thanks.
Princy
Top achievements
Rank 2
 answered on 20 Aug 2014
5 answers
1.0K+ views
Dear Team,

I have a rad tree view placed inside rad combo box. I need to retrieve the child node of the node inside the rad tree view dynamically. The rad tree view inside the rad combo box uses web services call for load on demand.

For example, if the tree node structure inside the rad combo box is as follows:

         Node 1
             Level 1
                  Level 2
 
        Node 2
             Level 1
                   Level 2

Initially, the combo box will display upon drop down Node 1 & Node 2. However, if we click Node 1 or Node 2, this will populate the child nodes.

My requirement is that I should be able to traverse from Node 1 through the deepest level via JavaScript API so that I can compare if this is the node or level that needs to remain selected on the rad combo box.

Kindly assist through me on achieving this.

Thanks in advance.


Shinu
Top achievements
Rank 2
 answered on 20 Aug 2014
4 answers
158 views
Scenario:
Everything working great by dynamically generating columns and dynamically placing controls/content within them. So far... excellent!
So say i have a LayoutRow with 1 column span=12 and underneath that i have another LayouRow with 3 columns each with span=4.
In the column in the first row is a wide header graphic.
When i resize to a mobile device, my 3 columns in row 2 stack upon each other quite nicely,but obviously row 1 with the wide header graphic forces the horizontal scrollbars.

Question:
When the viewport/browser is at a given size/breakpoint, let's say 360px (xs).... Is there any object(RadPageLayout, LayoutRow, LayoutColumn) that knows which breakpoint is being applied? Is it xs? sm? md? lg? or xl?. Can i "read" that property from any of the controls .. like If myLayoutColumn.SpanXs = True or myLayoutColumn.breakpoint = ?

Goal:
I want to be able to read the breakpoint from the Rad control and then correspondingly and programmatically insert a smaller graphic into row 1 so that the 360px will take up 100% of the screen with no horizontal scrollbars.

Thanks  in advance,

Dana
Ivan Zhekov
Telerik team
 answered on 20 Aug 2014
2 answers
184 views
Hi

I have my validationsummary control in the ContentTemplate of RadNotification and it used to work perfectly fine until I have upgraded the Telerik to the latest version. It is now not displaying the validation summary but pops up a blank notification. It actually displays anything that I add in the contenttemplate but not the validationsummary.
Do  you think there is anything that has knocked out in the latest version?
Rama
Top achievements
Rank 1
 answered on 20 Aug 2014
2 answers
247 views
Hi,

           I am using a Rad List View with the Layout Template,Item Template and EditItem Template...while clicking the Edit it is automatically switching to the EditItemTemplate,In the EditItemTemplate I have two buttons Update and Cancel when i click cancel it is automatically coming back to the Item Template  but when i click on the Update Button on the EditItemTemplate it is not returning back to the ItemTemplate. I have tried the solutions in the Forum but nothing worked fine.

          I have attached my code here.


 <rad:RadFormDecorator ID="RadFormDecorator1"  runat="server" EnableRoundedCorners="true" />
    <rad:RadSkinManager  ID="QsfSkinManager" runat="server" ShowChooser="false"></rad:RadSkinManager>
    <rad:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <rad:AjaxSetting AjaxControlID="rcmbchecklist">
                <UpdatedControls>
                    <rad:AjaxUpdatedControl ControlID="ListViewPanel" />
                </UpdatedControls>
            </rad:AjaxSetting>
             <rad:AjaxSetting AjaxControlID="rcmbchecklist">
                <UpdatedControls>
                    <rad:AjaxUpdatedControl ControlID="ListViewPanel" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </rad:AjaxSetting>
            <rad:AjaxSetting AjaxControlID="ListViewPanel">
                <UpdatedControls>
                    <rad:AjaxUpdatedControl ControlID="ListViewPanel" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </rad:AjaxSetting>
            <rad:AjaxSetting AjaxControlID="rcmblibrary">
                <UpdatedControls>
                    <rad:AjaxUpdatedControl ControlID="rcmbsection" />
                </UpdatedControls>
            </rad:AjaxSetting>
            <rad:AjaxSetting AjaxControlID="rcmbsection">
                <UpdatedControls>
                    <rad:AjaxUpdatedControl ControlID="rcmbchecklist" />
                </UpdatedControls>
            </rad:AjaxSetting>
            <rad:AjaxSetting AjaxControlID="rcmbchecklist">
                <UpdatedControls>
                    <rad:AjaxUpdatedControl ControlID="rlvsessionrecordings" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </rad:AjaxSetting>
            <rad:AjaxSetting AjaxControlID="rlvsessionrecordings">
                <UpdatedControls>
                    <rad:AjaxUpdatedControl ControlID="rlvsessionrecordings" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <rad:AjaxUpdatedControl ControlID="RadWindowManager1" />
                </UpdatedControls>
            </rad:AjaxSetting>
            <rad:AjaxSetting AjaxControlID="btnadd">
                <UpdatedControls>
                    <rad:AjaxUpdatedControl ControlID="rlvsessionrecordings" LoadingPanelID="RadAjaxLoadingPanel1" />
                    <rad:AjaxUpdatedControl ControlID="lblMessage" />
                    <%-- <rad:AjaxUpdatedControl ControlID="hfdChecklistitem" />--%>
                    <rad:AjaxUpdatedControl ControlID="rtxtchecklistitem" UpdatePanelRenderMode="Inline" />
                </UpdatedControls>
            </rad:AjaxSetting>
            <rad:AjaxSetting AjaxControlID="rcmblibrary">
                <UpdatedControls>
                    <rad:AjaxUpdatedControl ControlID="rcmbsection" LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </rad:AjaxSetting>
            <rad:AjaxSetting AjaxControlID="rcmbsection">
                <UpdatedControls>
                    <rad:AjaxUpdatedControl ControlID="rcmbchecklist" LoadingPanelID="RadAjaxLoadingPanel2" />
                </UpdatedControls>
            </rad:AjaxSetting>
          
        </AjaxSettings>
    </rad:RadAjaxManager>
     <rad:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel2" runat="server" BackgroundPosition="Center" Skin="Silk" InitialDelayTime="0" MinDisplayTime="1000" Transparency="25"></rad:RadAjaxLoadingPanel>
    <rad:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="Top" Skin="Silk" InitialDelayTime="0" MinDisplayTime="1000" Transparency="25">
    
    </rad:RadAjaxLoadingPanel>
    <asp:ValidationSummary ID="ValidationSummaryctrl" ShowMessageBox="true" ShowSummary="false"
        runat="server" HeaderText="The following error(s) have occurred:" />
    <asp:Label ID="lblMessage" runat="server" Font-Bold="true" ForeColor="Green" Style="font-weight: 500"
        Visible="false"></asp:Label>
    <table style="width: 35%; height: 400px;">
        <tr>
            <td class="RequiredField">
                <asp:Label ID="lbllibrary" runat="server" Text="Library"></asp:Label>
            </td>
            <td style="width: 80%">
                <rad:RadComboBox ID="rcmblibrary" runat="server" DataValueField="LibraryID" DataTextField="LibTitle"
                    AutoPostBack="true" OnSelectedIndexChanged="rcmblibrary_SelectedIndexChanged"
                    CausesValidation="false">
                </rad:RadComboBox>
            </td>
            <td class="RequiredField">
                <asp:Label ID="lblsection" runat="server" Text="Section"></asp:Label>
            </td>
            <td colspan="1">
                <rad:RadComboBox ID="rcmbsection" runat="server" DataValueField="SectionID" DataTextField="SectionTitle"
                    AutoPostBack="true" OnSelectedIndexChanged="rcmbsection_SelectedIndexChanged"
                    CausesValidation="false">
                </rad:RadComboBox>
            </td>
            <td class="RequiredField">
                <asp:Label ID="lblchecklist" runat="server" Text="Checklist"></asp:Label>
            </td>
            <td>
                <rad:RadComboBox ID="rcmbchecklist" runat="server" DataValueField="ChecklistHeaderID"
                    DataTextField="ChecklistName" AutoPostBack="true" OnSelectedIndexChanged="rcmbchecklist_SelectedIndexChanged"
                    CausesValidation="false">
                </rad:RadComboBox>
            </td>
        </tr>
        <tr>
            <td class="RequiredField">
                <asp:Label ID="lblchecklistitem" runat="server" Text="ChecklistItem  "></asp:Label>
            </td>
            <td colspan="3">
                <%--  <asp:HiddenField runat="server" ID="hfdChecklistitem" />--%>
                <rad:RadTextBox ID="rtxtchecklistitem" runat="server" Width="200px">
                </rad:RadTextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ErrorMessage="Checklist Item is Required."
                    Display="None" ControlToValidate="rtxtchecklistitem"></asp:RequiredFieldValidator>
                <asp:Button ID="Button3" Text="Add Checklist Item" CssClass="FormButton" Width="120px"
                    runat="server" OnClick="btnAddChecklistItems_OnClick"></asp:Button>
            </td>
            <%-- <td colspan="1">
                <asp:Button ID="btnadd" Text="Add Checklist Item" CssClass="FormButton" Width="120px"
                    runat="server" OnClick="btnAddChecklistItems_OnClick"></asp:Button>
            </td>--%>
        </tr>
        <tr style="height: 200%;">
            <td colspan="6" style="text-top;">
                <rad:RadDataPager ID="RadDataPager1" runat="server" PagedControlID="rlvsessionrecordings"
                    PageSize="25">
                    <Fields>
                        <rad:RadDataPagerButtonField FieldType="FirstPrev" />
                        <rad:RadDataPagerButtonField FieldType="Numeric" PageButtonCount="5" />
                        <rad:RadDataPagerButtonField FieldType="NextLast" />
                        <rad:RadDataPagerPageSizeField PageSizeComboWidth="60" PageSizeText="Page size: " />
                        <rad:RadDataPagerGoToPageField CurrentPageText="Page: " TotalPageText="of" SubmitButtonText="Go"
                            TextBoxWidth="30" />
                        <rad:RadDataPagerTemplatePageField>
                            <PagerTemplate>
                                <b>Items
                                    <asp:Label runat="server" ID="CurrentPageLabel" Text="<%# Container.Owner.StartRowIndex+1%>" />
                                    to
                                    <asp:Label runat="server" ID="TotalPagesLabel" Text="<%# Container.Owner.TotalRowCount > (Container.Owner.StartRowIndex+Container.Owner.PageSize) ? Container.Owner.StartRowIndex+Container.Owner.PageSize : Container.Owner.TotalRowCount %>" />
                                    of
                                    <asp:Label runat="server" ID="TotalItemsLabel" Text="<%# Container.Owner.TotalRowCount%>" />
                                    <br />
                                </b>
                            </PagerTemplate>
                        </rad:RadDataPagerTemplatePageField>
                    </Fields>
                </rad:RadDataPager>
                <rad:RadSplitter ID="radsplitter2" runat="server" Orientation="Horizontal" Width="1150"
                    Height="450" BorderStyle="Solid" BackColor="#b2e1ff">
                    <rad:RadPane ID="RadPane1" runat="server" Scrolling="Y" BorderStyle="Solid" BackColor="#b2e1ff"
                        Height="390">
                        <asp:Panel ID="Panel" runat="server">
                            <rad:RadWindowManager ID="RadWindowManager1" runat="server">
                                <Windows>
                                    <rad:RadWindow ID="DialogWindow" runat="server" Modal="True" Title="Picture" Top="-10"
                                        Height="400" Left="-10" AutoSizeBehaviors="Width, Height" AutoSize="true" KeepInScreenBounds="false"
                                        InitialBehavior="None" ShowContentDuringLoad="false" VisibleStatusbar="false"
                                        Behaviors="Close , Reload" OnClientShow="OnClientShow" VisibleOnPageLoad="false">
                                        <ContentTemplate>
                                            <div style="width: 200px; height: 200px;">
                                                <rad:RadBinaryImage ID="RadBinaryImage1" runat="server" AlternateText="Contact Photo"
                                                    ToolTip='<%#Eval("ChecklistItemDesc") %>' Width="400px" Height="200px" ResizeMode="Fill"
                                                    AutoAdjustImageControlSize="true" DataValue='<%# Eval("Picture") == DBNull.Value? new System.Byte[0]: Eval("Picture") %>'>
                                                </rad:RadBinaryImage>
                                            </div>
                                        </ContentTemplate>
                                    </rad:RadWindow>
                                </Windows>
                            </rad:RadWindowManager>
                            <rad:RadAjaxPanel ID="RadAjaxPane1" runat="server" ClientEvents-OnRequestStart="OnRequestStart"
                                LoadingPanelID="RadAjaxLoadingPanel1">
                                <asp:Panel ID="ListViewPanel" runat="server">
                                    <rad:RadListView ID="rlvsessionrecordings" runat="server" ItemPlaceholderID="pnlholder"
                                        Width="100%" AllowPaging="true" OnNeedDataSource="rlvsessionrecordings_NeedDataSource"
                                        OnItemDataBound="rlvsessionrecordings_OnItemDataBound" OnItemCommand="rlvsessionrecordings_ItemCommand" 
                                        BackColor="#b2e1ff" BorderStyle="Solid">
                                        <LayoutTemplate>
                                            <fieldset style="width: 100%; border-style: solid">
                                                <legend><strong>
                                                    <h2>
                                                        Checklist Header</h2>
                                                </strong></legend>
                                                <table cellpadding="0" cellspacing="0" width="100%;" style="clear: both; background-color: #b2e1ff">
                                                    <tr>
                                                        <td>
                                                            <asp:PlaceHolder ID="pnlholder" runat="server"></asp:PlaceHolder>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </fieldset>
                                        </LayoutTemplate>
                                        <ItemTemplate>
                                            <fieldset style="float: left; width: 98%; height: 240px; overflow: auto; background-color: b2e1ff;">
                                                <legend><b>
                                                    <%# Eval("ChecklistName")%></b></legend>
                                                <table cellpadding="0" cellspacing="0" width="85%">
                                                    <tr>
                                                        <td class="RequiredField" style="width: 20%">
                                                            Checklist Item
                                                        </td>
                                                        <td class="RequiredField" style="width: 40%;">
                                                            <rad:RadTextBox ID="RadTextBox1" TextMode="MultiLine" Rows="3" Width="280px" Height="50px"
                                                                runat="server" Text='<%#Bind("ChecklistItemDesc")%>' Enabled="false">
                                                            </rad:RadTextBox>
                                                        </td>
                                                        <td class="RequiredField" style="width: 25%" colspan="3">
                                                            Checklist Status
                                                        </td>
                                                        <td>
                                                            <rad:RadComboBox ID="ddlStatus" runat="server" DataValueField="StatusID" DataTextField="StatusDesc"
                                                                Width="100px" DropDownWidth="200" AutoPostBack="true">
                                                            </rad:RadComboBox>
                                                        </td>
                                                        <td class="RequiredField" style="width: 25%" colspan="3">
                                                            Library :
                                                            <%# Eval("LibTitle")%>
                                                        </td>
                                                        <td class="RequiredField" style="width: 25%" colspan="2">
                                                            Section :
                                                            <%# Eval("SectionTitle")%>
                                                        </td>
                                                    </tr>
                                                    <tr style="height: 20px">
                                                    </tr>
                                                    <tr>
                                                        <td class="RequiredField">
                                                            Findings
                                                        </td>
                                                        <td>
                                                            <rad:RadTextBox ID="RadTextBox2" TextMode="MultiLine" Rows="3" Width="280px" Height="50px"
                                                                runat="server" Text='<%#Bind("Findings")%>' Enabled="false">
                                                            </rad:RadTextBox>
                                                        </td>
                                                        <td class="RequiredField" colspan="3">
                                                            Recommendation
                                                        </td>
                                                        <td colspan="3">
                                                            <rad:RadTextBox ID="txtrecommendation" runat="server" TextMode="MultiLine" Rows="3"
                                                                Width="300px" Height="50px" Text=' <%# Eval("Recommendation")%>' Enabled="false">
                                                            </rad:RadTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr style="height: 20px">
                                                    </tr>
                                                    <tr>
                                                        <td class="RequiredField" style="width: 20%">
                                                            Percentage of Compliance
                                                        </td>
                                                        <td class="RequiredField" style="width: 13%;">
                                                            <rad:RadNumericTextBox ID="RadNumericTextBox1" runat="server" Enabled="false" Text='<%#Bind("PercentCompliant")%>'>
                                                            </rad:RadNumericTextBox>
                                                        </td>
                                                        <td colspan="3" style="text-align: left;">
                                                            <asp:Label ID="lvlbPicture" runat="server" Text="Picture" CssClass="RequiredField"
                                                                Visible='<%#LinkPictureVisibility(Eval("InspectionChecklistItemID")) %>'></asp:Label>
                                                            <asp:LinkButton runat="server" ID="lvlbtnImgView" CommandName="ViewImg" Text="View"
                                                                CausesValidation="false" ForeColor="BlueViolet" Visible='<%#LinkPictureVisibility(Eval("InspectionChecklistItemID")) %>'>
                                                            </asp:LinkButton>
                                                            <asp:Label ID="lblImageName" Text='<%# Eval("ImageName")%>' ForeColor="Green" Font-Bold="true"
                                                                runat="server" Visible='<%#LinkPictureNameVisibility(Eval("InspectionChecklistItemID")) %>'></asp:Label>
                                                        </td>
                                                        <td colspan="2">
                                                            <asp:Label ID="vllblDocument" runat="server" Text="Document" CssClass="RequiredField"
                                                                Visible='<%#LinkDocVisibility(Eval("InspectionChecklistItemID")) %>'></asp:Label>
                                                            <asp:HiddenField ID="hInspectionChecklistItemID" runat="server" Value='<%#Eval("InspectionChecklistItemID") %>' />
                                                            <asp:LinkButton runat="server" ID="vllbtnDocView" CommandName="View" Text="View"
                                                                CausesValidation="false" ForeColor="BlueViolet" Visible='<%#LinkDocVisibility(Eval("InspectionChecklistItemID")) %>'>
                                                            </asp:LinkButton>
                                                            <asp:Label ID="lblDocumentName" Text='<%#Eval("FullFileName")%>' runat="server" ForeColor="Green"
                                                                Font-Bold="true" Visible='<%#LinkDocNameVisibility(Eval("DocumentID")) %>'></asp:Label>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="7" style="text-align: center;">
                                                            <asp:Button ID="btnedit" CommandName="Edit" Text="Edit" CssClass="FormButton" Width="55px"
                                                                runat="server" CausesValidation="false"></asp:Button>
                                                            &nbsp &nbsp
                                                            <asp:Button ID="btndelete" CommandName="Delete" Text="Delete" CssClass="FormButton"
                                                                Width="55px" runat="server" CausesValidation="false" OnClientClick="javascript:if(!confirm('Are you sure you want to remove this item?')){return false;}">
                                                            </asp:Button>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </fieldset>
                                        </ItemTemplate>
                                        <EditItemTemplate>
                                            <fieldset style="float: left; width: 98%; overflow: auto; height: 240px; background-color: #B6CCF0">
                                                <legend><b>
                                                    <%# Eval("ChecklistItemDesc") %></b> </legend>
                                                <table cellpadding="0" cellspacing="0" width="85%">
                                                    <tr>
                                                        <td class="RequiredField" style="width: 20%">
                                                            Checklist Item
                                                            <asp:HiddenField ID="hfdDocumentID" runat="server" Value='<%#Eval("DocumentID") %>' />
                                                            <asp:HiddenField ID="hfdVersionID" runat="server" Value='<%#Eval("VersionID") %>' />
                                                            <asp:HiddenField ID="hInspectionChecklistItemID" runat="server" Value='<%#Eval("InspectionChecklistItemID") %>' />
                                                        </td>
                                                        <td class="RequiredField" style="width: 40%;">
                                                            <rad:RadTextBox ID="RadTextBox1" TextMode="MultiLine" Rows="3" Width="300px" Height="50px"
                                                                Enabled="false" runat="server" Text='<%#Bind("ChecklistItemDesc")%>'>
                                                            </rad:RadTextBox>
                                                            <asp:HiddenField ID="hfdPicture" runat="server" Value='<%#Eval("Picture") %>' />
                                                        </td>
                                                        <td class="RequiredField" style="width: 25%" colspan="4">
                                                            Library :
                                                            <%# Eval("LibTitle")%>
                                                        </td>
                                                        <td class="RequiredField" style="width: 25%" colspan="2">
                                                            Section :
                                                            <%# Eval("SectionTitle")%>
                                                        </td>
                                                    </tr>
                                                    <tr style="height: 20px">
                                                    </tr>
                                                    <tr>
                                                        <td class="RequiredField">
                                                            Findings
                                                        </td>
                                                        <td colspan="2">
                                                            <rad:RadTextBox ID="TextBox3" TextMode="MultiLine" Rows="3" Width="300px" Height="50px"
                                                                runat="server" Text='<%#Bind("Findings")%>'>
                                                            </rad:RadTextBox>
                                                            <asp:HiddenField ID="hfldid" runat="server" Value='<%#Eval("InspectionChecklistItemID") %>' />
                                                        </td>
                                                        <td class="RequiredField" colspan="3">
                                                            Recommendation
                                                        </td>
                                                        <td colspan="2">
                                                            <rad:RadTextBox ID="TextBox4" TextMode="MultiLine" Rows="3" Width="300px" Height="50px"
                                                                runat="server" Text='<%#Bind("Recommendation")%>'>
                                                            </rad:RadTextBox>
                                                        </td>
                                                    </tr>
                                                    <tr style="height: 20px">
                                                    </tr>
                                                    <tr>
                                                        <table>
                                                            <tr>
                                                                <td class="RequiredField" style="width: 11%">
                                                                    Percentage of Compliance
                                                                    <%-- <asp:Label ID="lblPercentageComplaint" runat="server" Text="Percentage of Compliance"></asp:Label>--%>
                                                                </td>
                                                                <td class="RequiredField" style="width: 23%; left: 50%; text-align: left;">
                                                                    <rad:RadNumericTextBox ID="TextBox6" ShowSpinButtons="true" runat="server" Text='<%#Bind("PercentCompliant")%>'>
                                                                    </rad:RadNumericTextBox>
                                                                </td>
                                                                <td class="RequiredField">
                                                                    <asp:Label ID="lblUploadPic" runat="server" Text="Upload Picture"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <rad:RadUpload ID="RadUpload1" runat="server" AllowedFileExtensions=".jpg,.jpeg,.gif,.png"
                                                                        ControlObjectsVisibility="None" InputSize="12" Width="180px" MaxFileInputsCount="1"
                                                                        OverwriteExistingFiles="true" CssClass="radUploadStyle">
                                                                    </rad:RadUpload>
                                                                    <asp:LinkButton runat="server" ID="lvlbtnImgRemove" CommandName="RemoveImg" Text="Remove"
                                                                        Visible='<%#LinkPictureVisibility(Eval("InspectionChecklistItemID")) %>' ForeColor="BlueViolet"
                                                                        OnClientClick="javascript:if(!confirm('Are you sure you want to remove this Picture?')){return false;}">
                                                                    </asp:LinkButton>
                                                                    <asp:LinkButton runat="server" ID="lvlbtnImgView" CommandName="ViewImg" Text="View"
                                                                        ForeColor="BlueViolet" Visible='<%#LinkPictureVisibility(Eval("InspectionChecklistItemID")) %>'>
                                                                    </asp:LinkButton>
                                                                    <asp:Label ID="lblImageName" Text='<%# Eval("ImageName")%>' ForeColor="Green" Font-Bold="true"
                                                                        runat="server" Visible='<%#LinkPictureNameVisibility(Eval("InspectionChecklistItemID")) %>'></asp:Label>
                                                                </td>
                                                                <td class="RequiredField">
                                                                    <asp:Label ID="lblUploadDoc" runat="server" Text="Upload Document"></asp:Label>
                                                                </td>
                                                                <td>
                                                                    <rad:RadUpload ID="RadUploadDocument" runat="server" AllowedFileExtensions=".pdf,.docx,.xlsx"
                                                                        ControlObjectsVisibility="None" OverwriteExistingFiles="true" InputSize="12"
                                                                        Width="160px" CssClass="radUploadStyle" MaxFileInputsCount="1">
                                                                    </rad:RadUpload>
                                                                    <asp:LinkButton runat="server" ID="LinkButton1" CommandName="RemoveDoc" Text="Remove"
                                                                        CausesValidation="false" Visible='<%#LinkDocVisibility(Eval("InspectionChecklistItemID")) %>'
                                                                        ForeColor="BlueViolet" OnClientClick="javascript:if(!confirm('Are you sure you want to remove this Document?')){return false;}">
                                                                    </asp:LinkButton>
                                                                    <asp:LinkButton runat="server" ID="vllbtnDocView" CommandName="View" Text="View"
                                                                        CausesValidation="false" ForeColor="BlueViolet" Visible='<%#LinkDocVisibility(Eval("InspectionChecklistItemID")) %>'>
                                                                    </asp:LinkButton>
                                                                    <asp:Label ID="lblDocumentName" Text='<%#Eval("FullFileName")%>' runat="server" ForeColor="Green"
                                                                        Font-Bold="true" Visible='<%#LinkDocNameVisibility(Eval("DocumentID")) %>'></asp:Label>
                                                                </td>
                                                            </tr>
                                                            <tr>
                                                                <td align="center" colspan="7" style="text-align: center">
                                                                    <asp:Button ID="Button1" Text="Update" CssClass="FormButton" Width="55px" runat="server"
                                                                        CommandName="Update" CausesValidation="false" />
                                                                    &nbsp
                                                                    <asp:Button ID="Button2" Text="Cancel" CssClass="FormButton" Width="55px" runat="server"
                                                                        CommandName="Cancel" CausesValidation="false" />
                                                                </td>
                                                            </tr>
                                                        </table>
                                                    </tr>
                                                </table>
                                            </fieldset>
                                        </EditItemTemplate>
                                    </rad:RadListView>
                                </asp:Panel>
                            </rad:RadAjaxPanel>
                        </asp:Panel>
                    </rad:RadPane>
                </rad:RadSplitter>
                <rad:RadDataPager ID="RadDataPager2" runat="server" PagedControlID="rlvsessionrecordings"
                    BackColor="#eeeeee" PageSize="25">
                    <Fields>
                        <rad:RadDataPagerButtonField FieldType="FirstPrev" />
                        <rad:RadDataPagerButtonField FieldType="Numeric" PageButtonCount="5" />
                        <rad:RadDataPagerButtonField FieldType="NextLast" />
                        <rad:RadDataPagerPageSizeField PageSizeComboWidth="60" PageSizeText="Page size: " />
                        <rad:RadDataPagerGoToPageField CurrentPageText="Page: " TotalPageText="of" SubmitButtonText="Go"
                            TextBoxWidth="30" />
                        <rad:RadDataPagerTemplatePageField>
                            <PagerTemplate>
                                <b>Items
                                    <asp:Label runat="server" ID="CurrentPageLabel" Text="<%# Container.Owner.StartRowIndex+1%>" />
                                    to
                                    <asp:Label runat="server" ID="TotalPagesLabel" Text="<%# Container.Owner.TotalRowCount > (Container.Owner.StartRowIndex+Container.Owner.PageSize) ? Container.Owner.StartRowIndex+Container.Owner.PageSize : Container.Owner.TotalRowCount %>" />
                                    of
                                    <asp:Label runat="server" ID="TotalItemsLabel" Text="<%# Container.Owner.TotalRowCount%>" />
                                    <br />
                                </b>
                            </PagerTemplate>
                        </rad:RadDataPagerTemplatePageField>
                    </Fields>
                </rad:RadDataPager>
              
            </td>
        </tr>
    </table>
</asp:Content>



Waiting for your Reply.

Thanks.
Balageetha
Top achievements
Rank 1
 answered on 20 Aug 2014
2 answers
369 views
I have a Master/Details Grid and if i choose EditMode="Batch" for the details tables, I can't update my data (Insert and Delete are working).

I click the cells and nothing happens.

My master table is working fine with Batch Mode. 

If instead I choose EditMode="InPlace" for details tables, everything works perfectly.

Is it a limitation, a bug or something that i'm doing wrong?

Do you have a working demo?

Thanks
Konstantin Dikov
Telerik team
 answered on 20 Aug 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?