Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
134 views
Hello all,

New user to Telerik controls here.  Question on RadTree...is it possible to enable multi-select, but restrict selections to a given node?  And only the immediate children of that node?

So for example, if there are 3 parent nodes, each with 5 child nodes.  If a user select 2 child nodes of Parent 1, but then selects a child node of parent 2, all the selected nodes in Parent 1 would be unchecked.  The user could continue to multi-select children in Parent Node 2.  And so on.

Any help is appreciated.  Thanks in advance.
Albert Pernia
Top achievements
Rank 1
 answered on 12 Oct 2009
1 answer
53 views
Is it possible to change "Custom Links" text  to something that's more meaningful for my application, for example " Sitemap Pages"

Thanks!
Rumen
Telerik team
 answered on 12 Oct 2009
2 answers
134 views
Hi ,
I can not put a RadWindow object on a swf, the swf is always above the RadWindow, how can I solve this?

    <telerik:RadWindowManager  
    ID="RadWindowManager1"  
    runat="server"  
    BackColor="#D5E8EE"  
    Behavior="Minimize, Close, Move"  
    Behaviors="Minimize, Close, Move"  
    Modal="True"  
    Skin="Inox"  
    style="z-index:70000; position: absolute"
    </telerik:RadWindowManager> 
 
 
        <telerik:RadWindow  
        ID="RadWindow1"  
        runat="server"  
        Skin="Inox"  
        BackColor="#D5E8EE"  
        Modal="True"  
        ReloadOnShow="True"  
        Behavior="Minimize, Close, Move"  
        Behaviors="Minimize, Close, Move"  
        style="z-index:700000; position: absolute"
        </telerik:RadWindow>   
 

swf

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"  
                  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"  
                  width="1024" height="272" style="z-index: -1; position: relative"
              <param name="movie" value="swf/topo.swf" /> 
              <param name="quality" value="high" />     
              <embed src="swf/topo.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1024" height="272"></embed> 
            </object> 



Ernandes
Top achievements
Rank 1
 answered on 12 Oct 2009
2 answers
157 views

Hi

I am having trouble turning off the initial behaviors of a window.  I have this declaration:

<telerik:RadWindow ID="RadWindowLafite" runat="server"   
        NavigateUrl="~/windows/lafite-event.aspx" OpenerElementID="divLafite"   
        Width="570px" Modal="True" Height="600px" InitialBehaviors="Resize"   
        VisibleStatusbar="False" Animation="Fade">  
    </telerik:RadWindow>   

When the window opens, all the behaviors are active, including pin, minimize, maximize, refresh.
In other respects the window is behaving as expected.
Actually I only want to allow resize, and had expected that this setting for initial behviours would
not show the icons for the other behaviors. What am I missing ?

BTW the properties window in VS2008 shows both 'Initial Behavior' and 'Initial Behaviors'

Thanks

Clive

Q2 2009, IIS7, asp.net 3.5, VS2008
Clive Hoggar
Top achievements
Rank 1
 answered on 12 Oct 2009
1 answer
159 views

Dears,
I am working on a composite custom control contains a radGrid control, I faced the following problem in the RadGrid Paging,
i have set the RadAjaxManager to enable the Ajax paging for my grid so that it shouldn't postback on each page number change,
unfortunately, it is doing postback on each page index change and it is not passing by the 
GridNeedDataSourceEventHandler
Please check below code sample and help me to fix this issue,

Any help will be highly appreciated,

protected override void OnInit(EventArgs e)  
        {   
            //grdTransactionsList  
            grdTransactionsList.ID = "grdTransactionsList";  
            grdTransactionsList.Skin = "Office2007";  
            grdTransactionsList.AutoGenerateColumns = false;  
            grdTransactionsList.AllowPaging = true;  
            grdTransactionsList.AllowCustomPaging = true;  
            grdTransactionsList.PageSize = Constants.PageSize;  
            grdTransactionsList.Visible = true;  
            grdTransactionsList.NeedDataSource += new GridNeedDataSourceEventHandler(grdTransactionsList_NeedDataSource);  
            grdTransactionsList.PagerStyle.Mode = GridPagerMode.NumericPages;  
            grdTransactionsList.MasterTableView.GridLines = GridLines.None;  
            grdTransactionsList.MasterTableView.AutoGenerateColumns = false;  
            grdTransactionsList.MasterTableView.TableLayout = GridTableLayout.Auto;  
            InitilizeTransactionsListColumns();  
            grdTransactionsList.ClientSettings.Selecting.AllowRowSelect = true;  
            grdTransactionsList.ClientSettings.EnableRowHoverStyle = true;  
 
            //Check if there is already added ScriptManager to this Page, Only one Script Manager Instance can be in the page  
            if (ScriptManager.GetCurrent(this.Page) == null)  
            {  
                scriptManager = new ScriptManager();  
                scriptManager.ID = "ScriptManager1";  
            }  
            if (RadAjaxManager.GetCurrent(this.Page) == null)  
            {  
                radAjaxManager = new RadAjaxManager();  
                radAjaxManager.ID = "RadAjaxManager";  
                  
                radAjaxLoadingPanel = new RadAjaxLoadingPanel();  
                radAjaxLoadingPanel.ID = "pnlRadAjaxLoadingPanel";  
                radAjaxLoadingPanel.Height = new Unit(50);  
                radAjaxLoadingPanel.Width = new Unit(50);  
                radAjaxLoadingPanel.Transparency = 30;  
                Image imgLoading = new Image();  
                imgLoading.ID = "imgLoading";  
                radAjaxLoadingPanel.Controls.Add(imgLoading);  
                radAjaxManager.DefaultLoadingPanelID = radAjaxLoadingPanel.ID;  
            }  
        }  
 
 protected override void CreateChildControls()  
        {  
            if (scriptManager != null)  
                Controls.Add(scriptManager);  
            if (radAjaxManager != null)  
                Controls.Add(radAjaxManager);  
            if (radAjaxLoadingPanel != null)  
                Controls.Add(radAjaxLoadingPanel);  
 
            if (RadAjaxManager.GetCurrent(this.Page) != null)  
            {  
                AjaxSetting ajaxSetting = new AjaxSetting     (grdTransactionsList.ID);  
                ajaxSetting.UpdatedControls.Add(new AjaxUpdatedControl(grdTransactionsList.ID, radAjaxLoadingPanel.ID));  
                RadAjaxManager.GetCurrent(this.Page).AjaxSettings.Add(ajaxSetting);  
            }  
                Controls.Add(new LiteralControl("<table>"));  
                Controls.Add(new LiteralControl("   <tr>"));  
                Controls.Add(new LiteralControl("        <td>"));  
                Controls.Add(grdTransactionsList);  
                Controls.Add(new LiteralControl("        </td>"));  
                Controls.Add(new LiteralControl("   </tr>"));  
                Controls.Add(new LiteralControl("</table>"));  
        }  
  protected void grdTransactionsList_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)  
        {  
            if (!Page.IsPostBack)  
                return;  
            else  
            {  
                try  
                {  
                    int totalRecords = 0;  
                    grdTransactionsList.DataSource = Presenter.GetTransactionsList(out totalRecords);  
                    grdTransactionsList.VirtualItemCount = totalRecords;  
                }  
                catch (JoPayBusinessException ex)  
                {  
                    ShowError(ex);  
                }  
            }  
        }  
//Presenter.GetTransactionsList(out totalRecords) will call below method  
 public void SetTransactionsGrid(IList<TransactionSearch> paymentTransactions, int totalRecords)  
        {  
            grdTransactionsList.DataSource = paymentTransactions;  
            grdTransactionsList.VirtualItemCount = totalRecords;  
            grdTransactionsList.DataBind();  
        } 
Pavlina
Telerik team
 answered on 12 Oct 2009
1 answer
62 views
I am looking to have a color picker designed which is similar to this one here but yet different:
http://www.almsamim.com/color-picker.html

It visually is an HSV color space as the dimensions move the HSB numbers.

That one shows visually the HSV color space but actually it is using RGB color space to determine the value of the colors, because HSV is more of an intuitive visual representation.  In my color picker I need all 16,777,216 rgb hex colors to be able to be chosen uniquely with no duplicates.


In any case that is what I am looking for but with these key differences.

I need it 768 pixels x 768 pixels, so each color is going to take up a 9 (3x3) pixel square space. Also the movement of the cursor will only be on the center pixel of the 9 pixel squares.


Do you guys think this project could be accomplished using this program suite?  Thanks all!
Travis
Tsvetie
Telerik team
 answered on 12 Oct 2009
1 answer
78 views
Hi,
Is it possible to make the panelbar:
1. Click on the text to redirect and at the same time,
2. Click on arrow and other area besides the text to collapse/expand ?
Paul
Telerik team
 answered on 12 Oct 2009
1 answer
75 views
HI,
 
  I have used Rad Upload control.I want to upload images at a particular resolution.
 (say, user can upload images of resolution 777*115  px )
  Is it possible?

Thanks.
Paul
Telerik team
 answered on 12 Oct 2009
1 answer
31 views
How can i use Q3 2008 and Q2 2009 SKIN in the same page?
Paul
Telerik team
 answered on 12 Oct 2009
1 answer
147 views
I am attempting to fill the entire browser window which I want to shrink or expand as browser window is resized.  I have 2 RadDocks with a smaller one on the top (containing combo boxes), and a larger one one the bottom containing a grid.  The problem I have is that no matter what I have tried, the RadDockLayout does not stretch to consume 100% height (the width works fine).  What am I missing?  See the html below that I am using.  The only thing that has worked for a 1 size of browser window is setting the height (see bold below) on the  RadDock2, but this is not the desired effect.  Placing height at 100% does not work for me.  Seems 100% really means 75% internally (or that is how it looks).  This is in a content page where the master page has a title and menu on top of page.

<telerik:RadDockLayout ID="RadDockLayout1" runat="server" >
<center>
 <telerik:RadDockZone ID="RadDockZone1" runat="server" Width="98%">
  <telerik:RadDock ID="RadDock1" runat="server">
   <Commands>
    <telerik:DockExpandCollapseCommand />
   </Commands>
   <ContentTemplate>
     <!-- contains labels and combo boxes -->
   </ContentTemplate> 
  </telerik:RadDock>
  
  <telerik:RadDock ID="RadDock2" runat="server" Height="650px" >
  <Commands>
   <telerik:DockExpandCollapseCommand />
  </Commands>
  <ContentTemplate>
   <!-- contains grid -->
  </ContentTemplate>
  </telerik:RadDock>
 </telerik:RadDockZone>
</center> 
</telerik:RadDockLayout>
Jim
Top achievements
Rank 1
 answered on 12 Oct 2009
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?