I am trying to use the InPlace EditMode to on a small RadGrid. I have the AddNewRecord in the command bar and an Edit link in each column. When I click the Edit link the row opens in edit mode but all of the cell values are blank. I do not want a blank record how can I keep those values to be edited?
<telerik:RadGrid ID="UserGrid" runat="server" RenderMode="Auto" OnInsertCommand="UserGrid_InsertCommand" OnUpdateCommand="UserGrid_UpdateCommand" OnItemDataBound="UserGrid_ItemDataBound" AllowAutomaticDeletes="false" AllowAutomaticUpdates="true" AllowAutomaticInserts="false" OnNeedDataSource="UserGrid_NeedDataSource" AutoGenerateColumns="false" AllowPaging="true"> <MasterTableView AutoGenerateColumns="false" CommandItemDisplay="Top" NoDetailRecordsText=" No Users Added" DataKeyNames="UserID" Font-Size="Medium" EditMode="InPlace"> <Columns> <telerik:GridEditCommandColumn /> <telerik:GridBoundColumn HeaderText="UserId" DataField="UserID" ReadOnly="true" Visible="false"></telerik:GridBoundColumn> <telerik:GridTemplateColumn UniqueName="Active" HeaderText="Active"> <ItemTemplate> <asp:Label runat="server" Text ='<%# DataBinder.Eval(Container.DataItem,"Active") %>'></asp:Label> </ItemTemplate> <EditItemTemplate> <asp:CheckBox runat="server" ID="chkActive" /> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn UniqueName="Role" HeaderText="Role"> <ItemTemplate> <asp:Label runat="server" Text ='<%# DataBinder.Eval(Container.DataItem,"Role") %>'></asp:Label> </ItemTemplate> <EditItemTemplate> <asp:DropDownList runat="server" ID="ddlRoles"> <asp:ListItem Text ="Admin" Value ="Administrator"></asp:ListItem> <asp:ListItem Text ="User" Value ="User"></asp:ListItem> </asp:DropDownList> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn UniqueName="FirstName" HeaderText="First Name"> <ItemTemplate> <asp:Label runat="server" Text ='<%# DataBinder.Eval(Container.DataItem,"FirstName") %>'></asp:Label> </ItemTemplate> <EditItemTemplate> <asp:TextBox runat="server" ID="txtFirstName"></asp:TextBox> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn UniqueName="LastName" HeaderText="Last Name"> <ItemTemplate> <asp:Label runat="server" Text ='<%# DataBinder.Eval(Container.DataItem,"LastName") %>'></asp:Label> </ItemTemplate> <EditItemTemplate> <asp:TextBox runat="server" ID="txtLastName"></asp:TextBox> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn UniqueName="UserName" HeaderText="User Name"> <ItemTemplate> <asp:Label runat="server" Text ='<%# DataBinder.Eval(Container.DataItem,"UserName") %>'></asp:Label> </ItemTemplate> <EditItemTemplate> <asp:TextBox runat="server" ID="txtUserName"></asp:TextBox> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn UniqueName="Email" HeaderText="Email"> <ItemTemplate> <asp:Label runat="server" Text ='<%# DataBinder.Eval(Container.DataItem,"EmailAddress") %>'></asp:Label> </ItemTemplate> <EditItemTemplate> <asp:TextBox runat="server" ID="txtEmail"></asp:TextBox> </EditItemTemplate> </telerik:GridTemplateColumn> </Columns> </MasterTableView> </telerik:RadGrid>I have a radwindow defined with a height and width. The first time I open the window it displays as expected.
Subsequently, it seems to ignore the height and width. If I remove DestroyOnClose, it behaves as expected.
I'm at a loss as to why that would happen.
protected void rcbMyCombo_PreRender(object sender, EventArgs e){ rcbMyCombo.BorderColor = System.Drawing.Color.Red; rcbMyCombo.ToolTip = "Error occurred with the data of the control.";I have an chart (sparkline) I am trying to render into a group header.
I have no problems accessing the group header and pushing text to it, but have no idea how to render a control and reading through all the documentation I haven't found out how to do it.
Simple rendering of text example:
RadGrid1.MasterTableView.ColumnGroups.FindGroupByName("TrendChartHeader").HeaderText = "Hello World.";
Thanks for any assistance anyone can provide.
~T
How fix the css like the attached image, like the blue text..
My css now
<style> html .RadNavigation .rnvRootGroup .hiddenNode { display: none; } html .RadNavigation { font-size: 18px; font-family: 'Roboto', sans-serif; font-weight: 400; color: #204b9b; background-color: #dfd10e; } html .RadNavigation .rnvRootGroupWrapper { border-width: 0; } html .RadNavigation .rnvRootGroup > .rnvItem { margin: 12px; } html .RadNavigation .rnvMore, html .RadNavigation .rnvRootLink { margin: 0; padding-top: 0; padding-bottom: 0; border-width: 0; } html .RadNavigation .rnvHovered.rnvMore, html .RadNavigation .rnvSelected.rnvMore { margin: 0; border-width: 0; } html .RadNavigation .rnvHovered.rnvMore.rnvRight, html .RadNavigation .rnvSelected.rnvMore.rnvRight { margin: 0; } html .RadNavigation .rnvHovered .rnvRootLink { background-color: #f1e890; } html .RadNavigation .rnvToggle { line-height: 1.6em; } .rnvPopup { background-color: white; border-color: #cfd8dc; font-size: 16px; font-family: 'Roboto', sans-serif; color: #204b9b; } .rnvPopup .rnvHovered { background-color: #eceff1; border-color: #cfd8dc; color: #159eda; }</style>|
Requirements |
|
|
Telerik Product and Version |
Scatter Chart |
|
Supported Browsers and Platforms |
Visual Studio 2017, Microsoft Edge / Google Chrome |
|
Components/Widgets used (JS frameworks, etc.) |
|
I want to implement the demo in my local environment from following demo but running through various errors.
https://demos.telerik.com/aspnet-ajax/htmlchart/examples/charttypes/scatterchart/defaultcs.aspx?show-source=true
1. "ScatterSeriesItem" is not a known element
2. Type 'Telerik.Web.UI.HtmlChart.PlotArea.AxisLabelsAppearance' does not have a public property named 'Skip'.
What are the basic things which I need to take care of so that I can run this demo successfully in my local environment.

textBox = new RadNumericTextBox();textBox.ID = "NumTextBox";textBox.Type = NumericType.Number;textBox.DataType = typeof(int);textBox.NumberFormat.DecimalDigits = 0;textBox.ShowSpinButtons = true;I need to repaint chart in iframe from "parent".
Not sure how to do it without proper "handle" of the chart.
Can it be done?
Thank you
I have a simple object with some string properties ('name', 'Id', 'GeoJson'). I want to use this object as datasource in a map as shape layer. It's quite a bit ago I worked with Telerik. So, sorry for my stupid question.
Thanks
I'm trying to apply a background image to the Diagram Control.
I got it to work when viewing on the webpage by adding style="background-image: url('btest.png'); background-repeat: no-repeat; top: 0px;" to the RadDiagram control, but when I export the finished diagram to PDF or SVG the background image doesn't show. Is there a different way I could add the background image to the diagram where it would work with the exporting tools?
