or
http://demos.telerik.com/aspnet-ajax/spell/examples/programming/datagrid/defaultcs.aspx
Question is that: How do I use the image ButtonType = "ImageButton" for Spell Check in Rad Grid...
Attached are my screen shoots. I would like to see spell checker button type as (spellcheck.PNG), but not like untitled-3 copy.jpg . I can use the Image Button for regular text Box but did not find any thread for Grid Template Columns..
Thanks
Below is my Grid Declaration:
| <telerik:RadGrid ID="RadGrid1"> '''' ''''
<asp:TemplateColumn HeaderText="Description"> |
| <ItemTemplate> |
| <asp:Label ID="lblField1" CssClass="text" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "ProductDescription") %>' /> |
| </ItemTemplate> |
| <EditItemTemplate> |
| <asp:TextBox runat="server" ID="ProductDescription" TextMode="MultiLine" Rows="4" |
| Columns="40" Text='<%# DataBinder.Eval(Container.DataItem, "ProductDescription") %>' /> |
| <telerik:RadSpell ID="RadSpell1" runat="server" ControlToCheck="ProductDescription" /> |
| </EditItemTemplate> |
| </asp:TemplateColumn> '''' '''' </telerik:RadGrid>
|
public static void RadGrid1_ItemCommand(object sender, GridCommandEventArgs e) { RadGrid RadGrid1 = (RadGrid)sender; if (e.CommandName == "AddToCart") { if (RadGrid1.SelectedIndexes.Count == 0) { RadWindowManager1.RadAlert("No documents have been selected", 250, 100, "Add to Document Cart", ""); return; } GridCommandItem Item = (GridCommandItem)e.Item; ImageButton btnAddToCart = (ImageButton)e.Item.FindControl("btnAddSelectedToCart"); .... ..... rest of code... }}
// Function that is called from the window to "get back" the value and fill the field tbField
function test(args) { RadAjaxManager1.ajaxRequest(args);}"row that is edited".FindControl("tbField") as TextBox<
telerik:RadComboBox ID="ddlEmployee" runat="server" Width="190px" Height="100px"
EmptyMessage="Select employee " EnableLoadOnDemand="True" EnableVirtualScrolling="true"
OnItemsRequested="RadComboBox1_ItemsRequested" DataTextField="Name" DataValueField="EmpNo"
Skin="WindowsXP" OffsetX="2" AllowCustomText="True" EnableEmbeddedSkins="False"
EnableAjaxSkinRendering="False" EnableEmbeddedBaseStylesheet="False"
EnableItemCaching="True" ShowMoreResultsBox="True">
</telerik:RadComboBox>
Can someone help me how to improve the performance?
Any suggestions would be appreciated.
Thanks & Regards,
Kiran
http://www.telerik.com/community/forums/aspnet-ajax/window/radwindow-with-transparent-title-bar.aspx