I have this Rad Grid setup
<telerik:RadGrid ID="RGLeadExaminer" runat="server" OnItemCommand="RadEmployees_ItemCommand" OnInsertCommand="RGLeadExaminer_InsertCommand" OnUpdateCommand="RGLeadExaminer_UpdateCommand" OnItemCreated="RGLeadExaminer_ItemCreated" OnItemInserted="RGLeadExaminer_ItemInserted" OnItemDataBound="RGLeadExaminer_ItemDataBound" AllowAutomaticInserts="false" AutoGenerateColumns="false" OnNeedDataSource="RGLeadExaminer_NeedDataSource" AllowAutomaticDeletes="true" AllowAutomaticUpdates="false" MasterTableView-AllowAutomaticInserts="true"> <MasterTableView AutoGenerateColumns="false" CommandItemDisplay="Top" DataKeyNames="ExaminationId" Font-Size="Medium" NoMasterRecordsText="No Validations Added" InsertItemPageIndexAction="ShowItemOnCurrentPage" CommandItemSettings-AddNewRecordText="Add New Comparison"> <Columns> <telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" /> <telerik:GridTemplateColumn UniqueName="" HeaderText="Lead Examiner Full Name"> <ItemTemplate> <asp:Label ID="lblExaminerName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ExaminerName") %>'> </asp:Label> </ItemTemplate> <EditItemTemplate> <asp:DropDownList ID="ddlExaminerName" runat="server" UniqueName="ExaminerName" DataTextField="ExaminerName" DataValueField="ExaminedById_FK" /> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn UniqueName="DateTemplateColumn" HeaderText="Comparison Date" SortExpression="ComparisonDate"> <ItemTemplate> <asp:Label ID="ComparisonDateEditItemTemplate" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ExaminedDate","{0:MM/dd/yyyy}") %>'> </asp:Label> </ItemTemplate> <EditItemTemplate> <telerik:RadDatePicker ID="dpExaminationDate" UniqueName="ExaminationDatePicker" DateInput-DateFormat="MM/dd/yyyy" MinDate="2006/1/1" runat="server" DbSelectedDate='<%# Bind("ExaminedDate") %>'> </telerik:RadDatePicker> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn UniqueName="ExamByNonOCSO" HeaderText="Examined By Non OCSO"> <ItemTemplate> <asp:Label ID="lblOtherAgency" runat="server" Visible="true" Text='<%# DataBinder.Eval(Container.DataItem, "ExaminedByNoneOCSO") %>'></asp:Label> </ItemTemplate> <EditItemTemplate> <asp:TextBox runat="server" ID="txtExamindedBy" Visible="true"></asp:TextBox> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridTemplateColumn AllowFiltering="false"> <ItemTemplate> <asp:Button ID="btnComparisonDelete" CssClass="btn btn-xs btn-danger" Text="Delete" runat="server" OnClick="btnComparisonDelete_Click" OnClientClick="confirmAspButton(this); return false;"></asp:Button> </ItemTemplate> </telerik:GridTemplateColumn> </Columns> </MasterTableView> </telerik:RadGrid>
The Radgrid works fine to display the data. The problem is I cannot add, delete or edit any records. If I click the delete button or edit icon nothing happens. If I click the Add new comparison link all of the controls used to add a new record are displayed. The drop down list shows the first record for the list, but I cannot get the drop down list to open and show other selections, I cannot click into the text box to add new text.
But for some reason I can select a date for the date picker. If I click the Insert or cancel links nothing happens. What have I done wrong with this setup.
I am using a SQL Server view as my datasource for this grid. I have used views in the past without this problem.
Hello, have good time
I have a page where it's a grid.
In this grid one of the columns is hidden where the user ID is and in the other column it fills the user name with another table in the event ItemDataBound
But when grouping it shows the user ID while I need the name to show it.
protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)
{
if (e.Item is GridDataItem)// to access a row
{
GridDataItem item = (GridDataItem)e.Item;
if (RadGrid1.GroupingEnabled)
{
item["UserFLName"].Text = LstUser.FindAll(x => x.User_ID_ == int.Parse(item["User_ID"].Text))[0].User_FName + " " + LstUser.FindAll(x => x.User_ID_ == int.Parse(item["User_ID"].Text))[0].User_LName;
}
}

<telerik:RadToolBar runat="server" Width="100%" ID="RadToolBar1" EnableRoundedCorners="true" OnClientButtonClicked="javascript:if(!PageValidation()){return false;}" OnButtonClick="RadToolBar1_ButtonClick" EnableShadows="true" Skin="Office2007" Height="27px" AutoPostBack="false"> <Items> <telerik:RadToolBarButton Text="Export" Value="1" PostBack="true" /> <telerik:RadToolBarButton IsSeparator="true" />function PageValidation() { var IsValid = false;
var error = document.getElementById("errorMsg"); var mastertableView = $find("<%= RadGrid1.MasterTableView.ClientID %>"); var count = mastertableView.get_selectedItems().length; if (count < 1) {
error.style.display = "inherit"; IsValid = false; } else {
error.style.display = "none"; IsValid = true; } return IsValid; }OnClientButtonClicked="PageValidation" ", the client side validation works with the error msg pop up but it cannot stop the post back. 
Hello Guys
I have a problem. When i using RenderMode in RadGrid , I got this error:
Specified argument was out of the range of valid values.
Parameter name: valueDescription: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: value]
System.Web.UI.WebControls.Unit.GetTypeFromString(String value) +3065878
System.Web.UI.WebControls.Unit..ctor(String value, CultureInfo culture, UnitType defaultType) +261
.
.
.
This is my aspx:
<telerik:RadGrid ID="gvRad2" runat="server" OnNeedDataSource="gvRad2_OnNeedDataSource"
utoGenerateColumns="false" AllowPaging="true"
AllowSorting="True"
AllowFilteringByColumn="True"
RenderMode="Lightweight">
<MasterTableView DataKeyNames="PostLetterID" CommandItemDisplay="Top" InsertItemPageIndexAction="ShowItemOnCurrentPage">
<Columns>
<telerik:GridBoundColumn DataField="PostLetterID" HeaderText="haha"
ReadOnly="true"
ForceExtractValue="Always" ConvertEmptyStringToNull="true" AllowFiltering="False"></telerik:GridBoundColumn>
</Columns>
</MasterTableView>
</telerik:RadGrid>



var Page_ValidationVer = "125";var Page_IsValid = true;var Page_BlockSubmit = false;var Page_InvalidControlToBeFocused = null;var Page_TextTypes = /^(text|password|file|search|tel|url|email|number|range|color|datetime|date|month|week|time|datetime-local)$/i;<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test.aspx.vb" Inherits="Test" %><!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 runat="server"> <title></title> <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" CdnSettings-TelerikCdn="Enabled" /></head><body> <form id="form1" runat="server"> <telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadSkinManager ID="QsfSkinManager" runat="server" ShowChooser="true" /> <telerik:RadFormDecorator ID="QsfFromDecorator" runat="server" DecoratedControls="All" EnableRoundedCorners="false" /> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1"> <fieldset> <legend>Registration form</legend> <br/> <table border="0" cellpadding="5"> <colgroup> <col width="100"/> <col width="500"/> </colgroup> <tr class="FormContainer"> <td> Name: </td> <td> <telerik:RadTextBox ID="RadTextBox1" runat="server"></telerik:RadTextBox> <asp:RequiredFieldValidator ID="TextBoxRequiredFieldValidator" runat="server" Display="Dynamic" ControlToValidate="RadTextBox1" ErrorMessage="The textbox can not be empty!"></asp:RequiredFieldValidator> </td> </tr> <tr class="FormContainer"> <td> Age: </td> <td> <telerik:RadNumericTextBox ID="RadNumericTextBox1" runat="server" Type="Number" NumberFormat-DecimalDigits="0"> </telerik:RadNumericTextBox> <asp:RequiredFieldValidator ID="NumercTextBoxRequiredFieldValidator" runat="server" Display="Dynamic" ControlToValidate="RadNumericTextBox1" ErrorMessage="Please, select an year number!"></asp:RequiredFieldValidator> <asp:RangeValidator ID="NumericTextBoxRangeValidator" runat="server" ControlToValidate="RadNumericTextBox1" ErrorMessage="Year number should be a non negative less than 50." Display="Dynamic" MaximumValue="50" MinimumValue="0" Type="Double"></asp:RangeValidator> </td> </tr> <tr class="FormContainer"> <td valign="top"> Phone: </td> <td> <telerik:RadMaskedTextBox ID="RadMaskedTextBox1" runat="server" Mask="(###)-######"> </telerik:RadMaskedTextBox> <asp:RequiredFieldValidator Display="Dynamic" ID="MaskedTextBoxRequiredFieldValidator" runat="server" ErrorMessage="Please, enter a phone number." ControlToValidate="RadMaskedTextBox1"></asp:RequiredFieldValidator> <asp:RegularExpressionValidator Display="Dynamic" ID="MaskedTextBoxRegularExpressionValidator" runat="server" ErrorMessage="Format is (###)-######" ControlToValidate="RadMaskedTextBox1" ValidationExpression="\(\d{3}\)-\d{6}"></asp:RegularExpressionValidator> </td> </tr> <tr class="FormContainer"> <td valign="top"> Email </td> <td> <telerik:RadTextBox ID="Radtextbox2" runat="server"></telerik:RadTextBox> <asp:RegularExpressionValidator ID="emailValidator" runat="server" Display="Dynamic" ErrorMessage="Please, enter valid e-mail address." ValidationExpression="^[\w\.\-]+@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]{1,})*(\.[a-zA-Z]{2,3}){1,2}$" ControlToValidate="Radtextbox2"> </asp:RegularExpressionValidator> <asp:RequiredFieldValidator ID="Requiredfieldvalidator1" runat="server" Display="Dynamic" ControlToValidate="Radtextbox2" ErrorMessage="Please, enter an e-mail!"></asp:RequiredFieldValidator> </td> </tr> <tr class="FormContainer"> <td> Hire Date: </td> <td> <telerik:RadDateInput ID="RadDateInput1" runat="server" DateFormat="d" MinDate="01/01/1990" MaxDate="01/01/3000"></telerik:RadDateInput> <asp:RangeValidator ID="DateInputRangeValidator" runat="server" ControlToValidate="RadDateInput1" ErrorMessage="Choose a date between 5th of January 2005 and 1st of September 2005" Display="Dynamic" MaximumValue="2005-09-01-00-00-00" MinimumValue="2005-01-05-00-00-00"></asp:RangeValidator> <asp:RequiredFieldValidator ID="PickerRequiredFieldValidator" runat="server" Display="Dynamic" ControlToValidate="RadDateInput1" ErrorMessage="Please select a date"></asp:RequiredFieldValidator> </td> </tr> </table> <br/> <br/> <asp:CheckBox ID="CheckBox1" runat="server" CssClass="CheckBox" Text="Client Side Validation" Checked="True" AutoPostBack="True"></asp:CheckBox> <br/> <br/> <asp:Button ID="Button1" runat="server" Text="Postback"></asp:Button> <input type="reset" value="Reset"/> </fieldset> </telerik:RadAjaxPanel> <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel> </form></body></html>Imports SystemImports System.CollectionsImports System.ComponentModelImports System.DataImports System.DrawingImports System.WebImports System.Web.SessionStateImports System.Web.UIImports System.Web.UI.WebControlsImports System.Web.UI.HtmlControlsPartial Public Class test Inherits System.Web.UI.Page Private Sub CheckBox1_CheckedChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles CheckBox1.CheckedChanged MaskedTextBoxRequiredFieldValidator.EnableClientScript = CheckBox1.Checked DateInputRangeValidator.EnableClientScript = CheckBox1.Checked PickerRequiredFieldValidator.EnableClientScript = CheckBox1.Checked TextBoxRequiredFieldValidator.EnableClientScript = CheckBox1.Checked NumercTextBoxRequiredFieldValidator.EnableClientScript = CheckBox1.Checked MaskedTextBoxRegularExpressionValidator.EnableClientScript = CheckBox1.Checked NumericTextBoxRangeValidator.EnableClientScript = CheckBox1.Checked Requiredfieldvalidator1.EnableClientScript = CheckBox1.Checked emailValidator.EnableClientScript = CheckBox1.Checked End SubEnd Class<%@ Page Language="VB" AutoEventWireup="false" CodeFile="test2.aspx.vb" Inherits="test2" %><!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head runat="server"> <title></title></head><body> <form id="form1" runat="server"> <div> <asp:TextBox ID="test" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="TextBoxRequiredFieldValidator" runat="server" Display="Dynamic" ControlToValidate="test" ErrorMessage="The textbox can not be empty!"></asp:RequiredFieldValidator> <asp:Button ID="but" runat="server" Text="submit" /> </div> </form></body></html>Hello, I'm trying to do something pretty straightforward, I'd like to remove the filter parameters from my grid results when clearing the two datepickers from the griddatetime column daterange filter. Example (From: 01/01/2015 To: 02/01/2015....results in data between that date range, If I were to clear the two datepickers, the grid does not return ALL records nor does it even do a postback like any other filter types that get cleared.
Here is my markup.
<telerik:GridDateTimeColumn DataField="AssignedDate" DataType="System.DateTime" DataFormatString="{0:d}" FilterControlAltText="Filter AssignedDate column" HeaderText="Assigned Date" SortExpression="AssignedDate" EnableRangeFiltering="true" PickerType="DatePicker" UniqueName="AssignedDate" ShowFilterIcon="false" AutoPostBackOnFilter="true" > <HeaderStyle HorizontalAlign="Center" Width="300px" /><ItemStyle HorizontalAlign="Center" /></telerik:GridDateTimeColumn>
Hi,
I am updating some old telerik components to a newer version, now I downloaded the latest version of the "vista" skin and set my preferred color in one of the components and pressed saved all. It looked like all the sprite where converted the asked color set. However the only sprites which don't seem to have the correct color are the ones in the "common" folder, they are still the default color of the theme "blueish". How do I obtain the sprites in the common folder for my preferred color?
