Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
101 views
 
Telerik.Web.UI.RadWindowUtils.Localization =     
{    
    "Close" : "Close",    
    "Minimize" : "Minimize",    
    "Maximize" : "Maximize",    
    "Reload" : "Reload",    
    "PinOn" : "Pin on",    
    "PinOff" : "Pin off",    
    "Restore" : "Restore",    
    "OK" : "Custom text for OK",    
    "Cancel" : "Custom text for Cancel",    
    "Yes" : "Custom Text for Yes",    
    "No" : "Custom text for No"      
}; 

Implementing the code above changes all the RadPopUp..
I want to have all the RadAlert have OK/Cancel Buttons
and RadPrompt to have YES/NO Button..But the above code changes all the window...

Thanks,
DIP
Georgi Tunev
Telerik team
 answered on 03 Aug 2009
0 answers
89 views
Hello!

I have a TreeView and I have loaded all root nodes of my hierarchy. Whenever I click the expand "+" on a node, I get the circling "please wait" indicator and the tree stays that way. I have debugged the code and the event NodeExpand fires allright. Whatsmore, the tree behaves as though it has received the nodes: if I click the button to collapse the supposedly appeared new nodes, nothing happens. But if i click again to expand, I get another circling indicator. I can do this as many times as I want. This is after 3 times:
http://img259.imageshack.us/img259/2840/40193187.jpg

This is my NodeExpand
    void tP_NodeExpand(object sender, RadTreeNodeEventArgs e) 
    { 
         
        MethodInfo rMethod = ServiceType.GetMethod("Retrieve", BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy, null, new Type[] { typeof(string) }, null); 
        object[] p = new object[1]; 
        p[0] = "parentID = " + e.Node.Value; 
        e.Node.ExpandMode = TreeNodeExpandMode.ClientSide; 
        ICollection DataCollection = rMethod.Invoke(null, parameters) as ICollection; 
        Populate(DataCollection, e.Node); 
    } 

My populate(collection,rnode) is nothing more than a function to add nodes to rnode.Nodes...
( creates a new childNode for each item in collection, sets its data and does a rnode.Nodes.Add(childNode) )....

For the TreeView, I have set AllowEdit=false, Expanded=true, Allow{Drag,Drop}=false, EnableViewState=true

Any ideas on what's going on?

Thanks!
Kostas Throumoulopoulos
Top achievements
Rank 1
 asked on 03 Aug 2009
9 answers
306 views
Hi

I have a DetailTable where I have a CheckBox and also a RadNumericTextBox, when the CheckBox is clicked, and when the RadNumericTextBox is edited, I want to change the last Total column. I can not see how to reference and FindControl those controls.

                        <DetailTables> 
                            <telerik:GridTableView width="100%" DataKeyNames="ItemId,CampaignId,StockOptionId" Name="Stock" GridLines="None" skinid="Default"> 
                                <Columns> 
                                    <telerik:gridtemplatecolumn headertext="Select" UniqueName="Select"> 
                                        <ItemTemplate> 
                                            <asp:CheckBox id="CheckBox1" runat="server" OnCheckedChanged="Add_CheckBox1_CheckChanged" autopostback="true" /> 
                                        </ItemTemplate> 
                                    </telerik:gridtemplatecolumn> 
                                    <telerik:gridtemplatecolumn headertext="Campaign"> 
                                        <ItemTemplate> 
                                            <asp:Label ID="Add_lblCampaign" runat="server" Text='<%# Eval("Campaign") %>' /> 
                                        </ItemTemplate> 
                                    </telerik:gridtemplatecolumn> 
                                    <telerik:GridTemplateColumn HeaderText="Avail"> 
                                        <ItemTemplate> 
                                            <asp:Label ID="Add_lblAvail" runat="server" Text='<%# String.Format("{0:n}", Eval("Avail")).Replace(".00", "") %>' /> 
                                        </ItemTemplate> 
                                    </telerik:GridTemplateColumn> 
                                    <telerik:GridTemplateColumn HeaderText="Units Text"> 
                                        <ItemTemplate> 
                                            <asp:Label ID="lblUnitsTextLabel" runat="server" Text='<%# Eval("UnitsText") %>' /> 
                                        </ItemTemplate> 
                                    </telerik:GridTemplateColumn> 
                                    <telerik:GridTemplateColumn HeaderText="Units Qty"> 
                                        <ItemStyle Width="90px" /> 
                                        <ItemTemplate> 
                                            <telerik:RadNumericTextBox ID="Add_tbUnitsQty" Enabled="false" AutoPostBack="true" OnTextChanged="Add_tbUnitsQty_TextChanged"  
                                                ShowSpinButtons="True" Width="80px" Type="Number" runat="server" Culture="en-AU" InvalidStyleDuration="100" MinValue="1"> 
                                                <NumberFormat DecimalDigits="0" /> 
                                            </telerik:RadNumericTextBox> 
                                          <asp:RequiredFieldValidator ID="Add_rfvUnitsQty" runat="server" Enabled="false" ControlToValidate="Add_tbUnitsQty" ErrorMessage="Required" Display="Dynamic" /> 
                                        </ItemTemplate> 
                                    </telerik:GridTemplateColumn> 
                                    <telerik:GridTemplateColumn HeaderText="Total"> 
                                        <ItemTemplate> 
                                            <asp:label id="Add_lblTotal" runat="server" /> 
                                        </ItemTemplate> 
                                    </telerik:GridTemplateColumn> 
                                </Columns> 
                            </telerik:GridTableView> 
                        </DetailTables> 

        protected void Add_CheckBox1_CheckChanged(object sender, EventArgs e) 
        { 
            // How can I get the DataKeyNames, and the RadNumericTextBox, so I can calculate the Total 
        } 

Also, some rows will have 1 to 5 additional rows in the detail table. Say a DetailTable has 5 rows but only 2 are checked with a number in the RadNumericTextBox, how can I iterate all the rows in the DetailTables that are checked and get the DataKey names and value of RadNumericTextBox etc?

Thanks.

Michael
Top achievements
Rank 1
 answered on 03 Aug 2009
1 answer
101 views
Is there any way to bring a marked zone to the front at runtime?

The following BringToFront method always errors. I have attempted to place it before binding to a data source and after with no luck. The zone does properly render behind the series when the line is commented out. I'm attempting to place an average line over the series.

 

ChartMarkedZone zone = chtCommunityStatus.PlotArea.MarkedZones[0];
... (format code)...

 

zone.BringToFront();

 

 

 

Giuseppe
Telerik team
 answered on 03 Aug 2009
3 answers
114 views
Hi.
I have project with menu control telerik.
i do some well but when i customer css in skin so it dont work.
I do not change file css
i use skin SkyBlue with menu.

1. file aspx:
  <asp:ScriptManager ID="Scriptmanager1" runat="server">
            </asp:ScriptManager>
            <telerik:RadMenu ID="RadMenu1" runat="server" Flow="Vertical" Skin="SkyBlue">
                <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
                <DataBindings>
                    <telerik:RadMenuItemBinding TextField="TenTheLoai" />
                </DataBindings>
            </telerik:RadMenu>

please help me..
thanks
Kamen Bundev
Telerik team
 answered on 03 Aug 2009
1 answer
81 views
Hi,
in my case I have two radwindows.
In the first I have RadComboBox, and in the second I have a button with javacript functions.
In this function I want to set text to RadComboBox in 1. window.
I want to have only js code in the second window.
I'm trying to use code from sample DialogReturnValue:
                //get a reference to the second RadWindow         
                var dialog1 = oWnd.get_windowManager().getWindowByName("RadWindow1");         
 
                // Get a reference to the first RadWindow's content  
                var contentWin = dialog1.get_contentFrame().contentWindow  
                  
                //Call the predefined function in Dialog1  
                //contentWin.populateCityName(selectedCapital);  
                contentWin.$find("<%= RadComboBox11.ClientID %>"); //error  
 
but there is an error that RadComboBox11 doesn't exist.
I want to ask, is it possible to do something like this?
Georgi Tunev
Telerik team
 answered on 03 Aug 2009
1 answer
127 views
Hey all,

I had the panel bar looking and working the way I wanted but then i updated the DLL to the latest one and now i have a black line appearing below my root links which i cannot for the life of me get rid of, can anyone help?

http://development.lateralline.co.uk/cbfootball2009/community.aspx

Thanks in advance..

Stevied





Kamen Bundev
Telerik team
 answered on 03 Aug 2009
1 answer
110 views
Is there any controls in telerik which can be used as ajax control toolkits confirmbutton extender.
for radalert i have to use explicit events, i dont want to change in my button events.
Sebastian
Telerik team
 answered on 03 Aug 2009
1 answer
119 views
Hi,

I read somewhere (not sure if on here or elsewhere) That the ASP.NET AJAX controls use JQuery internally.

This is no bad thing but as a developer, does this mean I should learn JQuery? Or is it all nicely abstracted (so far it seems so)? There's a lot of effects etc which can be done with JQuery, can these be applied to the controls in some fashion? A better way of putting it: Can I harness JQuery to do any flash stuff with the controls (Effects, fades, etc etc)?

Thanks
Ivo
Telerik team
 answered on 03 Aug 2009
3 answers
100 views
Is it possible to have add, edit and delete functionality in grouping grid? Here is sample grouping grid that I want to use for data editing - http://demos.telerik.com/aspnet-ajax/grid/examples/groupby/groupfooter/defaultcs.aspx
Princy
Top achievements
Rank 2
 answered on 03 Aug 2009
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?