Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
95 views

Hello :)

I have a Rad grid view, which contain a button in each row

I want to do something with the data key (the primary key ) of the grid when I press a button in some row

can I retrieve the data key for used row to use it in my C# code ?

thank you all :)

Shinu
Top achievements
Rank 2
 answered on 25 Apr 2012
0 answers
114 views

I have an application that was given to my by someone else and it's using telerik controls.

the application is originally written in VS2010 framework 4.

when i try to open it on my end, i keep getting errors saying "failed to create designed "Error Creating Control - RadScriptManager1Failed to create designer 'Telerik.Web.UI.RadScriptManager, Telerik.Web.UI, Version=2011.1.519.40, Culture=neutral, PublicKeyToken=121fae78165ba3d4'"

the telerik.web.ui.dll file is in my "bin" folder.

am i missing something? is there a way to get the site to work without having to buy these controls? what do i do?

Tanya
Top achievements
Rank 1
 asked on 25 Apr 2012
4 answers
94 views
Hi,

I can set the "window close" animations for the RadWindow control.  How do I set animations for Window Maximize (which puts the window to full-screen), and Window Restore (which puts the window back to partial screen)?

Thanks!

andy
Top achievements
Rank 1
 answered on 24 Apr 2012
3 answers
107 views
Hi,

I am trying to understand why my combo box is always empty in the ItemRequested event eventhough I have some items in my Combo... My Event is similair to the load on demand demo. My combo works fine for the client, my problem is on the server, it is empty.

So why?
Jocelyn
Top achievements
Rank 1
 answered on 24 Apr 2012
2 answers
520 views
Here is the scenario:

  •   I have a RadGrid with 3 columns -- Qty -- Description -- Price Per
  •   Data comes in from the server - as a list of items you can select
  •   The Qty column is a RadNumbericTextbox with spinner buttons -- Price Per is set from the database
  •   When you change the Qty, I want to recalculate the total of all lines for the entire grid and show it in a separate RadNumbericTextbox outside of the RadGrid
  •   The math is the sum of Qty * Price Per for all lines.

Attached screenshot shows the grid I am dealing with to give a clear idea...
Dan
Top achievements
Rank 1
 answered on 24 Apr 2012
3 answers
294 views
Is there a good tutorial or documentation that explains this control and how it works.  We just purchased the controls at my work and i'm trying to learn as much about them as possible.  I'm not sure what this control does and how exactly to use it.  Any help would be appreciated.

Thank you
Eyup
Telerik team
 answered on 24 Apr 2012
1 answer
93 views
The behavior I'm seeing is that scrollIntoView() modifies the position of the scrollbar even when the node in question is already in view.  Is there a way to prevent this?  In attempting to accomplish this, I haven't been able to find a property on the node that describes whether it is already in view.  Can anyone help?

Phil
Plamen
Telerik team
 answered on 24 Apr 2012
3 answers
196 views
Hi

I'm using a Radgrid, fairly simple implementation:

<telerik:RadGrid ID="approval" runat="server" AutoGenerateColumns="False"
            CellSpacing="0" GridLines="None" AllowFilteringByColumn="true"
            onneeddatasource="approval_NeedDataSource"
            OnItemCommand="approval_ItemCommand" OnInit="approval_Init" >

<MasterTableView allowpaging="True" datakeynames="Id" AllowSorting="true"
    name="claims" commanditemdisplay="Bottom"  AllowFilteringByColumn="true">

I'm having an issue with the filter options, I have enabled column filtering and this is working fine.  I want to limit the number of filter options available.  I followed this guide: http://www.telerik.com/help/aspnet-ajax/grid-reducing-filtermenu-options.html 

I created an Init handler:
protected void approval_Init(object sender, EventArgs e)
{
    GridFilterMenu menu = approval.FilterMenu;
    int i = 0;
    while (i < menu.Items.Count)
    {
        if (menu.Items[i].Text == "NoFilter" || menu.Items[i].Text == "Contains" || menu.Items[i].Text == "DoesNotContain"  || menu.Items[i].Text == "EqualTo" || menu.Items[i].Text == "GreaterThan" || menu.Items[i].Text == "LessThan")
        {
            i++;
        }
        else
        {
            menu.Items.RemoveAt(i);
        }
    }
}


However this isn't working, if I attach a breakpoint the code isn't being hit.

Any advice?

Thanks
Contact
Top achievements
Rank 1
 answered on 24 Apr 2012
1 answer
84 views
I have a need where when I 'typeahead' to load the combobox... each time an item is selected it is automatically added to another listbox on the page (not removed from the combobox list collection). I don't really want it to remain selected in the combobox. Or displayed in the text field.

Dimitar Terziev
Telerik team
 answered on 24 Apr 2012
5 answers
105 views
Hello,

I'm trying to create "virtual" directories for our file-system and then display them using the fileexplorer from Telerik.

I have a table called FILES that looks something like this:

id int (key)
filename varchar(50)

A table calle VERZEICHNIS that looks like this
id int (key)
directoryname varchar(50)
vorgaengerid int

and a many to many connection between them

FILES_VERZEICHNIS

filesid int  (key)
verzeichnisid int (key)

I've got it to display everything just fine using a custom file provider, but I've run into two problems.

One, because the files come from Internet users we've created a system where the filename displayed can exist more than once in a directory (the id is the key). When the Fileexplorer Itemcommand is fired, it only passes the path. I can probably append an id to some part of the filename, but this is unsightly and exposes information to the user they don't need. Perhaps there's a way I can get at the source node and destination node and the underlying dataitems, but I can't find it.

Two, I've probably set up the page wrong, because when the treeview attempts to refresh the wait indicator never goes away and I get four javascript errors. Three say "a is undefined" and the fourth says "Fehler: $get(this._currentDirectoryInputID) is null
Quelldatei: http://aspnet-scripts.telerikstatic.com/ajaxz/2011.1.315/FileExplorer/RadFileExplorer.js
Zeile: 674 "

Any help with either of these matters would be most appreciated.
Paul Herzberg
Top achievements
Rank 1
 answered on 24 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?