Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
85 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
99 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
151 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
148 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
85 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
165 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
101 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
37 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
2 answers
146 views
Hello,

I have the following problem with RadComboBoxes and Internet Explorer 8:

On a form I have about 12 RadComboBoxes, Skin Windows7.

When I open this form, the form loads almost completely but the form remains in a unresponsive state. It is not possible to do anything on the form. The cursor shape shows as an hourglass.  At the same time, the iexplorer process consumes near 100% processor time. IE8 Javascript profiler says that a script of an embedded Telerik JavaScript resource needs a lot of time.

After about 10s the form is usable and user can make input click on buttons, etc..

The problem remains even the combo boxes are not bound or filled with any items.
When I replace the RadComboBoxes with ASP:DropDownList controls the problem disappears.

We want to use the RadComboBoxes, because we need LoadOnDemand, AutoComplete and virtual scrolling.

With IE6, IE7 and Firefox 3.x, 4 there is no such problem at all.

The version of the Telerik.Web.UI dll is 2010.2.929.35.

Is this a known issue? Do we need a more current version of Telerik controls? Is there a workaround?

All hints and solutions are welcome.

Regards

Rolf Cerff

Rolf Cerff
Top achievements
Rank 1
 answered on 06 May 2011
2 answers
184 views
This may seem like a strange request but here goes.  I want to be able to customise the editor to allow a user to choose a pre-defined style.  For example "Paragraph Red".  I am sure this is pretty simple and the behaviour i would expect would be the HTML to look something like this:

<p class="Paragraph Red">This is some test text</p>

However, what i want to do is allow the user to choose "Paragraph Red" but the generated HTML to add a style tag to the selected element with the style information from the predefined style.  E.g.

<p style="color: red">This is some test text</p>

My reason for doing this is i want to build a user friendly interface for generating our HTML newsletters.  Unfortunately a lot of mail clients (especially the web based ones) require inline styles to be used for the output to be rendered correctly.
Dave
Top achievements
Rank 1
 answered on 06 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
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
Iron
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?