Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
55 views
Hi forum,
I'm evaluating the ASP.NET controls but I don't understand if they are right for my application.
My application will run into a closed network and I will be splitted in two parts.

1. Configuration interface
My users must configure a chart and save the template.
Into the template is not relevant if there is the connection string and the sql statement but it's important that it includes every series and chart configuration.
This part of my application can be a standalone winform application (I can buy also the winform components collection) but my users must create a chart without use VisualStudio (just my compiled application) and export it in some way (xml, stream, ....).
I didn't find a way to use the chart wizard of the winform chart control or the asp.net chart control at run-time.

2. End-user interface
This part of my application must be an ASP.NET webform (or webcontrol) where my users must insert the chart template and the connection string and the sql statement.
The sql statement inserted must be compatible with the statement used during the chart template creation.


Can I do it with you chart control?
Have you got some code sample about it?


Sorry for my english, I hope you understand me.

Please, help me!
Thank you,
Claudio
Ves
Telerik team
 answered on 29 Sep 2011
1 answer
161 views
Hi,

I would like to have a "Count" in the group header and "Sum" in the footer PROGRAMMATICALLY. I managed to see the "Sum" in the footer using the Aggregate function but still the footertext is missing. And also "Count" in "Group Header" is missing...  

I already checked the examples but could not find an appropriate answer for that. I think no one used them together programmatically!

What I need is something like;

VendorName (4)        Total
--------------                -------
ModelName1               25
ModelName2               25
ModelName3               25
ModelName4                 5
My Sum:                      80

Footertext "My Sum" and Count "(4)" are missing in my code!!!

Thanks for your help in advance,
Ervin
Princy
Top achievements
Rank 2
 answered on 29 Sep 2011
1 answer
56 views
On my front page http://www.sandberg.it, my Menu is obscured by the Rotator below only in IE. I have tried to set z-index on ALL elements, as also suggested in thread below, but nothing works!

Could you please have a quick look in the DOM or whatever and see if you can see the problem? Thanks in advance.

http://www.telerik.com/community/forums/aspnet-ajax/toolbar/radtollbar-and-radmenu-z-index-issues.aspx

PLEASE CLOSE
Problem was caused by IE forcing Compatibility View on sites designated as intranet zone (which mine was by mistake).
Peter
Telerik team
 answered on 29 Sep 2011
1 answer
39 views
As the title posted, is it possible to use Telerik to support or convert the QuickTime video? It seems to only support windows media.
Sebastian
Telerik team
 answered on 29 Sep 2011
0 answers
132 views
Hi forum

I have created a RadGrid with automatically generated CRUD functions.

If i view a aspx file with the RadGrid in it works, however when i place it in a backend page onyl the delete and refresh works

It is the same code so can only assume something in the sitefinity backend is braking the functions

heres the code:

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="newsArticleAdmin.ascx.cs" Inherits="SitefinityWebApp.Modules.newsArticles.admin.newsArticleAdmin" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
 
<div style="clear:both;"></div>
<div id="adminContents">
 
<h2>News Articles</h2>
<p>These articles appear on the home page</p>
<br />
 
 
<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
</telerik:RadScriptManager>
 
 
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="RadGrid1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
 
                <telerik:AjaxUpdatedControl ControlID="SqlDataSource1" />
 
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
 
 
    <telerik:RadGrid ID="RadGrid1" runat="server" AllowAutomaticDeletes="True"
        AllowAutomaticInserts="True" AllowAutomaticUpdates="True"
        AutoGenerateDeleteColumn="True" AutoGenerateEditColumn="True" CellSpacing="0"
        DataSourceID="SqlDataSource1" GridLines="None" Skin="Telerik">
 
 
<MasterTableView AutoGenerateColumns="False" CommandItemDisplay="TopAndBottom"
            DataKeyNames="fld_blogPostId" DataSourceID="SqlDataSource1"
            EditMode="InPlace">
<CommandItemSettings ExportToPdfText="Export to PDF"
        AddNewRecordText="Add new article"></CommandItemSettings>
 
<RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
</RowIndicatorColumn>
 
<ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
</ExpandCollapseColumn>
 
    <Columns>
        <telerik:GridBoundColumn DataField="fld_blogPostId" DataType="System.Int32"
            FilterControlAltText="Filter fld_blogPostId column" HeaderText="fld_blogPostId"
            ReadOnly="True" SortExpression="fld_blogPostId" UniqueName="fld_blogPostId">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="fld_blogTitle"
            FilterControlAltText="Filter fld_blogTitle column" HeaderText="fld_blogTitle"
            SortExpression="fld_blogTitle" UniqueName="fld_blogTitle">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="fld_blogContents"
            FilterControlAltText="Filter fld_blogContents column"
            HeaderText="fld_blogContents" SortExpression="fld_blogContents"
            UniqueName="fld_blogContents">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="fld_blogDate"
            FilterControlAltText="Filter fld_blogDate column" HeaderText="fld_blogDate"
            SortExpression="fld_blogDate" UniqueName="fld_blogDate">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn DataField="fld_blogImage"
            FilterControlAltText="Filter fld_blogImage column" HeaderText="fld_blogImage"
            SortExpression="fld_blogImage" UniqueName="fld_blogImage">
        </telerik:GridBoundColumn>
    </Columns>
 
<EditFormSettings>
<EditColumn FilterControlAltText="Filter EditCommandColumn column"></EditColumn>
</EditFormSettings>
</MasterTableView>
 
        <StatusBarSettings LoadingText="Loading articles..."
            ReadyText="Articles ready" />
 
<FilterMenu EnableImageSprites="False"></FilterMenu>
 
<HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default"></HeaderContextMenu>
    </telerik:RadGrid>
 
 
    <asp:SqlDataSource ID="SqlDataSource1" runat="server"
        ConnectionString="<%$ ConnectionStrings:NewsArticlesConnectionString %>"
        DeleteCommand="DELETE FROM [tbl_newsArticles] WHERE [fld_blogPostId] = @fld_blogPostId"
        InsertCommand="INSERT INTO [tbl_newsArticles] ([fld_blogTitle], [fld_blogContents], [fld_blogDate],
[fld_blogImage]) VALUES(@fld_blogTitle, @fld_blogContents, @fld_blogDate, @fld_blogImage)"
        SelectCommand="SELECT * FROM tbl_newsArticles"
        UpdateCommand="UPDATE [tbl_newsArticles] SET [fld_blogTitle] = @fld_blogTitle, [fld_blogContents] = @fld_blogContents,
[fld_blogDate] = @fld_blogDate, [fld_blogImage] = @fld_blogImage WHERE fld_blogPostId = @fld_blogPostId">
        <DeleteParameters>
            <asp:Parameter Name="fld_blogPostId" />
        </DeleteParameters>
        <InsertParameters>
            <asp:Parameter Name="fld_blogTitle" />
            <asp:Parameter Name="fld_blogContents" />
            <asp:Parameter Name="fld_blogDate" />
            <asp:Parameter Name="fld_blogImage" />
        </InsertParameters>
        <UpdateParameters>
            <asp:Parameter Name="fld_blogTitle" />
            <asp:Parameter Name="fld_blogContents" />
            <asp:Parameter Name="fld_blogDate" />
            <asp:Parameter Name="fld_blogImage" />
            <asp:Parameter Name="fld_blogPostId" />
        </UpdateParameters>
    </asp:SqlDataSource>
 
  
</div>

Any help very muchappreciated

Andrew
Bloommedia
Top achievements
Rank 1
 asked on 29 Sep 2011
1 answer
98 views
Hi, i have a problem on a RadFileExplorer in the tree view when i have many elements and
need to scroll to navigate to certain node, then when i click in this node, the scroll
backs to its initial position.

I have a javascript function asociated to onTreeNodeClicking and i get the srollTop a this moment, i save in a hidden field , but
i dont know where apply this scroll value, to recover scroll. after postback from node clicking.

thanks in advance.
Plamen
Telerik team
 answered on 29 Sep 2011
1 answer
56 views
Hi.
Tell me, please, how can i get value of property "DataTextField" of RadContextMenu control on the client-side?
aspUser
Top achievements
Rank 1
 answered on 29 Sep 2011
1 answer
124 views
Hi,

I have the following javascript method to create a RadWindow.

function ShowModalWindow(cLinkName, args, width, height) 
{
    var oWnd = radopen(cLinkName, "ModalDialog");
      
    if(oWnd != null)
    {
        if (width != null)
            oWnd.SetSize(width, height);
  
        oWnd.Center();
  
        var arg = new Object();                    
        //Using an Object as a argument is convenient as it allows setting many properties.   
        arg.descriptionValue = args;
          
        oWnd.Argument = arg;
    }
    radWindow = oWnd;
}

The problem is that I have a page with a lot of graphs. If the button that calls the above javascript is clicked before the page is done loading then oWnd is null and the size does not get set. The window still opens correctly but the size is something like 50x50 instead of 800x600.

Is there a simple or preferred way to handle this?
Marin Bratanov
Telerik team
 answered on 29 Sep 2011
1 answer
48 views
Hello Telerik,

I have RadRating inside my grid,my item count is 1.i need a condition like only out of the say 10 fields that are showing only 3 needs to be set as rated,if the 4th one is rated,then it sholud show a message "you cant select more than 3".

Thanks,
aRviN.!!
Shinu
Top achievements
Rank 2
 answered on 29 Sep 2011
8 answers
257 views
Hi,

This control is actually a control I have wanted for a while. I use the WinForms ListView control a lot which provides a lightweight but pretty useful control; this seems to map qiute well to the ListView, without requiring the weight of a grid.

I have a question which may be a suggestion. Is it possible to add my own buttons alongside the Move Up/Down/Delete buttons? One of my items in my list needs to be set to "default". This would ideally be via a button within the listbox control itself, complemented by a styled entry - eg. in bold.

Is this possible?
Genady Sergeev
Telerik team
 answered on 29 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?