Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
91 views
Hi,
   I have a grid that I am creating programmactically. Everything in the grid works fine. In the Column created Event I am setting the
Column.AutoPostback property to true. When I try to fiter on any of the columns I am getting this error

Microsoft JScript runtime error: 'value' is null or not an object

This is happening on all the column filters. Can someone tell me what is causing this since this is making the filtering useless for the grid? Please let me know since this is kind of a vague error from ajax and im having a hard time trying to find the cause and solution around it, your helps appreciated!!
Jayesh Goyani
Top achievements
Rank 2
 answered on 30 Jan 2012
1 answer
219 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
195 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
89 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
97 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
124 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
321 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
113 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
100 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
203 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?