Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
41 views
I want to set the "NumberFormat-DecimalDigits" of a RadNumericTextBox at run time when it is created. But I am unable to find in which event i can do so and how.

Please help me out !
Jayesh Goyani
Top achievements
Rank 2
 answered on 30 Jan 2012
1 answer
152 views
Hi There,

ContextMenuItemClick server side event returns e.Node as null all the time. Certainly I am missing something here but not sure what,

The code is as below.

<

 

telerik:RadTreeView      ID="CategoryTree"

 

 

                                        Runat="server"

 

 

                                        Skin="Windows7"

 

 

                                        DataSourceID="SqlDataSource1"

 

 

                                        CheckBoxes="True"

 

 

                                        MultipleSelect="True"

 

 

                                        DataFieldID="CategoryId"

 

 

                                        DataFieldParentID="ParentID"

 

 

                                        DataTextField="CategoryName"

 

 

                                        DataValueField="Category"

 

 

                                        OnNodeDataBound="CategoryTree_OnNodeDataBound"

 

 

                                        OnContextMenuItemClick="CategoryTree_ContextMenuItemClick"

 

 

                                        OnClientContextMenuShowing="onClientContextMenuShowing"

 

 

                                        OnClientContextMenuItemClicking="onClientContextMenuItemClicking"

 

 

                                        TriStateCheckBoxes="False" 
                                        
AllowNodeEditing="True">

 

 

    <ContextMenus>

 

 

        <telerik:RadTreeViewContextMenu ID="MyContextMenu" runat="server" Skin="Windows7" >

 

 

        <Items>

 

 

                <telerik:RadMenuItem runat="server" ImageUrl="~/Images/add.gif" Text="Add new category" Value="New">

 

 

                </telerik:RadMenuItem>

 

 

                <telerik:RadMenuItem runat="server" ImageUrl="~/Images/edit.gif" Text="Edit category" Value="Edit">

 

 

                </telerik:RadMenuItem>

 

 

                <telerik:RadMenuItem runat="server" ImageUrl="~/Images/delete.gif" Text="Delete category" Value="Delete">

 

 

                </telerik:RadMenuItem>

 

 

        </Items>

 

 

        </telerik:RadTreeViewContextMenu>

 

 

    </ContextMenus>

 

 

    <DataBindings>

 

 

        <telerik:RadTreeNodeBinding Expanded="True" ContextMenuID="MyContextMenu"/>

 

 

    </DataBindings>

 

 

</telerik:RadTreeView>

 

 

protected void CategoryTree_ContextMenuItemClick(object sender, RadTreeViewContextMenuEventArgs e)

 

{

 

    if (e.Node != null)

 

    {

 

        //check for menuitem text
    }
    else
    {
        return;
    }
}

e.Node is always null, Could someone please advise me why am I getting e.Node as null everytime inside the ContextMenuItemClick event.

Princy
Top achievements
Rank 2
 answered on 30 Jan 2012
1 answer
78 views

Is there a way I can get the grid to filter my results dynamically as I type into a text box?

Thx.
Shinu
Top achievements
Rank 2
 answered on 30 Jan 2012
3 answers
71 views
Hi,

We want to cutomixe the number of options available on each column header for the filter. For eg we want to hide "Contains"  operator in one of the column of a populated grid.
Please let us  know how to custom select the items in the filter options.

thanks
Bishwajit Pal
Princy
Top achievements
Rank 2
 answered on 30 Jan 2012
1 answer
83 views
Hi,
it's possible to apply nodetemplate only at child nodes?
Example:

parent1 (no template)
------ child1 (with template image)
------ child2 (with template image) 
------ child3 (with template image) 

If yes, can i have an example, please?
Thank's
Princy
Top achievements
Rank 2
 answered on 30 Jan 2012
2 answers
294 views
I've read everything I could find about altering the darkness of the "filter" that is applied behind a modal RadWindow.  I've tried several things based on that research but with no success.  Simply put, what I'm getting is shown in the first attachment but what I'd like to achieve is illustrated in the 2nd attachment (the one wrt 'thickbox').

Here's the CSS styles I've been using:

.modalBackgroundRadWindow {
  filter:Alpha(Opacity=95);          /* IE7 and under */
  -ms-filter: "Alpha(Opacity=95)";   /* IE8 */
    -moz-opacity: 0.95;
    opacity: 0.95;
}

.modalBackgroundThickBox {
    background-color:#000;
    filter:alpha(opacity=75);
    -moz-opacity: 0.75;
    opacity: 0.75;
}

What do I need to do with the RadWindow to achieve a darker background filter?

Robert
Robert
Top achievements
Rank 1
 answered on 30 Jan 2012
1 answer
88 views
I have gridbound column Col_A and COL_B and dataformat set to currency.Both these columns are integer . I have embeded udpate statement in sqldatasource  to update both these columns. Based on business rule I open only one column for editing before update. 

If COL B is open for update(COL A is read only in this scenario), When I execute update statement COL A is reading the formatted value and passing to SQL staement i.e formatted currency value and this gives database error because COL A is integer type. 
1) How can i get the just the value of COL A (not the formmated one for example , I need 3000 not 3,000). Extravalues in edit mode not working
2) How do i put mask for editable column ,i.e the user can type 5,000 rather than 5000 , but the value read is 5000

Thanks

 
Shinu
Top achievements
Rank 2
 answered on 30 Jan 2012
1 answer
83 views
Hi I'm working with radcontrols for asp.net 2011 q1 and I want to change a the default textbox of grid's editmode to a radcombobox.
How Can I do that?
Jayesh Goyani
Top achievements
Rank 2
 answered on 29 Jan 2012
4 answers
162 views
So i drop down the filter boxes and initiate a filter for Starts With B. I get 25 Results (set to 10 per page).   If I go to page 2 then back to page 1 the filter is no longer applied. 

What is the recommended way to have filter settings persist across page changes?

Thanks,
Michael
Iana Tsolova
Telerik team
 answered on 29 Jan 2012
3 answers
343 views
Hi,

Is there any functionality for columns, similar to the DetailTables for rows, which will allow me to group columns together and through a button press expand\collapse them?

My client has an Excel spreadsheet with 20 columns in it and they want me to replicate the funcationality they have, displaying all the data. I've told them that it'd be too wide for the screen, so they've asked if they can expand\collapse sections of the data (I can logically split it in to 4 separate sections).

Thanks in advance for your help.


Rgds
Liam
Liam
Top achievements
Rank 1
 answered on 28 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?