Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
178 views
  Dear telerik,
   
     I use a radfilter for filter the RadGrid. Now I save the value of radfilter SaveSettings function.I need load the setting when pageload.
     any idea? thanks!
James Campbell
Top achievements
Rank 1
 answered on 15 Nov 2011
2 answers
271 views
Seems like this should be simple, but I'm not seeing it.
I have a RadListView displaying data from a table and I have LinkButtons on each item to delete them. Everything fires like I would expect but I'm having trouble in my ItemCommand event.

In my ItemCommand event I just need to be able to access my "pri_key" column of the bound table.
I'm used to doing something like e.Item.DataItem("pri_key") in other bound controls but I don't see anything like that.
How should I be accessing this? Thanks!

Thanks!
Sebastian
Telerik team
 answered on 15 Nov 2011
6 answers
1.0K+ views
Hi,

AllowColumnResize

 

 

="True" in the rad gird. This allows resizing the columns to any width. I want to set a minimum value to which the column width can be reduced. if the user tries to reduce the width of the column lower than what is specified , then the width should be set to the minimum value mentioned.

Kindly let us know if this can be achieved and how.

Thanks,
Sudha.

Jayesh Goyani
Top achievements
Rank 2
 answered on 15 Nov 2011
3 answers
86 views
I have hierarchical Grid .If i Dont have Childs Then it should Not show expand Button.How to do That.
Jayesh Goyani
Top achievements
Rank 2
 answered on 15 Nov 2011
3 answers
214 views
Hi telerik team,

Is any possible to Remove/Hide the "Remove Element" in the Node inspector.

For E.g

div>ul>li>Remove ELement

Instead of we need only

div>ul>li

Rumen
Telerik team
 answered on 15 Nov 2011
1 answer
105 views
I want to access label field in itemtemplate and change the text at run time when in edit mode.
Andrey
Telerik team
 answered on 15 Nov 2011
1 answer
193 views
I am using your 'rating & comment' example as the starting blocks for a ratings system I am building but I have hit a snag when using inside a repeater.

Line 13:        function OnClientRated(controlRating, args) {
Line 14:             var tooltip = $find("<%= RadToolTip1.ClientID %>");
Line 15:             tooltip.show();
Line 16:         }

My browser is telling me it cant find 'RadToolTip1' as it is within a repeater. How do I fix this? What do I need to change on the JS so it can see the radtooltip?

Also, how do I get the values of the RadRating control (RadRating1) from within a repeater? Can I use OnItemCommand and pass in arguments and commnds???

Many thanks
Simon
Slav
Telerik team
 answered on 15 Nov 2011
10 answers
232 views
Hello,

Is there a clientside event where I can iterate through rows or a single row cells and collect all controls from row? Problem is that their ClientIDs may vary depending on where the grid is located and I may not now their names at the moment. I tried to do the following:
function getRowControls(row, controlName) {
    var result = Array();
    var grid = $find(gridID);
    var master = grid.get_masterTableView();
    var columns = master.get_columns();
    for (var i = 0; i < columns.length; i++) {
        var control = getControlFromCell(row.get_cell(columns[i].get_uniqueName()), controlName);
        if (control)
            result.push(control);
    }
    return result;
}
function getControlFromCell(cell, ctlName) {
    if (cell == null) return null;
    var cellControls = cell.getElementsByTagName("*");
    for (var a = 0, b = cellControls.length; a < b; a++) {
        var f = cellControls[a].id;
        if (f && f.endsWith(ctlName)) {
            return $find(f);
        }
    }
    return null;
}

"controlName" here is only control name suffix which the same through all my controls. In my case it's "_templateEditControl". I tried OnRowCreated, OnMasterTableViewCreated, OnGridCreated but there are still no controls by the time they fire.
Is there an event which would fire when grid enters edit or insert mode? Or any, where I can iterate through row controls and do something with them.
Thank you.

Mira
Telerik team
 answered on 15 Nov 2011
3 answers
284 views
Hello Telerik!

I am currently experiencing a Mozilla FireFox exclusive issue involving the Z-Index of the mouse cursor while Dragging and Dropping from a TreeView to a RadEditor within a Modal Popup Panel. Earlier, I was experiencing this issue in both IE8 and FireFox, however, after applying this CSS property:

.TelerikModalOverlay
{
     z-index: 100000 !important;
}

This solved the issue in IE8, but the problem persists in FireFox. I have a sample application in .zip format ready to send, however I can not attach a .zip file.

the Page structure is like this:

Page with an Ajax modalpopup control containing a user control
User Control contains a RadPanelBar, with 2 RadPanelItems, each RadPanelItem contains a RadTreeView
Each RadTreeView contains several RadTreeNodes
Drag And Drop on the RadTreeViews are active.
Next to the RadPanelBar is a RadEditor with standard toolbar controls.

What you should see is if you are in FireFox, you will notice that if move the cursor off the modal while dragging, that you will see the item appear behind the popup panel. Conversely, if you are in IE8, you will notice the intended functionality; the item correctly drops to the cursor position on the RadEditor.

I have tried increasing and decreasing the z-index value of the TelerikModalOverlay property, and it does not appear to have any positive results in FireFox. Also, I am currently using FireFox 5.0, and I can also reproduce this issue on previous versions of FireFox.

Attached, you will see a screenshot of the issue. To the left of the Modal Panel, you can see half of the cursor, depicting the text "Rule..." which actually says "Rule: 5" but I was attempting to capture the fact that half of the text is behind the popup.

Please let me know if I am doing something wrong, or if I need to implement an exclusive fix for FireFox browsers. I would be more than happy to send over a .zip file of a sample application which consistently reproduces the issue that I am experiencing.

Thanks in advance!

-Andrew

Code Here:
Peter
Telerik team
 answered on 15 Nov 2011
2 answers
583 views
hi all :)

I open some video at a radwindow, but after closing, the video still working

how can I close the window and all controls inside it ?

if I can to have another question, can I show radwindow without any border ?

just like popup one



thank you all :)
Marin Bratanov
Telerik team
 answered on 15 Nov 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?