foreach (UploadedFile file in _RadAsyncUpload1.UploadedFiles)
{
string t = file.FileName;
string q = file.GetFieldValue("Source");
}
We have RadEditor for MOSS on our servers, but would like to know why we cannot use the full version. We use the RadEditor to create content for web pages that do have a couple of web parts on - is that why?
We just need a quick explanation on why we cannot use the RadEditor for ASP.NET AJAX even though we have got a couple of other controls from the suite running on our site.
Thanks.
protected void gvSelected_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
Vehicle v = (Vehicle)e.Row.DataItem;
string avinnumber = v.Vin;
VinRadToolTipManager.TargetControls.Add(e.Row.ClientID, avinnumber, true);
}
}
//**************** Passing Wrong value !!!!!!!!!!!!!!!!!!!!!!!!!!
protected void OnAjaxUpdate(object sender, ToolTipUpdateEventArgs args)
{
Control ctrl = Page.LoadControl("infovin.ascx");
args.UpdatePanel.ContentTemplateContainer.Controls.Add(ctrl);
InfoVin details = (InfoVin)ctrl;
details.Avinnumber = args.Value;
}
Here is my ToolTipManager and Grid
<telerik:RadToolTipManager ID="VinRadToolTipManager" runat="server" Position="BottomCenter"
Animation="None" OnAjaxUpdate="OnAjaxUpdate" RelativeTo="Mouse" Width="350px"
Height="150px" Style="font-size: 18px; text-align: center; font-family: Arial;"
RenderInPageRoot="true" skin="WebBlue" HideEvent="LeaveToolTip" AutoCloseDelay="0" Sticky="false">
</telerik:RadToolTipManager>
<table width = "100%">
<tr>
<td align="center" valign="top"> <asp:Label id="srMessage" Font-Bold="true" ForeColor="Red" runat="server"/>
<asp:Panel id="multiResults" runat="server">
<table width="100%">
<tr>
<td align="center">
<asp:Label id="lblMultiGrid" Font-Bold runat="server" />
<asp:GridView ID="gvSelected" runat="server" ItemStyle-VerticalAlign=Top align=left AllowPaging="false" onRowDataBound="gvSelected_RowDataBound" OnRowCreated="gvSelected_RowCreated" OnSelectedIndexChanged="gvSelected_SelectedIndexChanged" PageSize="15" AutoGenerateColumns="False" ShowFooter="false" Width="100%" >
<Columns>
<asp:BoundField HeaderText="VIN" DataField="Vin" HeaderStyle-HorizontalAlign="Left"/>
<asp:BoundField HeaderText="Year" DataField="Modelyear" HeaderStyle-HorizontalAlign="Left"/>
<asp:BoundField HeaderText="Manufacturer" DataField="Make" HeaderStyle-HorizontalAlign="Left"/>
<asp:BoundField HeaderText="Model" DataField="Model" HeaderStyle-HorizontalAlign="Left"/>
<asp:BoundField HeaderText="Body Style" DataField="Bodystyle" HeaderStyle-HorizontalAlign="Left"/>
<asp:BoundField HeaderText="Coll" DataField="Collsymbol" HeaderStyle-HorizontalAlign="Left"/>
<asp:BoundField HeaderText="Comp" DataField="Compsymbol" HeaderStyle-HorizontalAlign="Left"/>
<asp:BoundField HeaderText="VSR" DataField="symbol" HeaderStyle-HorizontalAlign="Left"/>
<asp:BoundField HeaderText="AntiTheft" DataField="Antitheft" HeaderStyle-HorizontalAlign="Left"/>
<asp:BoundField HeaderText="Passive Restraint" DataField="Restraint" HeaderStyle-HorizontalAlign="Left"/>
<asp:BoundField HeaderText="AntiLock Brakes" DataField="Antilockbrakes" HeaderStyle-HorizontalAlign="Left"/>
</Columns>
</asp:GridView>
</td>
</tr>
</table>
</asp:Panel>
private
void
initFileManager()
{
var sBPResourcePath = getBPResourcesPath();
var arBPResourcePaths =
new
string
[] { sBPResourcePath };
rfeFileExplorer.AllowPaging =
false
;
rfeFileExplorer.Configuration.DeletePaths = arBPResourcePaths;
rfeFileExplorer.Configuration.UploadPaths = arBPResourcePaths;
rfeFileExplorer.Configuration.ViewPaths = arBPResourcePaths;
rfeFileExplorer.DisplayUpFolderItem =
true
;
rfeFileExplorer.EnableCreateNewFolder =
true
;
rfeFileExplorer.EnableOpenFile =
true
;
//rfeFileExplorer.InitialPath = sBPResourcePath;
rfeFileExplorer.Language = _sessionInfo.CurrentCultureCode;
rfeFileExplorer.VisibleControls = GetVisibleControls();
}
private
FileExplorerControls GetVisibleControls()
{
FileExplorerControls explorerControls = 0;
// explorerControls |= Telerik.Web.UI.FileExplorer.FileExplorerControls.AddressBox;
explorerControls |= FileExplorerControls.Grid;
explorerControls |= FileExplorerControls.Toolbar;
explorerControls |= FileExplorerControls.TreeView;
explorerControls |= FileExplorerControls.ContextMenus;
return
explorerControls;
}