Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
442 views
Has anything improved with Q1 2011 on filtering of Enums ?

Unfortunately it's quite common to use eNums in C# and to need to bind objects containing enum properties to the Telerik grid.

Whilst the values display ok in the grid the filters offer integer choices only rather than a selection list of the string equivalents. Also when editing values in cells it is the integer values that are requested (unfamiliar to the users of a system).

Martin
Veli
Telerik team
 answered on 07 Apr 2011
1 answer
131 views
I installed the developer version of Ajax control over the demo version and I still get a Trial Noticiation. How can I remove this?
Sebastian
Telerik team
 answered on 07 Apr 2011
0 answers
85 views
Hi,

I am using Rad grid with heirarchy ,if one parent record does not have any child record when i expand that parent record no child records found message is displayed , but user is not able to select that no record found row , i want to perform some functionlity on selection of that no record found row ,so please let me know is there any way i can select no record found row.

Thanks,
Wajih
Top achievements
Rank 2
 asked on 07 Apr 2011
2 answers
96 views
I want show a custom line (target line) on the chart 

like the picture attached.

to be shown a red grid line,and show a target value at left 

and I have found a similar sample for silverlight here
http://www.telerik.com/help/silverlight/radchart-features-annotations-custom-gridline.html

but I didnt found this feature in ASP.NET AJAX.

is possible do something like this ?

thanks
Anders
Top achievements
Rank 1
 answered on 07 Apr 2011
4 answers
328 views
Dear All,

I have added the Telerik.Web,UI.dll in my web application.

It is working fine, but today I have faced a strange issue while building the solution, the error returned is:

Error    296    Metadata file '<<Project Path>>\bin\Telerik.Web.UI.dll' could not be opened -- 'Not enough storage is available to process this command. ' 

But I have enough memory and other process were running fine and the CPU usage is also less.

My system configuration is:
OS - Windows 2003 Server
RAM - 4 GB
Free Space in C drive - 3.09 GB

Can any one tell me why this happens and how to get rid of this?

Thanks a lot in advance.
Sammy Elal
Top achievements
Rank 1
 answered on 07 Apr 2011
8 answers
644 views
Hi.. i want to know how to save images in database using RadUpload or RadAsyncUpload. and also i want to retrive it .. basically i'm making a Picture sharing site .. so please can u help me.. i'm beginner in asp.net. and also i followed your demo link.. but its hard for me to understand.. 

i've following scenario
1. User may upload "N" no of photos.. to db.
2 and has to retrive all his photos (Like gallery).

Which method is best stroing path of image in DB or Image itself in the DB ... Please give me detailed information.. ;( please.. i'm struck with collge project :( :( please.
Sebastian
Telerik team
 answered on 07 Apr 2011
1 answer
198 views
I have a Grid named gvModules with a nested grid called gvFields.  The gvModules uses the DataKey ItemTypeID that I need when a new record is added to gvFields.  I am trying to access that DataKey from the insert statement in the gvFields ItemCommand method.  I've tried the examples given on the forums and in the documentation without avail. I would welcome any additional direction.

ASPX
<telerik:RadGrid ID="gvModules" runat="server" AutoGenerateColumns="False" 
        DataSourceID="dsModules" GridLines="None" AutoGenerateEditColumn="True" 
        OnItemDataBound="gvModules_OnItemDataBoundHandler"
        Skin="Windows7" AllowFilteringByColumn="True" AllowSorting="True">
<MasterTableView DataKeyNames="ItemTypeID" DataSourceID="dsModules">
----
<NestedViewSettings DataSourceID="dsFields">
        <ParentTableRelation>
            <telerik:GridRelationFields DetailKeyField="ItemTypeID" MasterKeyField="ItemTypeID" />
        </ParentTableRelation>
    </NestedViewSettings>
    <NestedViewTemplate>
        <telerik:RadGrid ID="gvFields" runat="server" DataSourceID="dsFields" 
            AutoGenerateEditColumn="True" GridLines="None" Skin="Windows7" 
            OnItemDataBound="gvFields_OnItemDataBoundHandler"
            OnItemCommand="gvFields_ItemCommand" OnItemUpdated="gvFields_ItemUpdated" 
            AllowSorting="True">
            <MasterTableView CommandItemDisplay="TopAndBottom" AutoGenerateColumns="False" DataSourceID="dsFields" DataKeyNames="FieldID">
                -----
             </MasterTableView>
         </telerik:RadGrid>
      </NestedViewTemplate>
</MasterTableView>
</telerik:RadGrid>

C#
protected void gvFields_ItemCommand(object source, GridCommandEventArgs e)
{
        if (e.CommandName == RadGrid.PerformInsertCommandName)
        {
            GridEditableItem editedItem = e.Item as GridEditableItem;
  
            //PARAM ITEM TYPE ID
            GridDataItem parentItem = (GridDataItem)(e.Item.OwnerTableView.ParentItem);
              
            if (parentItem != null)
            {
                string itemType = "";
                itemType = parentItem.OwnerTableView.DataKeyValues[parentItem.ItemIndex]["ItemTypeID"].ToString();
                lblTmp.Text += "Item Type ID = " + itemType;
                //dsFields.InsertParameters["ItemTypeID"].DefaultValue = parentItem.OwnerTableView.DataKeyValues[parentItem.ItemIndex]["ItemTypeID"].ToString();
            }
            else
            {
                lblError.Text += "Cannot find parent item";
            }
     }
}

What I always get is 'Cannot find parent item'. 
Princy
Top achievements
Rank 2
 answered on 07 Apr 2011
2 answers
105 views
Hi,

I have a situation where I need to move a RadAsyncUpload control in the DOM.  After I move it the AllowedFileExtensions seems to be reset to allow all extensions.  I have not been able to work out how to set the AllowedFileExtensions via javascript.

Here is the problem isolated in a simple example.  Initially only jpg and wmv files can be selected.  But once I click the bt_MoveDiv button and move the control in the DOM, all file types can be selected.

<body>
    <form id="form1" runat="server">
     
    <script language="javascript" type="text/javascript">
     
        function buttonClick() {
            var container = document.getElementById('container');
            var ph = document.getElementById('holder');
 
            ph.appendChild(container);
        }
     
    </script>
     
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
     
        <div id="container">
            <telerik:RadAsyncUpload ID="RadAsyncUpload1" runat="server" AllowedFileExtensions="jpg,wmv">
            </telerik:RadAsyncUpload>
            <telerik:RadProgressArea ID="RadProgressArea1" runat="server">
            </telerik:RadProgressArea>
            <asp:Button ID="bt_Submit" runat="server" Text="Submit" onclick="bt_Submit_Click" />
        </div>
         
        <div id="holder">
        </div>
         
        <asp:Button ID="bt_MoveDiv" runat="server" Text="Move div" OnClientClick="buttonClick();return false;" />
         
    </div>
    </form>
</body>

I had similar problems some time ago with RadEditor being moved in the DOM.  This problem was fixed with the onParentNodeChanged() function.  Is there something similar I can do for RadAsyncUpload?

Thanks
Andrew
Andrew Dixon
Top achievements
Rank 1
 answered on 07 Apr 2011
0 answers
90 views
Hello programmers!

I'm building a GridTableView code, which is to show the detail of each record in a RadGridView.

To establish the relationship between registration and the detail table, I add a GridRelationFields keys thereof.

When I run the program (developed in aspx), whenever I click on to expand, I get the error I show in the picture:

Help!!!
Carlos Rodriguez
Top achievements
Rank 1
 asked on 06 Apr 2011
5 answers
296 views
Hi,
I used following code for grid
<telerik:RadGrid runat="server" ID="grdLMA" EnableEmbeddedSkins="false" AutoGenerateColumns="false"
                                            CellPadding="4" ForeColor="#333333" GridLines="None">
                                            <MasterTableView AllowSorting="false" AllowPaging="false" >

                                            </MasterTableView>
                                            <HeaderStyle Wrap="false" BackColor="#5D7B9D" ForeColor="White" Font-Bold="true"/>
                                            <ExportSettings ExportOnlyData="true" FileName="Roll-up Live Report" Excel-FileExtension="xls" Excel-Format="ExcelML"
                                            OpenInNewWindow="true"></ExportSettings>
                                            <ItemStyle BackColor="#F7F6F3" ForeColor="#333333" />
                                            <AlternatingItemStyle BackColor="White" ForeColor="#284775" />
                                            <ClientSettings>
                                                <Scrolling UseStaticHeaders="true" AllowScroll="true" SaveScrollPosition="true"/>
                                                <Resizing AllowColumnResize="true" AllowRowResize="true" ClipCellContentOnResize="false" ResizeGridOnColumnResize="true" />
                                            </ClientSettings>
                                            <FooterStyle BackColor="#5D7B9D" ForeColor="White" Font-Bold="true"/>
                                            </telerik:RadGrid>

In this grid i add columns dynamically. Please help me.

Thanks,
Abhinandan Bansal
Daniel
Telerik team
 answered on 06 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?