or
| protected void RadReplies_PageIndexChanged(object source, GridPageChangedEventArgs e) |
| { |
| RadReplies.PageIndexChanged = e.NewPageIndex; |
| Bind_Posts(); |
| } |
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> <AjaxSettings> <telerik:AjaxSetting AjaxControlID="RadMultiPage"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadMultiPage" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> <telerik:AjaxSetting AjaxControlID="RadTabStrip"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="RadMultiPage" LoadingPanelID="RadAjaxLoadingPanel1" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings></telerik:RadAjaxManager><telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" /><div class="right"></div><div class="left"> <telerik:RadTabStrip ID="RadTabStrip" SelectedIndex="0" runat="server" MultiPageID="RadMultiPage" CssClass="NoBg"> </telerik:RadTabStrip> <telerik:RadMultiPage ID="RadMultiPage" runat="server" SelectedIndex="0" OnPageViewCreated="RadMultiPage_PageViewCreated" /></div>
The usercontrols for the RadMultiPage are loaded as shown here: http://demos.telerik.com/aspnet-classic/TabStrip/Examples/Application/AddDynamicUserControls/DefaultCS.aspx.
Lastly the usercontrol with the problem:
<telerik:RadGrid ID="radGrid1" runat="server" DataSourceID="dsMatrix" AutoGenerateColumns="False" Width="100%">
<ClientSettings>
<Selecting CellSelectionMode="None"></Selecting>
</ClientSettings>
<MasterTableView Width="100%" EditMode="InPlace" AllowAutomaticDeletes="True" AllowAutomaticUpdates="true" AllowAutomaticInserts="True" DataKeyNames="ID, RowVersion">
<Columns>
<telerik:GridBoundColumn DataField="ID" Visible="false" />
<telerik:GridTemplateColumn DataField="Richtext" HeaderText="Richtext" HeaderStyle-Width="100%">
<ItemTemplate>
<telerik:RadEditor ID="txtRichtext" Runat="server" EditModes="Design" ToolsFile="RadEditorBasic.xml" EnableResize="False" Content='<%# Bind("Richtext") %>' AutoResizeHeight="True" Height="100px" Width="100%" Enabled="False" ReadOnly="True" />
</ItemTemplate>
<EditItemTemplate>
<telerik:RadEditor ID="txtRichtext" Runat="server" EditModes="Design" ToolsFile="RadEditorBasic.xml" EnableResize="False" Content='<%# Bind("Richtext") %>' AutoResizeHeight="True" Height="100px" Width="100%" />
</EditItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn" />
</Columns>
<EditFormSettings>
<EditColumn ButtonType="ImageButton" ItemStyle-HorizontalAlign="Center"/>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
So again: When removing the RadAjaxManager from the container, the "Richtext" field is properly saved. When RadAjaxManager is present as shown above, the field is not saved at all. Any other type of field I add is saved properly.
Any suggestions to get this to work with still having the fancy "loading" animation instead of the full page postback?


Hi
I have 2 questions that I need some help with if possible.
1)
I have implemented the RadAsyncUpload conrol in my web application to allow a user to upload files to the server. I would like to clear the uplaoded file list above the select button and this uploaded files in Javascript. Is this possible?
2)
How do a person code for when a file already exists using the RadAsyncUpload conrol?
Thank you
Fred