<telerik:RadScriptManager runat="server" ID="RadScriptManager1" /> <telerik:RadGrid ID="RadGrid1" Width="100%" AllowSorting="True" ShowFooter="True" OnPreRender="RadGrid1_PreRender" PageSize="15" AllowPaging="True" OnItemDataBound="RadGrid1_ItemDataBound" AllowMultiRowSelection="True" ShowChooser="true" EnableLinqExpressions="False" runat="server" GridLines="None" AutoGenerateColumns="False" CellSpacing="0" DataSourceID="SqlDataSource1"> <MasterTableView Width="100%" Summary="RadGrid table" RetrieveAllDataFields="false" DataSourceID="SqlDataSource1"> <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings> <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column"> </RowIndicatorColumn> <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column"> </ExpandCollapseColumn> <Columns> <telerik:GridBoundColumn DataField="ProductID" HeaderText="ProductID" DataType="System.Int32" SortExpression="ProductID" FilterControlAltText="Filter ProductID column" ReadOnly="True" UniqueName="ProductID"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="ID" HeaderText="ID" DataType="System.Int32" FilterControlAltText="Filter ID column" SortExpression="ID" UniqueName="ID"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="ProductName" HeaderText="ProductName" FilterControlAltText="Filter ProductName column" SortExpression="ProductName" UniqueName="ProductName"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Price" HeaderText="Price" SortExpression="Price" UniqueName="price"> </telerik:GridBoundColumn> <telerik:GridBoundColumn DataField="Price2" HeaderText="Price2" SortExpression="Price2" UniqueName=Price2> </telerik:GridBoundColumn> </Columns> <EditFormSettings> <EditColumn FilterControlAltText="Filter EditCommandColumn column"> </EditColumn> </EditFormSettings> </MasterTableView> <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle> <FilterMenu EnableImageSprites="False"> </FilterMenu> </telerik:RadGrid> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:Rajeev_DBConnectionString %>" SelectCommand="SELECT * FROM [product]"></asp:SqlDataSource>using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Web.UI;using System.Web.UI.WebControls;using Business;using Telerik.Web.UI;namespace Telerik_Master_Pages{ public partial class TestSum : System.Web.UI.Page { Decimal total; Decimal total2; Decimal grantotal; protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e) { if (e.Item is GridDataItem) { GridDataItem dataItem = e.Item as GridDataItem; Decimal fieldValue = Convert.ToDecimal(dataItem["Price"].Text); Decimal Fieldvalue2 = Convert.ToDecimal(dataItem["Price2"].Text); total += fieldValue; total2 += Fieldvalue2; // grantotal = fieldValue + Fieldvalue2; } if (e.Item is GridFooterItem) { grantotal = Convert.ToDecimal(total) + Convert.ToDecimal(total2); GridFooterItem footerItem = e.Item as GridFooterItem; footerItem["Price"].Text = "total: " + total.ToString(); footerItem["Price2"].Text = "total Price2: " + total2.ToString() + " " + " Grand Total " + grantotal; } } protected void RadGrid1_PreRender(object sender, EventArgs e) { } }}#1 & #2 are absolute requirements. #3 is optional
Further to #1, I right-clicked in the Toolbox area of the VS2012 IDE and chose "Choose Items". On the ".NET Framework Components" tab of the dialog box I chose Browse. I navigated here: C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q3 2012\Bin45
Three files appeared:
I tried clicking on the first two. It said "Loading the selected file(s)" Then later, when I pressed OK this message appeared: "The following controls were successfully added to the toolbox but are not enabled in the active designer:" After that, no Telerik tools appeared in the Toolbox.
While I had hoped I could save the cost of buying VS2012 Professional, this is not a very good start. Time is Money.
I would like a definitive answer from Telerik Support to my 3 questions above. Can I do all of that with the Express version of VS2012: Yes or No?
Robert
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> <telerik:RadImageEditor ID="RadImageEditor1" runat="server" StatusBarMode="Top" ToolsLoadPanelType="AjaxPanel"> <Tools> <telerik:ImageEditorToolGroup> <telerik:ImageEditorTool CommandName="Print" /> <telerik:ImageEditorTool ImageUrl="~/Images/Icons/Floppy.png" Text="Download" meta:resourcekey="ImageEditorDownload" CommandName="CustomDownload" /> </telerik:ImageEditorToolGroup> <telerik:ImageEditorToolGroup> <telerik:ImageEditorToolStrip CommandName="Undo" /> <telerik:ImageEditorToolStrip CommandName="Redo" /> <telerik:ImageEditorTool CommandName="Reset" /> </telerik:ImageEditorToolGroup> <telerik:ImageEditorToolGroup> <telerik:ImageEditorTool CommandName="Crop" IsToggleButton="true" /> <telerik:ImageEditorTool CommandName="Resize" IsToggleButton="true" /> <telerik:ImageEditorTool CommandName="Zoom" /> <telerik:ImageEditorTool CommandName="ZoomIn" /> <telerik:ImageEditorTool CommandName="ZoomOut" /> <telerik:ImageEditorTool CommandName="Opacity" IsToggleButton="true" /> <telerik:ImageEditorTool CommandName="Rotate" IsToggleButton="true" /> <telerik:ImageEditorTool CommandName="RotateRight" /> <telerik:ImageEditorTool CommandName="RotateLeft" /> <telerik:ImageEditorTool CommandName="Flip" IsToggleButton="true" /> <telerik:ImageEditorTool CommandName="FlipVertical" /> <telerik:ImageEditorTool CommandName="FlipHorizontal" /> <telerik:ImageEditorTool CommandName="AddText" IsToggleButton="true" /> <telerik:ImageEditorTool CommandName="InsertImage" IsToggleButton="true" /> </telerik:ImageEditorToolGroup> </Tools> </telerik:RadImageEditor> <script type="text/javascript"> Telerik.Web.UI.ImageEditor.CommandList["CustomDownload"] = function (imageEditor, commandName, args) { imageEditor.saveImageOnClient("Image"); } </script> </telerik:RadAjaxPanel>protected void Page_Load(object sender, System.EventArgs e) { if (!Page.IsPostBack) { //check Request.QueryString["myFileLocation"] and Request.QueryString["FileName"] here after save click } }