Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
1.2K+ views
We have a scenario where there is a column that contains html-formatted text, which could run into several paragraphs. We'd like to have this show up in a tooltip when the mouse is hovered anywhere over the grid row, not just on a single cell.

Is that possible? Any code examples?

Thanks in advance.
Kishor
Top achievements
Rank 2
 answered on 26 Sep 2014
8 answers
620 views
Hi everyone,

Is it possible to hide the Collapse/Expand  button in a RadTree. Is there for example a set_expandable() javascript function ???

Regards,
Sebastien.
Krishna
Top achievements
Rank 1
 answered on 26 Sep 2014
1 answer
124 views
Is there a way to select from a grid and then have that selection be available to copy to the clipboard? A coworker would like that feature and I wasn't sure that exists!

Pavlina
Telerik team
 answered on 25 Sep 2014
0 answers
107 views
I have a RadComboBox with checked items allowed and I can store the values in the database all works perfect.

What I need to know is when I load the page and parse in a record Id how you I check the items in the combobox that where saved in the database?

Hope this makes sense

Simon
Simon
Top achievements
Rank 1
 asked on 25 Sep 2014
2 answers
634 views
I have a RadGrid with a numbers column that is filterable and sortable. While the column's datatype is set to integer, there is no filtering function for contains. It is just set for 'exact'. The way I figured out how to get around this is to change the column's datatype to a string. The filtering then functions perfectly.

The sorting, however, breaks. If the numbers have different lengths, it raises an issue.

Here's a quick example: You have three numbers: 100, 70, 400.
Sorting ascending as per integer column: 70, 100, 400.
Sorting ascending as per string column: 100, 400, 70.

Is there a way for me to have the filtering capabilities of a string column while preserving the sorting of the integer column?
Alexander
Top achievements
Rank 1
 answered on 25 Sep 2014
1 answer
157 views
Hi,
How can I as follows

foreach (TreeListDataItem item in treeList.Items)
{
   if(Convert.ToInt32(item.GetDataKeyValue("ID"))>=20000)
   item.Select.Enabled = false;                    
}

I want to use as attach file
ahmet
Top achievements
Rank 1
 answered on 25 Sep 2014
2 answers
244 views
Hello,

I am trying to prevent the user from using
negative values in two columns in my radgrid. I think that it might be easier for us to make a check in code behind.

We have made a method in code behind which should
get the value/values of the cells that has been edited by the user(only two
columns). And for some reason that method returns the old value, look below.

Example;

An order has a total price of 500 euro. If I change
this to 450 euro and push save changes then our method should print out 450
euro.. but it doesn’t. It prints out the first value of 500 euro which
frustrates me.

This method Is called using “onitemupdated” in the
radgrid

SubCheckFields(sender AsObject, e As Telerik.Web.UI.GridUpdatedEventArgs)

        Dim item
As
GridDataItem =TryCast(e.Item, GridDataItem)

        Dim
itemValue AsString= item("Quantity").Text

       
MsgBox(itemValue)

        EndSub

I want to make a check in our method to see if the
value is negative or not.. if negative it shouldn’t save anything and just show
a message to the user.. if the edited value is positive

It should save the changes.

 

So basically we need;

When the save changes is pressed it should;

1.  Call the method in the code-behind.
2.  Check if some of the values in the two colums are negative.
3.  If negative – Abort/error message
4.  If positive – Save changes

Furthermore it shouldn’t use the aspx
Updatecommand (since we use the code behind), how do we turn off this?

Also, is there an easier way to do this?

Code: code

Kind Regards
Matias
Top achievements
Rank 1
 answered on 25 Sep 2014
6 answers
300 views
Hi, 
I have a Radgrid  with :
<telerik:GridTemplateColumn UniqueName="Restricted" HeaderText="Restrict" FilterControlAltText="Filter Restricted column" Reorderable="False" Resizable="False" ShowSortIcon="False">
<ItemTemplate>
<asp:CheckBox ID="cbRistrict" runat="server" AutoPostBack="true" OnCheckedChanged="cbRistrict_OnCheckedChanged" ></asp:CheckBox>

<asp:ImageButton ID="cbRestrictedImageButton" runat="server" ImageUrl="~/Images/Lock-Restricted.png" ImageAlign="Baseline"></asp:ImageButton>

</ItemTemplate>
                                                                                                                 
</telerik:GridTemplateColumn>

How to find the imagebutton in the radgrid in clientside?

I have tried :
var j = $get("<%=IndexHidden.ClientID %>");
var grid = $find("<%=ToolkitSections.ClientID %>");
var masterTable = grid.get_masterTableView();
var gridItemElement = masterTable.get_dataItems()[j.value].findElement("cbRestrictedImageButton");

and even


var gridItemElement = masterTable.get_dataItems()[j.value].findControl("cbRestrictedImageButton");

but none of them is working well. would you please help me to find the imagebutton?

FYI: imagebutton is invisible by default and j is the index of selected item(checkbox) in radgrid.


shemein
Top achievements
Rank 1
 answered on 25 Sep 2014
1 answer
170 views
I am using a RadTreeList to display items, a RadContextMenu (Insert, Update, Delete) for when right clicking on a Tree Item and a RadWindowManager to help open a popup window on RadContextMenu ItemClick. When they click Insert or Update a dialog window opens smoothly they save, the dialog closes, treelist rebinds perfectly. When they click Delete I do not need to open a Window just run the code for deleting and then RadTreeList.Rebind();

Rebind will not work because of this item in my RadAjaxManager. The reason it is in here is so the dialogs open smoothly when the context menu is clicked:
<telerik:AjaxSetting AjaxControlID="rcMenu">
    <UpdatedControls>
        <telerik:AjaxUpdatedControl ControlID="RadWindowManager1" LoadingPanelID="RadAjaxLoadingPanel1"></telerik:AjaxUpdatedControl>
    </UpdatedControls>
</telerik:AjaxSetting>

Here is how I have my Context Menu setup:
<telerik:RadContextMenu ID="rcMenu" runat="server" OnItemClick="rcMenu_ItemClick" EnableRoundedCorners="true" EnableShadows="true">
                <Items>
                    <telerik:RadMenuItem Text="Insert" Value="Insert"></telerik:RadMenuItem>
                    <telerik:RadMenuItem Text="Modify" Value="Edit"></telerik:RadMenuItem>
                    <telerik:RadMenuItem Text="Delete" Value="Delete"></telerik:RadMenuItem>
               </Items>
</telerik:RadContextMenu>
 
 
    <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true" VisibleOnPageLoad="true" EnableViewState="false">
    </telerik:RadWindowManager>

Does anyone know of any workarounds so I can get the smooth dialog openings for Insert and Update, and for delete the page will still rebind the treelist when I call RadTreeList.Rebind();?
Maria Ilieva
Telerik team
 answered on 25 Sep 2014
3 answers
194 views
hi friends,
i am very new to Telerik and i am working in a small company.
we are going to develop a huge product for our company, where more than lakhs of client going to enroll in this product in future.
but my questions are
1. whether its performances is high. whether i can tune my performances, according to my application, to give output faster.
2. whether it supports all type of browses
3. i need to display my screen faster on client side, whether it is possible in Telerik. 
4. whether page fluctuation can be controlled.
and more  and more doubts.
can anyone give me some points of advantages and disadvantages of the Telerik Tool.
thanks in advances
Rajkumar.A.S
Marin Bratanov
Telerik team
 answered on 25 Sep 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?