Hello,
I am using RadGrid version 2008.2.826.20.
I am trying to update the record with 'InPlace' editmode. I have following two problems:
1) I want to show Record updated or Inserted message on top of the page instead of adding control in Radgrid. Therefor, I am using label control and once the record is updated trying to show it. With all surprise it assigns the text to label but label doesn't showup!
2) RadAjxLoadingPanel doesn't show up so, as a workaround I set the EnableAJAXLoadingTemplate="true".
Now loading icon comes up but not as shown as on Telerik site. It's not over the grid nor grid becomes transparent. In the grid's box all records disappears and only loading icon shows.
Any ideas?
| <radG:RadGrid ID="RGChoiceItems" allowMultiRowEdit="True" AllowMultiRowSelection="True" Skin="Office2007" EnableAJAXLoadingTemplate="true" |
| GridLines="None" EnableAJAX="true" runat="server" AutoGenerateColumns="False" Width="900"> |
| <HeaderStyle CssClass="BVSmallText" Font-Bold="True" /> |
| <ItemStyle CssClass="ItemStyle" VerticalAlign="Top" /> |
| <AlternatingItemStyle CssClass="AlternateItemStyle" VerticalAlign="Top"/> |
| <PagerStyle Mode="NextPrevAndNumeric" /> |
| <MasterTableView Width="100%" CommandItemDisplay="TopAndBottom" EditMode="InPlace" DataKeyNames="Id" HorizontalAlign="NotSet" > |
| <Columns> |
| <radG:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" UpdateImageUrl="~\RadControls\Grid\Skins\Update.gif" |
| EditImageUrl="~\RadControls\Grid\Skins\Edit.gif" InsertImageUrl="~\RadControls\Grid\Skins\Update.gif" CancelImageUrl="~\RadControls\Grid\Skins\Cancel.gif"> |
| <ItemStyle CssClass="MyImageButton" /> |
| </radG:GridEditCommandColumn> |
| <radG:GridBoundColumn HeaderText="Display Text" UniqueName="Text" MaxLength="50" DataField="DisplayText"> |
| <ItemStyle HorizontalAlign="Left" /> |
| <HeaderStyle HorizontalAlign="Left" /> |
| </radG:GridBoundColumn> |
| </Columns> |
| </MasterTableView> |
| </radG:RadGrid> |
| <radA:RadAjaxManager ID="radManager" runat="server" > |
| <AjaxSettings> |
| <radA:AjaxSetting AjaxControlID="RGChoiceItems"> |
| <UpdatedControls> |
| <radA:AjaxUpdatedControl ControlID="WebpageMessageHolder" LoadingPanelID="RadLoadingPanel1"/> |
| <radA:AjaxUpdatedControl ControlID="RGChoiceItems"/> |
| </UpdatedControls> |
| </radA:AjaxSetting> |
| </AjaxSettings> |
| </radA:RadAjaxManager> |
| <radA:AjaxLoadingPanel ID="RadLoadingPanel1" style="width: 300px; height: 300px; background-color: #DCDCDC;" runat="server" Transparency="5" IsSticky="true"> |
| <asp:Image ID="imgUpdating" runat="server" AlternateText="Updating..." /> |
| </radA:AjaxLoadingPanel> |