Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
177 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
164 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
92 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
179 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
111 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
59 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
168 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
197 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
1 answer
68 views
Hi team,

The issue is when I config RadCompression with:

<add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
<add name="CompressionModule" type="CompressionModule"/>
The RadMenu in page not work (not recognize css and javascript)

Can you help me to fix it?

 

Cori
Top achievements
Rank 2
 answered on 06 May 2011
1 answer
108 views
I am using  RadGrid1_ItemCommand() to capture the buttons in my RadGrid and use it to trigger some additional functions. 

protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
  {
      if (e.CommandName == "Select")
      {
          btn1AuseLink_Command(e);
      }
      else if (e.CommandName == "Print")
      {
          btn1AusePrint_Command(e);
      }
      else if (e.CommandName == "Page")
      {
          if (e.CommandArgument == "Prev")
          {
              LoadFreeTextBox1A();
          }
          else if (e.CommandArgument == "Next")
          {
              LoadFreeTextBox1A();
          }
          else if (e.CommandArgument == "First")
          {
              LoadFreeTextBox1A();
          }
          else if (e.CommandArgument == "Last")
          {
              LoadFreeTextBox1A();
          }
      }
      else if (e.CommandName == "ChangePageSize")
      {
          SpeechRecords.SessionHandler.DispRow = (((GridPageSizeChangedEventArgs)(e)).NewPageSize).ToString();
      }
  }

My problem is that the Functions are called before the Navigation buttons move the record.  Is there a function I can use to trigger a function after the navigation buttons have moved to the new record?

Iana Tsolova
Telerik team
 answered on 06 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?