Hi, we are consdiering purchasing your UI for ASP.net packages.
I reviewed your ASP.net AJAX demo and came across the image editor control which seems like a control we would like to use and customize.
I saw there is an option to draw circles/rectangles, is there an option to edit their coordinates after they are drawn? is there an option to draw programmatically?
Thanks,
Oren
Hi Team,
Telerik radAsyncUpload is not working in google chrome once application host in server. But if I run application in local its working.
using IE its working in both.
Hi ,
We are using radgrid menu and we don't want users to un-check all columns from columns menu of context menu.
Is there a way to hide or stop user unchecking some columns of columns menu item?
I tried this below code:
void HeaderContextMenu_ItemCreated(object sender, RadMenuEventArgs e)
{
if (e.Item.Value.Contains("Reference#") && e.Item.Controls.Count > 0)
(e.Item.Controls[0] as CheckBox).Enabled = false;
}
It will make readonly for that column option on first load, but once i un-check another column, it will get enabled for check/uncheck.
Is there any other way to achieve this?
Thanks
<telerik:RadGrid ID="gvMembers" runat="server" AutoGenerateColumns="false" OnNeedDataSource="gvMembers_NeedDataSource" AllowSorting="true" AllowPaging="true" PageSize="10" AllowAutomaticUpdates="true" AllowAutomaticInserts="true" AllowAutomaticDeletes="true" OnItemCreated="gvMembers_ItemCreated" OnItemInserted="gvMembers_ItemInserted" OnPreRender="gvMembers_PreRender" OnInsertCommand="gvMembers_InsertCommand" OnItemDataBound="gvMembers_ItemDataBound" OnUpdateCommand="gvMembers_UpdateCommand" OnDeleteCommand="gvMembers_DeleteCommand" > <HeaderStyle CssClass="GridHeader" /> <PagerStyle Mode="NextPrevNumericAndAdvanced" /> <MasterTableView AutoGenerateColumns="false" DataKeyNames="UserID" CommandItemDisplay="Top" InsertItemPageIndexAction="ShowItemOnCurrentPage"> <Columns> <telerik:GridEditCommandColumn></telerik:GridEditCommandColumn> <telerik:GridBoundColumn DataField="UserID" HeaderText="UserID" ReadOnly="true" UniqueName="UserID"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="FirstName" HeaderText="First Name" SortExpression="FirstName" UniqueName="firstname"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="FirstName" HeaderText="Last Name" SortExpression="LastName" UniqueName="lastname"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="UserName" HeaderText="User Name" SortExpression="UserName" UniqueName="username"></telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="EmailAddress" HeaderText="Email" SortExpression="EmailAddress" UniqueName="email"></telerik:GridBoundColumn> <telerik:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="Role"> <ItemTemplate> <asp:Label ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Role") %>'> </asp:Label> </ItemTemplate> <EditItemTemplate> <asp:DropDownList ID="ddlRole" runat="server" DataTextField="Role1" DataValueField="RoleID"></asp:DropDownList> </EditItemTemplate> </telerik:GridTemplateColumn> <telerik:GridButtonColumn ConfirmText="Delete this Member?" ConfirmDialogType="RadWindow" ConfirmTitle="Delete" ButtonType="PushButton" Text="Delete" CommandName="Delete" /> </Columns> </MasterTableView> </telerik:RadGrid>
I am using a stored procedure to to my updates and have this C# code:
protected void gvMembers_UpdateCommand(object sender, GridCommandEventArgs e) { var editableItem = ((GridEditableItem)e.Item); var memberId = (int)editableItem.GetDataKeyValue("UserID"); int Role = 1; CheckBox active = (CheckBox)editableItem["valid"].Controls[0]; Boolean bactive = Convert.ToBoolean(active); string str = active.Text; string strFirstName = (editableItem["firstname"].Controls[0] as TextBox).Text; string strLastName = (editableItem["lastname"].Controls[0] as TextBox).Text; string strUserName = (editableItem["username"].Controls[0] as TextBox).Text; string strEmail = (editableItem["firstname"].Controls[0] as TextBox).Text; try { //save chanages to DbDbContext.AAHomicideLogMembersUpdate(memberId, Role, strFirstName, strLastName, strUserName, strEmail, active); } catch (System.Exception) { string srtt="Dosomething"; } }
I get an error message when attempting to convert the checkbox value to a boolean value.
How can I accomplish this?
I'm using a RadComboBox and would like to get the selected item that was bound to the combobox instead of the selected value, index or text. I can do that with RadGrid but when I try to do it with a ComboBox the selected item's dataitem is always null.
RadGrid:
Event thisEvent = new Event(); thisEvent = (Event)e.Item.DataItem;
thisEvent is now the bound record of type Event.
RadComboBox:
List<BWGroup> individuals = new List<BWGroup>();individuals = _bwContext.BWGroups.Where(x => x.IsActive == true).OrderBy(x => x.BWGroupName).ToList(); IndividualsRadComboBox.DataTextField = "BWGroupName";IndividualsRadComboBox.DataValueField = "BWGroupID";IndividualsRadComboBox.DataSource = individuals; IndividualsRadComboBox.DataBind(); //After event is fired BWGroup group = new BWGroup(); group = IndividualsRadComboBox.SelectedItem.DataItem as BWGroup;
SelectedValue and SelectedIndex have the proper values but DataItem is always null so group is always null.

Hi,
Has the spreadsheet control is fully released or still in beta version?
