Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
I have kind of a strange issue with radcombobox and the IE "Stop Running this Script"  issue....

<div>
   <radcombobox>
   <radsplitter>
      <radpane>
          <radtreeview>
      <radpane>
         <radgrid>


I have a treeview and grid on the page ... I drag drop item from the treeview it does a little dance in the background and adds a new column to the grid. Then go to my combobox which is using custom text type 3 characters and the list loads ... I select an item and get the "Stop Running this Script" method - there are only a few results not thousands it is on the 'selection' that it crashes.

I know how this works with telerik 3 days from now rather than answer the question you're going to respond with another question asking me to post all of our proprietary source code or somehow detach all of the propriety code from the project to provide you with a sample of exactly what I described above.... so I'm just going to throw the question out there anyway in the hope someone out there has experienced a similar issue and can be of help.
Hristo Valyavicharski
Telerik team
 answered on 13 Nov 2013
3 answers
217 views
Any idea when your Ajax product will support VS 2013. I know your defcraft supports it already but I am talking about your regular product.
Dyanko
Telerik team
 answered on 13 Nov 2013
5 answers
153 views
Good morning,
is this possible to have radcombobox inside the other radcombobox.
If yes,could you please sent an example.

Thanks.
Princy
Top achievements
Rank 2
 answered on 13 Nov 2013
1 answer
50 views
Hello,

In my SharePoint 2013 site, I have activated the "Use RadEditor to edit HTML fields" feature. All is OK when my ToolbarMode is on default. But, when I try the "ShowOnFocus" mode, the Toolbar follow the page "scrolling" (please watch the Video for seeing the issue).

Is it normal?

Thank a lot for your help.

Regards

Éric



Ianko
Telerik team
 answered on 13 Nov 2013
1 answer
179 views
I'm trying to use the RadFilter to get the expression tree so that I can use it in a Linq Where clause. 
In WPF, I can use the DataFilter control to do this:
(IQueryable<SomeModel>)theContext.SomeModel.Where(theDataFilter.FilterDescriptors);
Is it possible to do the same kind of thing with the RadFilter? In the ApplyExpressions event I can get the e.ExpressionRoot.Expressions property but I can't see a way to convert that to anything usable by Linq.

Antonio Stoilkov
Telerik team
 answered on 13 Nov 2013
1 answer
86 views
Hi,

Can you help me in how to Put All Items in Edit Mode but AutoGeneratedDeleteColumn and insert template in a radgrid with MasterTableView editmode="batch".

I am using the following code to put all items in edit mode but the AutoGeneratedDeleteColumn does not work (I can´t see it) and when I try to insert new items have the same behavior(I can´t see the columns).


private void RadGrid1_PreRender(object sender, System.EventArgs e)
{
    if (!IsPostBack)
    {
        foreach (GridItem item in RadGrid1.MasterTableView.Items)
        {
            if (item is GridEditableItem)
            {
                GridEditableItem editableItem = item as GridDataItem;
                editableItem.Edit = true;
            }
        }
        RadGrid1.Rebind();
    }
}



Thanks
Kostadin
Telerik team
 answered on 13 Nov 2013
3 answers
279 views
hi friends, 
i need a solution to create dynamic Object Name in telerik report.
where in my report, different types of record binds in more than 5 tables
for every time in takes the count and runs in foreach loop according to the count and finally the result will bind as single report.

but now i can get the count and make run in foreach loop according to the count, but as the report object name is same, it displays the same result as respective to the count


i need to create the report object name dynamically
if any one haves the solution pls, share with me...

thanks in advance...
IvanY
Telerik team
 answered on 13 Nov 2013
1 answer
288 views
Hi
I cant find an event that will fire on selecting an item from the combobox apart from the selectedindexchanged which does not fire on repeatedly selecting the same item. So is it possible to fire a client event on selecting an item?

Thanks
Ivy
Shinu
Top achievements
Rank 2
 answered on 13 Nov 2013
18 answers
260 views
When using the Entity Framework automatic CRUD operations with the RadGrid the Edit column disappears when Scrolling is enabled.

I need to somehow have this Edit column work but allow scrolling.

Here is my ASPX code:

<head runat="server">
    <link rel="Stylesheet" type="text/css" href="./Styles.css" />
    <title>Content Tracker</title>
</head>
<body class="body">
    <form id="form1" runat="server">
    <telerik:RadScriptManager runat="server" ID="RadScriptManager1" />
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
     
    <!-- Page Header -->
        <div class="header">
            <table width="1000px">
                <tr>
                    <td>
                        <table>
                            <tr>
                                <td>
                                    <img alt="" src="./Images/xxxxxx_Logo_Small.gif" />
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td style="float: right">
                        <table border="0">
                            <tr>
                                <td>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <b>Welcome <asp:Label CssClass="VertexOrangeText" ID="loggedInUser" runat="server" /></b>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
         
        <div id="Nav" class="nav"></div>
        <div id="Spacer" class="divSpacer"></div>
     
    <!-- Page Content -->
    <div id="Content" class="content" >
    <div id="PageHeader" class="pageHeader" >Assignments</div>
    <div id="HeaderSpacer" class="divHeaderSpacer"></div>
     
    <telerik:RadGrid ID="RadGrid1" Width="990" runat="server" DataSourceID="EntityDataSourceAssignments"
        AllowPaging="True" AllowAutomaticUpdates="True" AllowAutomaticInserts="True" GridLines="Both"
        AllowAutomaticDeletes="True" AllowSorting="true" Skin="Web20"
        OnItemCreated="RadGrid1_ItemCreated" OnItemInserted="RadGrid1_ItemInserted" OnPreRender="RadGrid1_PreRender">
        <PagerStyle Mode="NextPrevAndNumeric" />
        <MasterTableView DataSourceID="EntityDataSourceAssignments" AutoGenerateColumns="False"
            DataKeyNames="AssignmentsID" CommandItemDisplay="Top">
            <Columns>
                <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">
                </telerik:GridEditCommandColumn>
                 <telerik:GridBoundColumn DataField="AssignmentsID" SortExpression="AssignmentsID"
                    UniqueName="AssignmentsID" HeaderStyle-Width="120px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="JurisdictionCode" HeaderText="Jurisdiction Code" SortExpression="JurisdictionCode"
                    UniqueName="JurisdictionCode" HeaderStyle-Width="120px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ObligationName" HeaderText="Obligation Name" SortExpression="ObligationName"
                    UniqueName="ObligationName" HeaderStyle-Width="120px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DevTeamLead" HeaderText="Dev Team Lead" SortExpression="DevTeamLead"
                    UniqueName="DevTeamLead" HeaderStyle-Width="120px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Developer" HeaderText="Developer" SortExpression="Developer"
                    UniqueName="Developer" HeaderStyle-Width="120px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="TestTeamLead" HeaderText="Test Team Lead" SortExpression="TestTeamLead"
                    UniqueName="TestTeamLead" HeaderStyle-Width="120px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="DueDate" HeaderText="Due Date" SortExpression="DueDate"
                    UniqueName="DueDate" HeaderStyle-Width="160px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FormsReceived" HeaderText="Forms Received" SortExpression="FormsReceived"
                    UniqueName="FormsReceived" HeaderStyle-Width="120px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="EFileComplete" HeaderText="EFile Complete" SortExpression="EFileComplete"
                    UniqueName="EFileComplete" HeaderStyle-Width="120px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ESEXTStatus" HeaderText="ES-EXT Status" SortExpression="ESEXTStatus"
                    UniqueName="ESEXTStatus" HeaderStyle-Width="120px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="SubmittalStatus" HeaderText="Submittal Status" SortExpression="SubmittalStatus"
                    UniqueName="SubmittalStatus" HeaderStyle-Width="120px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="Priority" HeaderText="Priority" SortExpression="Priority"
                    UniqueName="Priority" HeaderStyle-Width="70px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="KeyDraftInNeedsAssignment" HeaderText="All Key Draft In and needs to be assigned" SortExpression="KeyDraftInNeedsAssignment"
                    UniqueName="KeyDraftInNeedsAssignment" HeaderStyle-Width="250px"  Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="KeyFinalInNeedsAssignment" HeaderText="All Key Final In and needs to be assigned" SortExpression="KeyFinalInNeedsAssignment"
                    UniqueName="KeyFinalInNeedsAssignment" HeaderStyle-Width="250px" Visible="true">
                </telerik:GridBoundColumn>
                <telerik:GridButtonColumn Text="Delete" CommandName="Delete" HeaderStyle-Width="32px"  ButtonType="ImageButton" />
            </Columns>
            <EditFormSettings>
                <EditColumn ButtonType="ImageButton" />
            </EditFormSettings>
        </MasterTableView>
        <ClientSettings>
            <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" ScrollHeight="">
            </Scrolling>
        </ClientSettings>
    </telerik:RadGrid>
    <asp:EntityDataSource ID="EntityDataSourceAssignments" runat="server" ConnectionString="name=ContentTrackerEntities"
        DefaultContainerName="ContentTrackerEntities" EntityTypeFilter="Assignment"
         OrderBy="it.[Developer]" EntitySetName="Assignments" EnableUpdate="True" EnableDelete="True" EnableInsert="True">
    </asp:EntityDataSource>
    </div>
 
    <div id="page-footer">
        <div id="page-footer-copyright">Copyright © 2010-2012 xxxxxx. All rights reserved.</div>
    </div>
 
    </form>
</body>
</html>

Thanks,

danparker276
Top achievements
Rank 2
 answered on 13 Nov 2013
1 answer
241 views
Hi 
i have a radgrid  populated with data in double click i launch a rad window manager with texbox that need to fill with the data selected on the radgrid. i fail to get the value of the row. i can only get the index of the selected item.

this is my grid aspx:
<telerik:RadGrid ID="rgBuscar" runat="server" CellSpacing="0" Culture="es-ES"
    GridLines="None" Height="469px" Skin="Hay" Width="944px">
    <ClientSettings>
        <Scrolling AllowScroll="True" UseStaticHeaders="True" />
    </ClientSettings>
    <MasterTableView>
    <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
 
    <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
    <HeaderStyle Width="20px"></HeaderStyle>
    </RowIndicatorColumn>
 
    <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
    <HeaderStyle Width="20px"></HeaderStyle>
    </ExpandCollapseColumn>
 
    <EditFormSettings>
    <EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
    </EditFormSettings>
 
    <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
 
 
    </MasterTableView>
    <ClientSettings>
        <Selecting AllowRowSelect="True" />
        <ClientEvents OnRowDblClick="RowDblClick"/>
    </ClientSettings>
    <PagerStyle PageSizeControlType="RadComboBox"></PagerStyle>
 
    <FilterMenu EnableImageSprites="False"></FilterMenu>
</telerik:RadGrid>


and my JS:
<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
     
    <script type="text/javascript">
        function RowDblClick(sender, args) {
            var index = args.get_itemIndexHierarchical();
            sender.get_masterTableView().fireCommand("RowDblClick", index);
        }
    </script>
 
</telerik:RadCodeBlock>

and fianlly mi VB:

Protected Sub rgBuscar_ItemCommand(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles rgBuscar.ItemCommand
    If e.CommandName = "RowDblClick" Then
        Dim var As String = e.CommandArgument
'here is where i need the value of the cell number 2 of the row
'but im getting the index
        idValor = e.Item.Cells(2).Text
        MostrarVentana(idValor)
    End If       
End Sub
 
Public Sub MostrarVentana(ByVal IdCampo As Integer)
    lector = objBd.obtenerConfiguraciones("Cambio Ordenes")
    While lector.Read
        rwmCambio.Windows(0).NavigateUrl = lector("OCON_Url") & "?IdCampo=" & IdCampo
        rwmCambio.Windows(0).Width = Unit.Pixel(lector("OCON_Width"))
        rwmCambio.Windows(0).Height = Unit.Pixel(lector("OCON_Height"))
    End While
    rwmCambio.Windows(0).VisibleOnPageLoad = True
End Sub


Thank you 
Shinu
Top achievements
Rank 2
 answered on 13 Nov 2013
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?