Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
205 views
What stylesheet do you use for custom skins. When I try to use Black, there is a hoverover for the input box that I can't seem to find the right css property to change.
Thomas Rozzi
Top achievements
Rank 1
 answered on 27 Jan 2010
1 answer
153 views
Hello,

I'm trying to bind the TreeView to hierarchical data in a table. I used ItemID and ParentID, but tree ignores hierarchy.

<telerik:RadTreeView ID="RadTreeView1" Runat="server"   
        DataSourceID="LinqDataSource1" DataFieldID="ItemID" DataFieldParentID="ParentID"   
        DataTextField="Title" EnableAjaxSkinRendering="true" Skin="Default"   
        CausesValidation="False" EnableDragAndDrop="True"   
        EnableDragAndDropBetweenNodes="True" MaxDataBindDepth="25"   
        SingleExpandPath="True" Width="350px"   > 
        <CollapseAnimation Type="OutQuint" Duration="100"></CollapseAnimation> 
        <ExpandAnimation Duration="100"></ExpandAnimation> 
</telerik:RadTreeView> 
    <br /> 
    <br /> 
      
 
    <asp:LinqDataSource ID="LinqDataSource1" runat="server"   
        ContextTypeName="DataClassesDataContext" OrderBy="ParentID, SortOrder"   
        TableName="Items" Where="ClientID == @ClientID">  
        <WhereParameters> 
            <asp:ControlParameter ControlID="DropDownList1" DefaultValue="1"   
                Name="ClientID" PropertyName="SelectedValue" Type="Int64" /> 
        </WhereParameters> 
    </asp:LinqDataSource> 
 


The tree displays all data as if it's on the root node.

Please help,

Michael
Kevin
Top achievements
Rank 1
 answered on 27 Jan 2010
3 answers
306 views
Hi all,

        I am using FilterTemplate to one of the column at clientside binding as :

<telerik:GridBoundColumn DataField="Name" HeaderText="Name" SortExpression="Name"
                        UniqueName="Name">
                        <FilterTemplate>
                        <telerik:RadComboBox ID="radFilterComboBox" DataTextField="Name" runat="server" AutoPostBack="true" ShowToggleImage="true" 
                                             OnSelectedIndexChanged="radFilterComboBox_SelectedIndexChanged" Skin="Office2007" 
                                             Width="300" OnItemsRequested="radFilterComboBox_ItemsRequested">
                        </telerik:RadComboBox> 
                        </FilterTemplate>
                    </telerik:GridBoundColumn>

  1)    Now i need to populate this ComboBox with the Names which are in Name field(shown). And by the way i am not using SqlDataSource, instead using LINQ queries to bind grid at server side.

  2)   How to access this "radFilterComboBox" at codebehind in page_load. 

        Thanks in advance. 
David
Top achievements
Rank 1
 answered on 27 Jan 2010
1 answer
207 views
Hi

I am having a problem that you may possibly regard as a general server vs. client issue and I admin that my javascript knowhow could be better.

I am invoking a RadWindows from an ImageButton in a Repeater listItem. My Radwindow aspx uses a ServerControl with an embedded RadTree control.

When I close my content aspx RadWindow page I am trying to send my Radtree node value back to a Repeater ListItem asp:Textbox.

My RadWindow Javascript OnClose function looks like this where I am calling function ReloadPlace("parameters") in my parent page (my Repeater1 page).
        function CloseAndRebind() {  
 
            //var ctrl = document.getElementById('tvDivisionTree.ClientID');  
 
            var tree = $find('<%= DivisionPicker1.FindControl("tvDivisionTree").ClientID %>');  
            var node = tree.get_selectedNode();  
            GetRadWindow().Close(oArg);  
            if (node) {  
                GetRadWindow().BrowserWindow.ReloadPlace(node.get_text());  
            }  
            else  
                GetRadWindow().BrowserWindow.ReloadPlace("");  
        }  
 

This is where my problem ONE is. Since my popup radWindow aspx page has the RadTree embedded in a ServerControl like this:

<

 

uc1:DivisionPicker ID="DivisionPicker1" TreeEnabled="true" runat="server" />
I seem to be running out of options to locate my RadTree clientID. As you can see above I have been trying both $find and getElementByID.

 


In my parent page I have my ReloadPlace() function. I want it (or use a better way if possible) to update my Repeater ListItem Textbox with the returning argument from my RadWindow page but do not know how to reach my ListItem textbox. I'm most likely overextending the purpose of your helpdesk but thought I'd as anyway.

This is my unction (unfinished).
    function ReloadPlace(departmentID) {  
        //var txtbox = $find('<%# MyRepeaterListitem.....ClientID %>');  
        alert(departmentID);  
    } 

thanks
Axel
Fiko
Telerik team
 answered on 27 Jan 2010
1 answer
99 views
Hello 

       I am struck with another problem. I am using  

<

 

telerik:GridButtonColumn FooterText="" DataTextFormatString="Approve"

 

 

 

UniqueName="approve" HeaderText="Approve" CommandName="MyCommandName" CommandArgument="" DataTextField="id">

 

 

 

<ItemStyle Width="100px" />

 

 

 

</telerik:GridButtonColumn>

On some condition i want to make this approve link disable and enable on  run time. How we can get this at link run time and on which event we can enable and disable this link. 

 

 

Thanks
Amarinder

 

Shinu
Top achievements
Rank 2
 answered on 27 Jan 2010
1 answer
94 views
I've seen this thread on positioning the modal form, but it would be nice if, by default, it was properly centered on the page.

--
Stuart
Peter
Telerik team
 answered on 27 Jan 2010
3 answers
117 views
Hello

I've got this template in my Scheduler

<

 

AppointmentTemplate>

 

 

    <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/Images/tickbox.gif" />

 

 

</AppointmentTemplate>

So every appointment is represented by an image. They all go one below the other. Is it possible to organise then so the go horizontally, one next to the other, and then new line if they no longer fit?

Thanks a lot

Kati

 

Peter
Telerik team
 answered on 27 Jan 2010
2 answers
107 views
Hi!

I have using Asp.Net Ajax Q2 2009 version. RadEditor table insert doesn't work.

How can I overcrome this problem.

Thanks.
Bayram
Top achievements
Rank 1
 answered on 27 Jan 2010
4 answers
76 views
Hello, 

        I am using RadGrid. In RadGrid i need one link, onclick of which first i want to perform database activity and second  need to pop up window on the same. How to to do that.

Thanks
Princy
Top achievements
Rank 2
 answered on 27 Jan 2010
2 answers
157 views
I am working on a Web Application using .NET 3.5 with Telerik Rad Ajax Controls. We want to implement a Key Word dictionary for Medical terms. These Key Words will be a suggestion for use when the User starts typing in the Rad Editor, after 3 characters.
     I have already read the documentation for the Rad Editor on how to attach keypress event handler and build the string. Also, I read the documentation on how to paste HTML into the Editor where the cursor is located.

   What my question is: Are there any suggestions for displaying a list of items in the document area of the Rad Editor? Or display a list of Key Words from one of the Tool Bars?

    Also. Does Telerik static client object include a generic way to call a web service? I need to send the 3 character back the server to get a list of Key Words that begin with the 3 character string.

   Don't worry, I'm going to suggest we allow the user to turn this functionality off if they want :). I would go nuts.

    I have posted on here before so I am thankful of the help I have received and any help you can give now. So thanks in advance.

Sincerely, 

  Isaac Koss.
Isaac
Top achievements
Rank 1
 answered on 27 Jan 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?