Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
Hi,

I have used a Rad tree in my application. I used skin "Web20" for the tree control.
For all leaf nodes on mouse hover i want to changed the mouse cursor type. How can i do this?

Also how can i know default css setting applied on a rad tree view for a parrticular skin? Is this documented any where so that i can customize them as i want.

Please provide me some information on the above.

Thanks,
Nataraj
Shinu
Top achievements
Rank 2
 answered on 06 Nov 2008
1 answer
82 views
Hi,

I am using hierarchical grid.In this in commandItemTemplate i have one link button.Instead of having on grid row i want this linkbutton below each row of the parent grid.On this link btn i want to show popup form.and to this popup i wat to send the id of first row of grid.
                If we are having link button on grid row itself then it is easy to pass the grid row id to link button.But as my link btn is nt on grid  i am  not able to pass the id of first row of grid.
Shinu
Top achievements
Rank 2
 answered on 06 Nov 2008
2 answers
329 views
Hi,

I have a Rad tree view bound to a dataset. When page loads, i want to display the tree view with the first leaf node in the tree structure. for Eg:
Consider tree has the following structure:
A:-
    A1:-
        A11:-
            A111
            A112
            A113
        A12:-
            A121
            A122
        A13
    A2:-
        A21:-
            A211
            A212:-
                A2121
        A22
    A3
B:-
    B1:-
    so on...

when page loads i want to show the user node A11 selected and also parent nodes for A11 expanded.(if A11 has no child nodes then A11 has to be selected as it will be first leaf node) How can i do this server side?

I tried to do it by loops but i am not successful to traverse through the nodes at diefferent levels.

Please help me.

Thanks in advance,
Nataraj
Nataraj Vedula
Top achievements
Rank 1
 answered on 06 Nov 2008
1 answer
133 views

I have the following scnario:

  • A radNumericTextBox on a RadToolBar
  • the RadToolBar works as a command item template for a grid
  •  the Grid Is ajaxified

the problem is that when I type a value in th RadNumericTextBox and press the enter key the ajax loading panel appears without .

but it is still appearing and existing althougth the command is completely executed successfully.

how can I solve this problem??

remarks:

  • I'm using rad controls for asp.net ajax 2008 Q2.
  • .net framework version 3.5

thanks in advance

Kevin Babcock
Top achievements
Rank 1
 answered on 06 Nov 2008
1 answer
134 views
I have grid... and in this a grid is column "quantity". In comlun I have control - RadNumericTextBox witch SpinButtons. If a grid  have 25 rows... my page request size is 200 000 KB... if I replace RadNumericTextBox on Label size is 100 000KB.  What I have doing, that  RadNumericTextBox was effecient ?
Kevin Babcock
Top achievements
Rank 1
 answered on 06 Nov 2008
1 answer
124 views
I have a RadToolbar that is created using the following code:

            <telerik:RadToolBar ID="RadToolBar1" runat="server" OnButtonClick="RadToolBar1_ButtonClick" 
                CssClass="Toolbar" Skin="WebBlue" OnClientButtonClicked="ToolbarButtonClicked"> 
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                <Items>                     
                    <telerik:RadToolBarButton runat="server" ImageUrl="~/Images/new_note.png" Text="Notes"> 
                    </telerik:RadToolBarButton>                   
                </Items> 
            </telerik:RadToolBar> 

I also have a a RadDock on the same page:
<telerik:RadDockLayout ID="RadDockLayout1" runat="server" EnableAjaxSkinRendering="False" 
                EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="False"> 
                <telerik:RadDockZone ID="DocumentDockZone" runat="server" Height="105%" Width="100%" 
                    FitDocks="False" bgcolor="#666666" BackColor="#666666" BorderStyle="None" BorderWidth="0px">                     
                    <telerik:RadDock ID="NotesDock" runat="server" Width="99%" Skin="Office2007" DefaultCommands="ExpandCollapse" 
                        DockHandle="None" Title="Notes" DockMode="Floating" ForbiddenZones="DocumentDockZone"> 
                        <ContentTemplate> 
                            <uc5:Notes ID="Notes1" runat="server" /> 
                        </ContentTemplate> 
                    </telerik:RadDock> 
                </telerik:RadDockZone> 
</telerik:RadDockLayout>

I have the following javascript code on the same page:

        function ToolbarButtonClicked(sender, args)  
        { 
            var button = args.get_item(); 
            var notesDocks = $find("<%= NotesDock.ClientID %>"); 
             
            if (button.get_text() == "Notes")  
            { 
                 
                alert("Notes click"); 
                args.set_cancel(true); 
                 
            } 
        }  

When the page attempts to load I get the following Exception:

System.Web.HttpException: "Error executing child request for Default.aspx."
InnerException: System.Web.HttpUnhandledException: "The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."

This error only occurs when I attempt to get the NotesDock control in the javascript line "var notesDocks = $find("<%= NotesDock.ClientID %>");" But I need a reference to this object because I want to call notesDock.set_closed(false) at some point.

Any idea what might be causing this problem?
Serrin
Top achievements
Rank 1
 answered on 05 Nov 2008
1 answer
108 views
How can we copy the HTML from the rich text editor into word
programmatically as html ?

thanks!!!!!!!!
Serrin
Top achievements
Rank 1
 answered on 05 Nov 2008
2 answers
80 views
Is there a proper way to override the 'Expand' and 'Collapse' values for the title attribute in the <input> control for the ExpandCollapse column when looking at hierarchical data in RadGrid?

I've tried the following during the OnDataBound event, but the title attribute shows up twice. Once with the radgrid value and then mine. Can I even access the opaque(?) object that has these values in it?

BTW, setting the tooltip for the parent <td> element works just fine.
protected void OutsideLawFirmGrid_OnDataBound(object sender, GridItemEventArgs e)
    {
        if (e.Item is GridDataItem)
        {
            GridDataItem item = e.Item as GridDataItem;
            item["ExpandColumn"].ToolTip = "View Contacts";
            System.Web.UI.WebControls.Button btn = (System.Web.UI.WebControls.Button)item["ExpandColumn"].Controls[0];
            btn.Attributes.Add("title", "View Contacts");
            btn.ToolTip = "View Contacts";
        }
    }
Is there some later stage on the server where I can intercept things and iteratate over all the GridDataItems and replace this value? I tried to place an iterative version of this in the Page_PreRender w/the same results.
Martin
Top achievements
Rank 1
 answered on 05 Nov 2008
1 answer
93 views
Hello,

     I have two grids on a page.there is a checkbox column in the lower grid. user checks the checkbox and add records on the upper grid.

and there are three comboboxes between these grids all the combos are load on demand,
The problem is that when there are more records in the upper grid when i click on any combo in IE then its hang.
remember that all this is in the radWindow. I have given the height=200 to the combo also.

i think that when drop down don't have the place to open then it is causing.

please tell me the solution.

Thanks.

Serrin
Top achievements
Rank 1
 answered on 05 Nov 2008
1 answer
140 views
are there any examples anywhere of displaying thumbnail images in grid columns ?

I have the url of each thumbnail stored in one of the underlying columns
Kevin Babcock
Top achievements
Rank 1
 answered on 05 Nov 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?