Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
101 views
Is it possible to have mouse over text on a pie chart so you can get the Legend text for an area to show up? The number alone and color isn't enough information for users that are color blind.

Thanks!
MarkX
Top achievements
Rank 1
 answered on 06 May 2011
3 answers
122 views
I have a RadWindow with a RadGrid. How can I close this window after the OnItemCommand event??

AHIA,
Larry...

<Windows>
           <telerik:RadWindow ID="GLLookupWindow" runat="server" Behaviors="Close" Width="900" Height="700" OnClientClose="UnhideIframe_OnClientClose">
            <ContentTemplate>
 
               <asp:Panel runat="server" ID="pnlGLLookup" Visible="true" TabIndex="-1">
 
                   <telerik:RadGrid AutoGenerateColumns="False" ID="GLLookup" OnItemCommand ="GLLookup_ItemCommand" AllowFilteringByColumn="true" OnItemCreated="GLLookup_ItemCreated"
                   DataSourceID="SqlDataSourceGLLookupwindow" AllowSorting="true" runat="server" PagerStyle-AlwaysVisible="true" AllowPaging="true" PageSize ="20" >
                       <GroupingSettings CaseSensitive="false" />
                       <MasterTableView DataKeyNames="GCMGRP,GCACCT,GCSACT,GCDEPT,GCDESC" >
                        <PagerStyle Mode="NumericPages" PageButtonCount="5" />
                           <Columns>
                               <telerik:GridBoundColumn HeaderText="Major" DataField="GCMGRP" UniqueName="GCMGRP" AllowFiltering="true"
                                   SortExpression="GCMGRP" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
                                   HeaderStyle-VerticalAlign="Bottom" />
                               <telerik:GridBoundColumn HeaderText="Acct" DataField="GCACCT" UniqueName="GCACCT" AllowFiltering="true"
                                   SortExpression="GCACCT" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
                                   HeaderStyle-VerticalAlign="Bottom" />
                               <telerik:GridBoundColumn HeaderText="Sub" DataField="GCSACT" UniqueName="GCSACT" AllowFiltering="true"
                                   SortExpression="GCSACT" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
                                   HeaderStyle-VerticalAlign="Bottom" />
                                <telerik:GridBoundColumn HeaderText="Dept/Loc" DataField="GCDEPT" UniqueName="GCDEPT" AllowFiltering="true"
                                   SortExpression="GCDEPT" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
                                   HeaderStyle-VerticalAlign="Bottom" />
                                <telerik:GridBoundColumn HeaderText="Description" DataField="GCDESC" UniqueName="GCDESC" AllowFiltering="true"
                                   SortExpression="GCDESC" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center"
                                   HeaderStyle-VerticalAlign="Bottom" />
                           </Columns>
                           <ItemStyle Wrap="false" />
                              <PagerStyle Mode="NumericPages" AlwaysVisible="true"></PagerStyle>
                       </MasterTableView>
                       <ClientSettings EnablePostBackOnRowClick="true" >
                       </ClientSettings>
                   </telerik:RadGrid>
               </asp:Panel>
 
             
             
            </ContentTemplate>
           </telerik:RadWindow>
</Windows>
larry reames
Top achievements
Rank 1
 answered on 06 May 2011
1 answer
92 views
Respected Person,

I don't want show some label items in Bar chart.
Please see attachment for information.

Please reply me how can I make it visible false.
Gimmik
Top achievements
Rank 1
 answered on 06 May 2011
3 answers
105 views
In both IE and FF...I have 3 text boxes, all 3 with misspelled words. I am using a button to trigger the spell check...the spell check dialog pops up and suggests correct words...I hit 'change'...then it says 'The Spell Check is complete!'...when I click 'OK' the text in the textboxes has not changed. While the code shows the textboxes as enabled=false, they are enabled=true at the time of spellcheck.

<script type="text/javascript">
        function spellCheck() {
            var spell = $find('<%= splContractSpellCheck.ClientID %>');
            spell.startSpellCheck();
        }
</script>
  
<asp:Button ID="btnContractSpellCheck" runat="server" Text="Spell Check" CssClass="buttonStyle" CausesValidation="False" UseSubmitBehavior="False" OnClientClick="javascript: spellCheck()" />
  
<telerik:RadSpell ID="splContractSpellCheck" runat="server" ControlsToCheck="txtContractSummary,txtContractPurpose,txtContractComments"                                 ButtonType="None" />
  
<asp:TextBox ID="txtContractSummary" runat="server" TextMode="MultiLine" MaxLength="1000" Width="100%" Height="34px" Enabled="false" />
<asp:TextBox ID="txtContractPurpose" runat="server" TextMode="MultiLine" MaxLength="1000" Width="100%" Height="86px" Enabled="false" />
<asp:TextBox ID="txtContractComments" runat="server" TextMode="MultiLine" MaxLength="1000" Width="100%" Height="52px" Enabled="false" />
Adam
Top achievements
Rank 1
 answered on 06 May 2011
1 answer
162 views
Hi,

Here I have RadSplitter control in master page which I need to collapse on click of some check box. Both check box and Splitter in master page only. I have applied JS as below but it can not find splitter control (It returns null in $find()).

JS which is in RadBlock

<telerik:RadCodeBlock runat="server" ID="radCodeBlock">
        <script type="text/javascript">

function onCheckBoxClick(chk) {
   debugger;
   if (chkText == "Toggle ToolBar") {
        var splitter = $find("<%= MainSplitter.ClientID %>");
        var pane = splitter.getPaneById("TopPane");
        var isCollapseSuccess = pane.collapse();
    }
}   
</script>
</telerik:RadCodeBlock>

HTML Code:

<telerik:RadSplitter ID="MainSplitter" runat="server" Height="100%" Width="100%"
               Orientation="Horizontal">             

                <telerik:RadPane ID="TopPane" runat="server" Height="100" Scrolling="none" >
                    <!-- Place the content of the pane here -->

                </telerik:RadPane>
</telerik:RadSplitter>

Please help me to resolve this.

Thanks & Regards,

Kaushal Jani
Svetlina Anati
Telerik team
 answered on 06 May 2011
2 answers
154 views
We need to export the data from our RadGrids to just a plain ASCII CSV file for some customers, but the RadGrid "marks the file content as Unicode" (see http://www.telerik.com/help/aspnet-ajax/grid-csv-export.html).

Is there any way to turn off the Unicode marker and just get a plain ASCII file?

We are using the latest version of the components with source license.

Thanks,

Mark Bentley
Tony
Top achievements
Rank 1
 answered on 06 May 2011
2 answers
86 views
I have a treeview inside a RadComboBox. I can set the selected node by using this code:
tree.SelectedNodes.Clear();
 
RadTreeNode node = tree.FindNodeByValue(idtema.ToString());
if (node != null)
{
    node.Selected = true;
}

And it works fine. The only problem is that the combo does not display the selected node.
If I expand the combo I see it has the correct node selected, but I want it to be shown on the top, when the combo is closed.
How can this be done?

Thank you.
Vicenc Masanas
Top achievements
Rank 1
 answered on 06 May 2011
1 answer
169 views
Hi,
I generate the window programmatically, this works , the iwndow pop's up but without any setting at all , somehow not one single setting renders ...  any idea ???, TKS!
***in my page ****
  
   
if (!IsPostBack)
        {
           GetTelerikWindow( placeholder );  }
  
**** In library *************
public static void GetTelerikWindow( PlaceHolder ph , string WindowId, string windowname, int height, int width, Boolean autosize)
        {
  
  
            RadWindowManager TWindowMgr = new RadWindowManager();
            TWindowMgr.ID="Manager_"+WindowId;
            TWindowMgr.EnableShadow = true;
              
              
  
             
            RadWindow TWindow = new RadWindow();
            TWindow.ID=WindowId;
            TWindow.Title=windowname;
            TWindow.ShowContentDuringLoad=false ;
            TWindow.Width=width;
            TWindow.Height=height;
            TWindow.VisibleStatusbar=false;
            TWindow.Modal = true;
            TWindow.AutoSize = autosize;
            TWindow.KeepInScreenBounds = true;
            TWindow.Skin = "WebBlue";
            TWindowMgr.Controls.Add(TWindow);
  
            ph.Controls.Add(TWindowMgr);
  
        }
Svetlina Anati
Telerik team
 answered on 06 May 2011
1 answer
103 views
Hey

We are using RadGrid for example containg  persons data, firstname, lastname, social securitynr. etc. all in a specific column.

The search is a backend search where we present a limited number of "hits"

So if we do this for the moment a search on "John Doe", it will be exucution on search on "John" say 3000 records followed by a search
on "John" + "Doe" say 50 hits.

Is it possible to avoid (disable) the implicit search which occurs every time we are tabbing away (leaving) from a filter field ?

We would like to implement a search triggered ex. enter.

Regards

Finn Møller Hansen



Iana Tsolova
Telerik team
 answered on 06 May 2011
1 answer
41 views
I've noticed that if I have an area of my webform, for example a <div runat="Server"> as the target of a RadAjaxManager update (the Div will be updated), then any controls that I put inside this div can not post back in the normal sense: they can not cause any changes to happen on the page outside of the Div.

For example if I have a button that changes a label's text, and I put the button inside a server side DIV that is the target of a RadAjaxManager, then clicking on that button will never change the text of the label.

I'm just wondering if this is expected behavior, and if there is some best practice way to work around this?
Iana Tsolova
Telerik team
 answered on 06 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?