Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
133 views
Hi all,
I have an issue when it comes to using a RadComboBox inside a RadWindow. When I try to select a value from the combo box, it does not fire the SelectedIndexChanged event.

Any ideas? I have set AutoPostBack="true"...

Kind regards,
David
Yana
Telerik team
 answered on 21 Nov 2008
2 answers
142 views
Hello

I am finding some difficulty with the drag and drop of nodes in the treeview.

I got a treeview with many number of nodes in different levels and I have enabled the properties for drag and drop in the treeview. To restrict some nodes order(position) not to change in the treeview, for those nodes I have set the allowdrop and allowdrag property to false. The problem is eventhough I set the property to false, it allows to drop in between the nodes so I could not make some nodes position to be same(static) always. Whereas this works for the older version of radControls(before prometheus).

Could you help me in this?

Thank you.
Alan
Top achievements
Rank 1
 answered on 21 Nov 2008
1 answer
89 views

Hi,
I have a Grid and group the by country.
can I format the group footer like "China Total: 10" , "US Total: 20", "UK Total :30",  then "Grand Total:60" in the footer?
allow me to include the dataViewRow in the Footer?

Currently, I am using template column like that:
                                    <telerik:GridNumericColumn
                                        UniqueName="AreaSize"
                                        HeaderText="GFA Size"
                                        DataField="area_size"
                                        FooterAggregateFormatString="Total: {0:###,###.00}"
                                        Aggregate="Sum" >                                                   
                                    </telerik:GridNumericColumn>

or can I add the DataRowView in the footer by using this?    

 protected void RadGrid1_ItemDataBound(object sender, GridItemEventArgs e)  
    {  
        if (e.Item is GridGroupFooterItem)  
        {  
            GridGroupFooterItem groupFooter = (GridGroupFooterItem)e.Item;  
            groupFooter.Cells[4].Text = "Custom TEXT for agregate count: ";  
        }  
    } 


Thanks.
Dimo
Telerik team
 answered on 21 Nov 2008
1 answer
102 views
Hi,

I developed my web application RAD control of version 2008.2.826,2008.2.723. Now i am planning to update the suite with latest release. Do i need to take any precautions? Any major changes are there in the latest release?( Major concerns are with Rad Grid,Rad splitter, Rad tree and Rad Menu controls). Where can i find the release notes of the latest release suit?

Please guide me if there any major concerns.

Thanks,
Nataraj
Daniel
Telerik team
 answered on 21 Nov 2008
3 answers
181 views
Version 2008 Q3

In my web.config I set theme Web20 for the whole application. Inside the theme, in the file RadTabStrip.skin, I set the Sunset skin.

Now, I would like to replace the tab background color in the skin with my custom color. Is there a way of doing this? Are the background colors set in the TabStripStates.gif file in the skin directory?
Paul
Telerik team
 answered on 21 Nov 2008
1 answer
76 views
Is there a way such as the Dynamic Multipage Creation example to load a custom control into a pageview with client side code?
Paul
Telerik team
 answered on 21 Nov 2008
1 answer
421 views
Is there a way to specify a control to do a full postback when it is wrapped in an AJAX Panel? With the asp.net version you can just assign a trigger in the <triggers> node of the update panel. Is there an equivalent?

Thanks!
Daniel
Telerik team
 answered on 21 Nov 2008
1 answer
98 views
Hi,

I need to databind some controls inside a RadGrid's NestedTableView manually from codebehind. For performance
I woud like to do this only when the NestedTableView is opened. Is this possible? If yes, how?

Best regards,
Robert
Princy
Top achievements
Rank 2
 answered on 21 Nov 2008
1 answer
69 views
I have a Hierarchical grid. with ShoppingCenter as master table and Shop as a details

SHopping Center : Id, Name
Shop : Id, ShoppingCenterId, Name

When I am trying to insert a child record i am not getting the parent id. here is my declaration


  <telerik1:RadGrid ID="RadGrid1" runat="server" Skin="Web20"
                        GridLines="None" AllowPaging="True" AllowSorting="True"
        Width="97%" AutoGenerateColumns="False"
                        ShowStatusBar="True"
        OnNeedDataSource="RadGrid1_NeedDataSource"
        OnUpdateCommand="RadGrid1_UpdateCommand" 
        OnInsertCommand="RadGrid1_InsertCommand"
        onitemcreated="RadGrid1_ItemCreated"
        OnDeleteCommand="RadGrid1_DeleteCommand" OnDetailTableDataBind="RadGrid1_DetailTableDataBind">
  

<MasterTableView GridLines="None" Width="100%" CommandItemDisplay="Top"
   DataKeyNames="Id" AllowAutomaticInserts="True">
                             <CommandItemTemplate>
                    <div style="padding: 0 5px;">
                        <asp:LinkButton ID="LinkButton2" runat="server" CommandName="InitInsert"
                        Visible ='<%# !RadGrid1.MasterTableView.IsItemInserted %>'>
                        Add Item</asp:LinkButton>
                    </div>
                </CommandItemTemplate>
<detailtables>
   <telerik1:GridTableView runat="server" DataKeyNames="Id"  Name="SCCotenants" AllowAutomaticDeletes="true" AllowAutomaticInserts="true"
          AllowAutomaticUpdates="true" CommandItemDisplay="Top">
      <CommandItemTemplate>
                    <div style="padding: 0 5px;">
                        <asp:LinkButton ID="LinkButton2" runat="server" CommandName="InitInsert"
                        Visible ='<%# !RadGrid1.MasterTableView.IsItemInserted %>'>
                        Add Cotenant</asp:LinkButton>
                    </div>
                </CommandItemTemplate>
 <parenttablerelation>
        <telerik1:GridRelationFields DetailKeyField="ShoppingCenterId" MasterKeyField="Id" />
                                    </parenttablerelation>
                                    <rowindicatorcolumn>
                                        <HeaderStyle Width="20px" />
                                    </rowindicatorcolumn>
                                    <expandcollapsecolumn>
                                        <HeaderStyle Width="20px" />
                                    </expandcollapsecolumn>
    <Columns>
                                 
     <telerik1:GridBoundColumn DataField="ShoppingCenterId"
                                            HeaderText="Shopping Center" UniqueName="ShoppingCenterIDColumn" Visible="true" ItemStyle-Wrap="True">
                                        </telerik1:GridBoundColumn>

 



and in the  insertcommand 

var scid = (e.Item as GridEditableItem)["ShoppingCenterIDColumn"].Controls[0] as TextBox;
 scct.ShoppingCenterId = int.Parse(((TextBox)scid).Text);


i am not getting the ParentId here. Not sure what I am missing. Can someone help me with this one please.


Thanks
Dilip
Shinu
Top achievements
Rank 2
 answered on 21 Nov 2008
1 answer
84 views
I have two grids, a delete on Grid1 cause an add on Grid2 and vice-versa.

When I delete from Grid2 , Grid1 is nicely Ajax updated.

When I delete from Grid1, Grid2 gets updated on the 2nd delete, meaning its alway 1 row behind?

what am I missing?

  <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
            <AjaxSettings>
                <telerik:AjaxSetting AjaxControlID="RadGrid2">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                            <telerik:AjaxSetting AjaxControlID="RadGrid1">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="RadGrid2" />
                    </UpdatedControls>
                </telerik:AjaxSetting>
                </AjaxSettings>
        </telerik:RadAjaxManager>

in both cases the item_command handlers are doing a rebind();

            RadGrid1.Rebind();
            RadGrid2.Rebind();

Vlad
Telerik team
 answered on 21 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?