Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
127 views
Dear ALL,

how to bind menu from generic list that means i have method namely Public List<Roles> GetRoles() which is return list of roles every list contain properties are RoleID,RoleName,ParentRoleID,NavigateURL. 
 1) I need to bind menu based on this role name should be display with based on ParentRoleID heiarchy.
 2)And also i have NavigateURL property when i click RoleName in Menu based on NavigatURL my page will naviagte to another page     and how to implement this ? i am new to this if you guide me and very needful for me ..

Thanks in Advance..!
Kate
Telerik team
 answered on 06 Sep 2012
1 answer
149 views
When I apply filter feature in RadGrid, the position of the filter menu is not correct while click the filter icon. The attached is screenshot of the issue.
Eyup
Telerik team
 answered on 06 Sep 2012
1 answer
481 views
Good day,
I'm using the standard code example for the ListBox and I'd like to have sorting.  My Master page generates a unique name and adds it to all of the form element names, so  the code looks like this:
<telerik:RadCodeBlock runat="server" ID="RadCodeBlock1">         
<script type="text/javascript">             
//<![CDATA[
            
var listBox;             
function pageLoad() {                 
listBox = $find("<%= ctl00$MainContent$SortUC$RadListBox1.ClientID %>");           
}

etc...etc

However when I run the code, I'm getting this error:
error CS1056: Unexpected character '$'

and its pointing to the line with the form name. I can find scant little info on the internet about this, so can somone
please tell me how this is supposed to work if it can't handle any non-alphanumerical chars in the string?

Thanks,
Alan R


Ivan Zhekov
Telerik team
 answered on 06 Sep 2012
12 answers
393 views
Hi all.

I'm using a scheduler where I replaced the HeaderMonth Button with an Add Button and the HeaderTimeline Button with an Edit Button. This is mainly for iPad users that can't use double click to edit an appointment or add a new one.

In order to edit an appointment, the user would have to select the appointment and click on the Edit Button. The same goes for adding a new appointment. (See attached image)

Is there a way to pass the values of the previously selected appointment to the OnClientNavigationCommand event?

Thanks!
Ivan Zhekov
Telerik team
 answered on 06 Sep 2012
8 answers
589 views
How to hide date  in timeline view only of rad scheduler
Boyan Dimitrov
Telerik team
 answered on 06 Sep 2012
1 answer
48 views
How we can change the "start time" label text to "start date" in new appointment popup of rad scheduler
Boyan Dimitrov
Telerik team
 answered on 06 Sep 2012
5 answers
227 views
I have a function that is called on Column context menu:
function ColumnContextMenu(sender, eventArgs)
{
    var e = eventArgs.get_domEvent();
    var gridCol = eventArgs.get_gridColumn();
    var gridColElm = gridCol.get_element();
    var colIndex = gridColElm.cellIndex;
    var colName = gridCol.get_uniqueName();

    // get col header text
    var colhdrTxt;

    // firefox colhdrTxt = gridColElm.textContent
    // ie colhdrTxt = gridColElm.innerText
    if(gridColElm.textContent)
        colhdrTxt = gridColElm.textContent;
    else
        colhdrTxt = gridColElm.innerText;    
    ...
}
I don't like using browser dependent code. Do you have an existing function/property to get column header text?


Radoslav
Telerik team
 answered on 06 Sep 2012
1 answer
494 views
Hi,
My grid has a checkbox in the main grid header to select/deselect all the items in the grid (client side) and when the user unchecks any item in the grid, the grid header checkbox is unchecked. This functionality is working great as I used the built-in <telerik:GridClientSelectColumn> grid column.

Now, I need the similar functionality for all the items in grid grouping. I need to select all the items in a group by a checkbox in the group header item (client side) and when the user unchecks any item in the grouping, the grouping header checkbox must be unchecked.

Additionally, when the user checks the main grid checkbox, all the grouping checkboxes in the grouping headers need to be checked as well and when the user unchecks any item in a specific group, the header checkbox for that specific group need to be unchecked.

Does, telerik grid has any built-in functionality for this? All this need to be done CLIENT SIDE.

I have read the following threads already:
-----------------------------------------------------
  • Selecting all items in a group with a checkbox in the group header item:
http://www.telerik.com/community/code-library/aspnet-ajax/grid/selecting-all-items-in-a-group-with-a-checkbox-in-the-group-header-item.aspx
  • Add "Check All" in the header cell for a GridViewCheckBoxColumn
http://www.telerik.com/support/kb/winforms/gridview/add-check-uncheck-all-check-box-in-the-header-cell.aspx
  • CLIENT SIDE "SelectAll" checkbox in Grouping
http://www.telerik.com/community/forums/aspnet-ajax/grid/how-to-select-all-items-in-a-group-with-a-checkbox-in-the-group-header---client-side.aspx
  • SelectAll option in Grid Header along with individual group selection
http://www.telerik.com/community/code-library/aspnet-ajax/grid/selectall-option-in-grid-header-along-with-individual-group-selection.aspx
-----------------------------------------------------

Thanks for your help.
http://www.megasearches.com/  

Radoslav
Telerik team
 answered on 06 Sep 2012
1 answer
114 views
Is there a way to hide cells or entire rows in a grid using a trigger such as specific text or a blank cell?  For example, in the case that a grid row is essentially one cell, can you code in a switch to hide the row and its label (header row) if the cell is blank or did not receive inputs or information from a corresponding web form?  Thanks in advance.  Your help and advice is much appreciated. 
Shinu
Top achievements
Rank 2
 answered on 06 Sep 2012
1 answer
58 views

Hi,

I need to set the work time/business hours in the scheduler based on the day of the week, eg. Mon-Fri 9am-5pm Sat 10am-1pm.

I can see where I can set it for the whole block but not based on an individual day.  Is there a server side event that I can do this on?

Thanks

Gavin.

Plamen
Telerik team
 answered on 06 Sep 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?