.RadMenu img.rmLeftImage{ width: 24px; height: 24px; margin: 1px 2px 0 -3px; padding-bottom: 3px; background-position: -2px 0; background-repeat: no-repeat; }
<MasterTableView CommandItemDisplay="Top" DataKeyNames="brandid" EditMode="EditForms" AutoGenerateColumns="False" Width="100%"> <CommandItemTemplate> <div style="padding:10px 0px;"> <asp:LinkButton ID="btnUpdateEdited" runat="server" CommandName="UpdateEdited" Visible='<%# gridBrands.EditIndexes.Count > 0 %>'> <img style="border:0px;vertical-align:middle;" alt="" src="../Images/Update.gif" /> Update Record </asp:LinkButton> </div> </CommandItemTemplate> <Columns> <telerik:GridEditCommandColumn ButtonType="ImageButton" EditImageUrl="~/images/Edit.gif" UniqueName="EditCommandColumn"> <ItemStyle CssClass="MyImageButton" /> </telerik:GridEditCommandColumn> </Columns></MasterTableView>
GridFilteringItem filterItem = (sender as RadComboBox).NamingContainer as GridFilteringItem;
RadComboBox ddList = filterItem["ResourceNames"].Controls[0] as RadComboBox;
if (ddList.SelectedValue == "All")
filterItem.FireCommandEvent(
"Filter", new Pair(GridKnownFunction.NoFilter.ToString(), this.UniqueName));
else
filterItem.FireCommandEvent(
"Filter", new Pair(GridKnownFunction.EqualTo.ToString(), this.UniqueName));
Hi guys,
It looks like you have the bug in the latest RadEditor for ASP.NET AJAX controls library.
Please check it and provide a workaround.
Environment: Internet Explorer 8
Scenario to reproduce:
1. Navigate to http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx;
2. Switch New Lines as radio button to Paragraphs value;
3. Switch to the HTML Mode and fill in the following HTML:
<a href="http://www.test.com/">www.test.com (Test link)</a>
4. Switch to the Design Mode and press the Enter key;
5. Switch to the HTML Mode again.
Result:
The RAD Editor changes the HREF attribute value. The value in the brackets, from the <a></a> tag, is added to the HREF attribute value. In the issue the link is corrupted.
Like bellow:
<p><a href="http://www.test.com (Test link)">www.test.com (Test link)</a></p>
<p> </p>
Expected result:
The RAD Editor should not change the HREF attribute value. The value in the brackets should not copy to the HREF attribute value.
Best Regards,
Oleg Burov
protected void GridView1_RowEditing(object sender, GridViewEditEventArgs e) { string name,idval; name = ((Label)GridView1.Rows[e.NewEditIndex].FindControl("lbl_trainer")).Text ; idval = ((Label)GridView1.Rows[e.NewEditIndex].FindControl("lbl_trainerid")).Text; DropDownList1.Enabled = false; GridView1.EditIndex = e.NewEditIndex; bind(); DropDownList drp_trg = (DropDownList)GridView1.Rows[e.NewEditIndex].FindControl("drp_trg"); drp_trg.SelectedIndex = drp_trg.Items.IndexOf(new ListItem(name, idval)); } <asp:GridView ID="GridView1" runat="server" Width="100%" EmptyDataRowStyle-HorizontalAlign="center" AutoGenerateColumns="False" AlternatingItemStyle-CssClass="Gridalt" CssClass="Gridrow" DataKeyNames="progname,sch_no" OnRowCancelingEdit="GridView1_RowCancelingEdit" OnRowEditing="GridView1_RowEditing" OnRowUpdating="GridView1_RowUpdating" OnRowDataBound="GridView1_RowDataBound" > <Columns> <asp:TemplateField HeaderText="Status"> <EditItemTemplate> <asp:DropDownList ID="grd_drp_status" runat="server" SelectedValue='<%# Bind("status") %>' > <asp:ListItem Selected="True">Scheduled</asp:ListItem> <asp:ListItem>Completed</asp:ListItem> <asp:ListItem>Cancelled</asp:ListItem> </asp:DropDownList> </EditItemTemplate> <ItemTemplate> <asp:Label ID="lbl_status" runat="server" Width="100%" Text='<%# Bind("status") %>'></asp:Label> </ItemTemplate> <ItemStyle HorizontalAlign="Center" /> </asp:TemplateField> </asp:GridView> 