Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
151 views
I have two columns in a datagrid that currently display a number (int) based on the results from a stored procedure.  The numbers in that column, however, are actually matched up to an enum I have defined elsewhere.  What I would like to do is be able to show the text equivalent of the enum instead of the number.  So, for example, if I have an enum as:

Alpha = 1,
Beta,
Delta,
Gamma

and a column of results that look like:
1
3
2
2

the column in the datagrid should display:
Alpha
Delta
Beta
Beta

I hope I'm being concise and clear enough in my question.

Thank you in advance.
Rob
Top achievements
Rank 1
 answered on 30 Jul 2008
12 answers
158 views
Hi

I use the radgrid with the built-in skins. In the Visual Studio I can see the images for the two command items "add new record" and "refresh". If I view the page in a brwoser the images are not displayed.

The pages are located below the root in a folder. If I move the pages up into the root everthing works fine.

Any suggestion?

Thanks
Joachim
Joachim
Top achievements
Rank 1
 answered on 30 Jul 2008
5 answers
395 views
Hi all!
In Q1 2008 SP1, there's always 4pixel between RadDock object and RadZone as denoted in picture below. How to remove these space.
View picture at: http://sonlh.110mb.com/storage/image/dockborder.jpg
LeBear
Top achievements
Rank 1
 answered on 30 Jul 2008
6 answers
186 views


m_RadTreeFolderHierarchy.LoadContentFile("~Layouts/MJTree/TreeData.xml")

Results in:

Could not find a part of the path 'C:\Inetpub\wwwroot\wss\VirtualDirectories\80\ISD\~Layouts\MJTree\TreeData.xml'.
Bob
Top achievements
Rank 1
 answered on 30 Jul 2008
2 answers
191 views
I am attempting to create a client-side grid toolkit (export, print to pdf, group by column, expand/collapse all, reset grid).  All features wor except the group by column.  I can get the column index, but the groupcolumn clientside function requires the uniquename.  How can I get this?  The following code allows me to opposite-click on the grid and get the col index:

function ColumnContextMenu(sender, eventArgs)  
        {  
            alert(eventArgs.get_gridColumn().get_element().cellIndex);  
            GroupByColumn(eventArgs.get_gridColumn().get_element().cellIndex);  
            eventArgs.get_domEvent().cancelBubble = true;  
        }  
          
function GroupByColumn(cellindex)  
        {  
            var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();  
            masterTable.groupColumn("MyColumnName");  
        }  
EBS
Top achievements
Rank 1
 answered on 30 Jul 2008
1 answer
87 views
Sir

I implemented paging in my grid.When i Select rows in first page and move to the second page and again come back to first page ,the selection is not retained.I need a solution without using Session Variables.
Vladimir
Top achievements
Rank 1
 answered on 30 Jul 2008
1 answer
125 views
Hi,

Is it good to place all rows in edit mode because i noticed less performance when rendering the grid, especially in GridDateTimeColumns

Thx in advance,
Glenn
Vladimir
Top achievements
Rank 1
 answered on 30 Jul 2008
4 answers
341 views
Is there a setting similar to a meta refresh in the grid so that it would refresh every 10 minutes or so?
Mike
Top achievements
Rank 1
 answered on 30 Jul 2008
4 answers
563 views
Hello!

I have a grid, which is in an update panel with a timer.. I need the grid to refresh its self every few seconds.

The refreshing works, but if I click to delete an item on the grid using the delecte command it doesn't disappear until the next timer tick, even though I do a grid.rebind().

What is the best way of going about doing this? or is this some sort of bug?

Any advice would be much appreciated!

Bex
Vladimir
Top achievements
Rank 1
 answered on 30 Jul 2008
3 answers
119 views
Hi,

Is there any samples available to drag and drop the tabs in a tab strip to reorder them?


We are using RadControlsQ1 2007.

Thanks

Kartik
Paul
Top achievements
Rank 1
 answered on 30 Jul 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?