Hi! Good Evennig, currently I work with Kend for MVC and JavaScript and I want to know if there is anything like this : https://demos.telerik.com/aspnet-ajax/orgchart/examples/templates/defaultcs.aspx
Thanks

ALTER PROCEDURE [dbo].[SelectProductInfoByShipAndDate] @CruiseLine nvarchar(max), @Ship nvarchar(max), @FromDate date, @ToDate dateASBEGIN SET NOCOUNT ON; Select * FROM dbo.Daily_Totals WHERE CruiseLine IN (SELECT * FROM dbo.SplitParameterValues(@CruiseLine, ',')) AND Ship IN (SELECT * FROM dbo.SplitParameterValues(@Ship, ',')) AND [Date] BETWEEN @FromDate AND @ToDate ORDER BY CruiseLine, Ship, [Date], Product1Cash, Product2Cash, Product3Cash, Product4Cash, Product5Cash, Product6Cash, SalesENDIs it possible to process a button click event prior to doing the upload of the file?
What I am hoping to do is have a user submit a support ticket and have the ability to add a supporting document at the same time. When they submit the ticket it returns the new ID. I then need to upload the file and append the issueID to the front of the file name. Currently I click the button and it processes the file upload first and then finishes the button onclick event.
Using the following code I found in one of the demos. The radgrid is bound to a sqldatasource.
When I update or insert, there is no parameter created for the binary image to send data to the database ( I have added onUpdating and onInserting events to the sql data source, and have inspected the DBParameters collection, and there is no parameter passed containing the binary data of the image.) other columns from the grid are passed as parameters correctly, there is simply no sqlparameter for the image data.
How can I rectify this?
Also, the radupload dialog to select a image does not seem to work with the allowedfileextensions option. Also I specify jpg only, I see all file types in the selection dialog. Is there a way to only show those files w/ the allowed extensions?
<telerik:GridTemplateColumn DataField="Data" HeaderText="Image" UniqueName="Upload"> <ItemTemplate> <telerik:RadBinaryImage runat="server" ID="RadBinaryImage1" DataValue='<%#Eval("Data") %> AutoAdjustImageControlSize="false" Height="80px" Width="80px" ToolTip='<%#Eval("Name", "Photo of {0}") %>' AlternateText='<%#Eval("Name", "Photo of {0}") %>'> </telerik:RadBinaryImage>
</ItemTemplate> <EditItemTemplate> <telerik:RadAsyncUpload RenderMode="Lightweight" runat="server" ID="AsyncUpload1" AllowedFileExtensions="jpg" >
</telerik:RadAsyncUpload> </EditItemTemplate> </telerik:GridTemplateColumn>
Hi
how to find row values of a selected row in a radgrid? c#
I have a radbutton inside a radgrid.
<telerik:RadGrid ID="dg" runat="server" AllowSorting="true" Width="100%"
RenderMode="Auto" PageSize="10" AutoGenerateColumns="false"
AllowPaging="true">
<PagerStyle Mode="NextPrevAndNumeric" Position="TopAndBottom" PageSizeControlType="RadComboBox"
AlwaysVisible="true"></PagerStyle>
<MasterTableView HierarchyDefaultExpanded="false">
<CommandItemSettings AddNewRecordText="Nuevo" CancelChangesText="Cancelar" RefreshText="Actualizar"
ShowRefreshButton="false" />
<Columns>
<telerik:GridTemplateColumn HeaderText="Id" Visible="false">
<ItemTemplate>
<asp:Label ID="lblID" runat="server" Text='<%# Eval("Idtip") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:Label ID="lblIDEd" runat="server" Text='<%# Eval("Idtip") %>' Visible="false"></asp:Label>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn HeaderText="Tipo">
<ItemTemplate>
<asp:Label ID="lblDescr" runat="server" Text='<%# Eval("Nombre") %>'></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="txtEditDescr" runat="server" Text='<%# Eval("Nombre") %>' Width="220px"></asp:TextBox>
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn>
<ItemTemplate>
<telerik:RadButton ID="btnEditlist" runat="server" OnClick="btnEditlist_Click" Text="" RenderMode="Auto" CausesValidation="false">
<Icon PrimaryIconCssClass="rbEdit" />
</telerik:RadButton>
</ItemTemplate>
</telerik:GridTemplateColumn>
<%--<telerik:GridEditCommandColumn UniqueName="EditCommandColumn">
</telerik:GridEditCommandColumn>--%>
<telerik:GridButtonColumn Text="Delete" CommandName="Delete" />
</Columns>
</MasterTableView>
<ClientSettings EnableRowHoverStyle="true">
</ClientSettings>
</telerik:RadGrid>
and the button event
protected void btnEditlist_Click(object sender, EventArgs e)
{
GridItem reng = sender as RadButton.NamingContainer as GridItem;
GridDataItem Info = sender as RadButton.NamingContainer as GridDataItem;
string Id = reng.FindControl("lblID") as Label.Text;
}
But I can´t find the row values.
Running 2018.3.910
request,
function RefreshGrid() { $find("ctl00_cphMain_RadAjaxManager1").ajaxRequest("Rebind"); getClientCart();}
Manager,
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="grCart" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="grCart"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="grCart" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="RadAjaxManager1"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="lvDelMethods" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings> </telerik:RadAjaxManager>
server side,
protected void RadAjaxManager1_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e) { if (e.Argument == "Rebind") { grCart.Rebind(); lvDelMethods.Rebind(); } }
Error in Firefox - works just fine in Chrome, Edge and IE.
TypeError: access to strict mode caller function is censored
_doPostBack http://localhost/Telerik.Web.UI.WebResource.axd:15:13769Function.createDelegate/< http://localhost/Telerik.Web.UI.WebResource.axd:6:305__doPostBack http://localhost/Telerik.Web.UI.WebResource.axd:30710:1__doPostBack http://localhost/Telerik.Web.UI.WebResource.axd:30710:1__doPostBack http://localhost/Telerik.Web.UI.WebResource.axd:30710:1ajaxRequest http://localhost/Telerik.Web.UI.WebResource.axd:1930:27RefreshGrid http://localhost/Scripts/cart.js:129:5<anonymous> http://localhost/Scripts/cart.js:117:9dispatch http://localhost/Scripts/plugins/jquery-3.3.1.min.js:2:41720add/y.handle http://localhost/Scripts/plugins/jquery-3.3.1.min.js:2:39774
Seems to be working if the request comes from the grid itself but not from the ajaxmanager request.
Any idea what causes this?
Christian
Hello,
I am using the pop-up editing on one of my grids where the user will then be able to edit the pre-existing record displayed on the list, however, by default, the pop-up windows width is too small to use as there will be a lot of fields the user can edit so they can not be in a single column meaning I will have to change the width of the window, I can set the width in the TagHelper (Inline styling) however i do not want to do this, is there for the kendo window to take around 80% of the screen space without any inline styling?

Hi
I am seeing a strange effect in all browsers when using radcheck box with the 'Simple' skin; there is a separate light grey box appearing behind the box using the Simple skin, offset by a couple of pixels. It looks like it is being rendered in Default skin AND simple skin. (attached file)
What could explain this?
I do need to use the simple skin for consistency with all other controls, so change ins not really an option.
I am using 2016 asp.net ajax control set
Thanks for advice on this
Thanks
Clive

I read this article about custom marker from a datasource:
https://www.telerik.com/support/code-library/custom-markers-with-server-side-data-binding
From what I can tell, it should create a class for each marker by tacking on the field value to the end of "k-marker-<fieldvalue>". It seems that this article is old and it actually creates the class of "k-i-marker-<fieldvalue>", no biggie, I figured that out. I managed to change the color and the marker image and everything. The issue is, the creation of the class seems messed up. It works for some values, but not others and I can't figure out what the issue is. The only thing that I can see is it works for values that are TWO characters long, but anything more it puts the first letter, then a hyphen and the rest of the value.
Here are three examples it created:
<span class="k-marker k-icon k-i-marker-bp" title="BP 17869" data-role="tooltip" style="z-index: 1000; left: 343px; top: 435px;"></span>
<span class="k-marker k-icon k-i-marker-c-oSTCO" title="Costco Wholesale - TRACY - 0658" data-role="tooltip" style="z-index: 1000; left: 24px; top: 297px;"></span>
<span class="k-marker k-icon k-i-marker-r-aLPHS" title="Ralphs #189" data-role="tooltip" style="z-index: 1000; left: 32px; top: 310px;"></span>