Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
159 views
Hello,

I'm trying to use the OrgChart for a tournament table layout. This means that you go from many items to fewer items. I know it is (for now) not yet supported to set the orientation from left to right but i can work around this and use top to bottom. To allow 2 items to melt into 1, i use grouping. This only works for one level though. as soon as the top level is halved, i need the second level to group 2 items together.
So i go from 8 items to 4items to 2 items to 1. This is in my opinion not possible with the current OrgChart.

multiple parents would be a great feature and would solve my problem.

Do you have any idea on when this feature might be introduced? Or do you have a workaround using another control or multiple groupings?

Thank you,

Phill
Peter Filipov
Telerik team
 answered on 01 Mar 2012
1 answer
123 views
Hi,

I am trying to solve a very simple thing but somehow not able to get it working. 

I have a RadComboBox and radtreeview as one of its items. Now, I want to enable user to select only the leaf node. I have marked "Postback" attribute to false if the node is not leaf. so it solves the purpose of firing an event. 

Now , what is happening is, when user clicks parent node, it expands the node but then disappears. so user again have to click the combo box to select. 

Is there anyway i can disable the disappearing of radtreeview in combo box ? 

I have attached some screenshot and my code. I want my dropdown list to look like Pic-2 when i click the parent node. Currently it looks like Pic-1 after i click the parent node. 

Code : OnClientNodeClicking

 var node = eventArgs.get_node();
    if (node.get_level() != 2) {
        node.expand();
return; }

Please help.
Plamen
Telerik team
 answered on 01 Mar 2012
1 answer
153 views
Hi,

I want to fire select index change event on selection of value from combo box but i want to fire that event when i am selecting same value from dropdown. Like i have 4 value in drop down and i select 2 value from drop down than the select index change fires but i want to fire select index change again on selection of 2.


Please reply as soon as possible.


Thanks
Manish
Ivana
Telerik team
 answered on 01 Mar 2012
1 answer
105 views
I'm using customValidator to validate the selected item of the ComboBox. This ComboBox has LoadonDemand enabled.  'validateCombo' code works fine when the selectedIndex is changed. After selecting an item, when a button on the same page is clicked validation doesnt work since there are no items in the ComboBox. How do I make it to work on button click event.

Appreciate your help!!

<telerik:RadComboBox runat="server" ID="rcbClients" Height="100px" EnableLoadOnDemand="true"
                                    ShowMoreResultsBox="true" EnableVirtualScrolling="true" AllowCustomText="false"
                                    EmptyMessage="Type lastname ...">
                                    <WebServiceSettings Path="Service1.svc" Method="LoadClients" />
                                </telerik:RadComboBox>
                                 
                                <asp:CustomValidator ID="cvClients" runat="server" ClientValidationFunction="validateCombo" SetFocusOnError="true"
                                    ErrorMessage="Please select a client from Dropdown" ControlToValidate = "rcbClients" >*
                                </asp:CustomValidator>

function validateCombo(source, args) {
    args.IsValid = false;
    var combo = $find(source.controltovalidate);
    var text = combo.get_text();
    var value = combo.get_value();
    if (text.length < 1) {
        args.IsValid = false;
    }
    else
    { var node = combo.findItemByText(text);
        if (node) {
             value = node.get_value();
 
 
            if (value.length > 0) {
                args.IsValid = true;
            }
        }
 
        else {
            args.IsValid = false;
        }
    }
}
 
Neelima
Top achievements
Rank 1
 answered on 01 Mar 2012
7 answers
87 views
I'm stumped. I have a vertical radmenu that expands out to the right. All works fine in most browsers, but when I try to view in ie7, the slide doesn't seem to have any colour applied to it. I've tried adding background-color:#fff !important to just about any where I can think but it still stays transparent.

The site in question is www.researchtopolicy.org.
 
Any assistance would be greatly appreciated.
Kate
Telerik team
 answered on 01 Mar 2012
5 answers
136 views
Hello,

I Want to change the back-image of the selectbutton
I searched for it on your forum but I can not fix it

I have radasynxupload on a dialog form

this is the style i use in the form

.ruBrowse

{

background-image: url(/Images/newbutton.gif);

background-position: 0 -46px !important;

width: 150px !important;

}

The width i working correct but the backgroundimage newbutton is not loaded

this is the Radasyncupload on my form:

 

<

 

telerik:RadAsyncUpload ID="AsyncUpload1" runat="server"

 

 

AllowedFileExtensions="jpeg,jpg,gif,png,bmp" MaxFileInputsCount="1"

 

 

OnClientFileUploaded="fileUploaded" OnClientValidationFailed="validationFailed"

 

 

OnFileUploaded="AsyncUpload1_FileUploaded" Width="273px" Height="16px">

 

 

 

<Localization Select="Kies diploma /certificaat" />

 

 

 

</telerik:RadAsyncUpload>

Please can anyone help me?

Mart

 

Peter Filipov
Telerik team
 answered on 01 Mar 2012
1 answer
182 views
I have a page with multiple controls. The first time the page loads, each control has to get data from different sources. Some of them will take some time to load. So, I want to show the page with placeholders and a busy icon that will be filled when the data is loaded in each control.

I found an example on the net: http://www.codeproject.com/Articles/23768/Load-and-Display-Page-Contents-Asynchronously-with 

However, I am wondering if telerik already has it in their library. I think I might have seen a demo somewhere. Please note that I am not looking for an update panel which loads everything on the server side and then updates the part on the client that has changed.

Any help or a sample will be appreciated.

Thanks
SK
Maria Ilieva
Telerik team
 answered on 01 Mar 2012
5 answers
301 views
Is is possible to specifiy a different skin for the radalert window than the others? I'd really like my radalert windows to stand out with a different color scheme that the rest of my radwindows.
M. R.
Top achievements
Rank 1
 answered on 01 Mar 2012
1 answer
69 views
Hi gurus,

I have a Master/Content project with an empty RadScriptManager and RadAjaxManager in the Master page.  I'm using the RadAjaxManagerProxy in the content.

On my content page I have 2 almost identical sets of controls (a search text box and a place to display the results).  You type something into one of the RadTextBoxes and when you hit Enter it runs off to our search engine, fetches some results and plops them nicely under the appropriate RadTextBox in a Label cotrol.  As I mentioned, I have 2 sets of these.  They both work but at the same time, i.e. they both get fired together.  So when I do a search for a Person, the Category event gets fired too.

I am setting the RadAjaxManager up programatically on the Content page (see below).

protected void Page_Load(object sender, EventArgs e)
        {
              
            // Ajax set up
            var manager = RadAjaxManager.GetCurrent(this);
              
            // Add Person
            manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(RadAjaxManager_SearchPerson);
            manager.AjaxSettings.AddAjaxSetting(manager, lblResultsPerson, RadAjaxLoadingPanel1);
  
            // Add Category
            manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(RadAjaxManager_SearchCategory);
            manager.AjaxSettings.AddAjaxSetting(manager, lblResultsCategory, RadAjaxLoadingPanel1);
  
        }

Here is the ASPX:

<tk:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server"></tk:RadAjaxManagerProxy>
<tk:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Windows7" InitialDelayTime="200" />
  
<tk:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
  
        function SearchPerson(sender, eventArgs) {
            var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>");
            ajaxManager.ajaxRequest(sender.get_value());
        }
  
        function SearchCategory(sender, eventArgs) {
            var ajaxManager = $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>");
            ajaxManager.ajaxRequest(sender.get_value());
        }
    </script>
</tk:RadCodeBlock>
  
Current time: <asp:Label ID="lblTime" runat="server"></asp:Label>
<br /><br />
<h2>Person search</h2>
  
<tk:RadTextBox ID="txtSearchPerson" runat="server" width="250px" EmptyMessage="Search for a person..." ClientEvents-OnValueChanging="SearchPerson"></tk:RadTextBox>
      
<div class="searchResults">
    <asp:Label ID="lblResultsPerson" runat="server"></asp:Label>
    <asp:Label ID="lblTotalPerson" runat="server" CssClass="searchTotal"></asp:Label>
</div>
  
  
<br /><br />
<h2>Category search</h2>
  
<tk:RadTextBox ID="txtSearchCategory" runat="server" width="250px" EmptyMessage="Search for a category..." ClientEvents-OnValueChanging="SearchCategory"></tk:RadTextBox>
     
<div class="searchResults">
    <asp:Label ID="lblResultsCategory" runat="server"></asp:Label>
    <asp:Label ID="lblTotalCategory" runat="server" CssClass="searchTotal"></asp:Label>
</div>

I know it's probably doing what I'm telling it to do - i.e. run them both!  But that's not what I want - I only want e.g the Category search to fire when I fire off the SearchCategory function - and for that to leave the SearchPerson alone.  What am I missing here?

Many thanks in advance!
Maria Ilieva
Telerik team
 answered on 01 Mar 2012
1 answer
47 views

I'm a bit behind the curve on this. I've just stumbled across an archaic user who is still using IE7 and the sub menus are not visible for them.  I've read some posts which make me think it may be the IE7 stacking issue, but I can't seem to do anything with z-index to help.  My RadMenu already has a high z-index.  How do I set the z-index of the sub menus. 


CSS isn't my strong suit, so any assistance is appreciated.

Thanks.
Dave
Kate
Telerik team
 answered on 01 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?