Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
113 views
I am building a filter string based on a list of dynamic fields and saving the filter using the SaveSettings() encoded string.  I need to be able to restore this as well, however, it is possible that some of the fields in the filter are no longer available.  When this is the case, LoadSettings() throws an Object reference exception at RadFilterDataFieldEditor.  I would like to be able to simply invalidate the expressions that are no longer able to be part of the filter, but the exception doesn't give me any detail to work with.

Is there an alternate way of loading the expressions from the encoded string that would give me this detail?
Vasil
Telerik team
 answered on 09 Dec 2013
15 answers
795 views
Hi,

I have a RadTreeView control with checkboxes enabled.I have set the checkChildNodes property to true. so when i check/uncheck on parent node all the child nodes under it gets checked/unchecked.

Now my requirement is all the child nodes should get checked only when i double click on parent node and if i just make a single click only individual nodes should get checked ? how to make it possible any ideas or sample code would be appreciated. please reply asap.

Thanks in advance.
Massimiliano
Top achievements
Rank 1
 answered on 09 Dec 2013
3 answers
59 views

Hi,

i will have three Editors on a site (looks like my added Image)

Is it possible to have one external Toolbar for all the three Editors?

I hope you understand what i meen.

greetings

Johann

Marin Bratanov
Telerik team
 answered on 09 Dec 2013
1 answer
443 views
Is there any way to create a RadWindow without iFrames.. I have a signature control I would like to use in a window but if does not work within an iFrame

Thanks
Marin Bratanov
Telerik team
 answered on 09 Dec 2013
2 answers
244 views
I have been looking for a means to find a radcombo control where I know the name of the control  (for example RadCombo ID =" RadComboColumn1" ) in a radGrid header...  CLIENT SIDE JAVASCRIPT

Any suggestions?


function confirmCallBackFn(arg) {
              if (arg == false) {
                  $.unblockUI();
                  return false;
              }
              $.unblockUI();
               
 
              var grid = $find("<%=RadGridImport.ClientID %>");
              var masterTableView = grid.get_masterTableView();
              var columns = masterTableView.get_columns();
              var columnCount = masterTableView.get_columns().length;
 
              //TODO:  Loop and get collection of radcombo's in headers and selected value.
              var selectedColumnFields = new Array();
              for (var i = 0; i < columnCount; i++) {
                  //TODO:  Find control in radgrid hearder.
                  var col = columns[i]????????;
var RadCombo = ????
                //.get_item().findControl("columm1");
              }
  
              __doPostBack("<%= FinishButton.UniqueID %>", "");
              return true;
          }

While this code works on the serverside, I am needing to convert this to the clientside:  var columnComboBox = headers[0].FindControl(columnName) as RadComboBox;


private List<ValueName> GetUserSelectedColumnMapping()
       {
           //Get the number of columns in the dynamic grid -2 hidden columns
           int radGridColumnCount = RadGridImport.MasterTableView.RenderColumns.Count() - 2;
 
           //Selected Column Type Mapping translates a dynamic column to a valid database table field.
           var selectedColumnTypeMapping = new List<ValueName>();
           GridItem[] headers = RadGridImport.MasterTableView.GetItems(GridItemType.Header);
           for (int i = 0; i < radGridColumnCount; i++)
           {
               string columnName = String.Format("Column{0}", i);  //Column{value} is set in the radgrid item created event.
               var columnComboBox = headers[0].FindControl(columnName) as RadComboBox;
               string selectedText = string.Empty;
               if (columnComboBox != null)
               {
                   var selected = columnComboBox.SelectedValue;
                   if (columnComboBox.SelectedItem != null)
                   {
                       selectedText = columnComboBox.SelectedItem.Text;
                   }
 
                   //Add the users selection to the mapping list.
                   selectedColumnTypeMapping.Add(new ValueName() { Name = selectedText, Value = selected, ColumnIndex = i });
               }
           }
 
           return selectedColumnTypeMapping;
       }
Wired_Nerve
Top achievements
Rank 2
 answered on 09 Dec 2013
9 answers
287 views
Calendar inside scheduler control cuts off when no records available for scheduler. Please see screenshot.

Second question - How to default scheduler to the current week in the timeline view. It appears to always default to the first week.

Thanks
Ash
Boyan Dimitrov
Telerik team
 answered on 09 Dec 2013
2 answers
195 views
How do i save / I export the entire grid to the sql server  database containing about 1000 item?
Like export data to excel.........
Princy
Top achievements
Rank 2
 answered on 09 Dec 2013
1 answer
102 views
Hi there

I have noticed an issue in Chrome and IE (all versions) where the Paragraph Style window is not displaying the correct format (as visible in the HTML code)

In the ToolsFile.xml, is the following code:

<paragraphs>
        <paragraph name="<h2>Heading 2</h2>" value="<h2>" />
        <paragraph name="<h3>Heading 3</h3>" value="<h3>" />
        <paragraph name="<h4>Heading 4</h4>" value="<h4>" />
    <paragraph name="<h5>Sub content</h4>" value="<h5>" />
        <paragraph name="<p>Paragraph</p>" value="<p>" />
    </paragraphs>

When selecting a block of text in chrome that has been formatted with <p> tags, or clicking inside a block of text  in Internet Explorer that has been formatted with <p> tags, the Paragraph Style window displays as 'Normal' as opposed to displaying 'Paragraph' (as it does correctly in Firefox). Other style types (H2, H3 etc) seem to display correctly in the Paragraph Style window normally in all browsers

The problem is this confused our clients who think the editor is failing to format paragraphs correctly (even though the html is correctly formatted)

Has anyone else noticed this behavior or would know a workaround?

Edit: Product version is 2010.2.929.40 by the way

Cheers
Pat
Ianko
Telerik team
 answered on 09 Dec 2013
3 answers
242 views
I am using DotNetNuke 6 I have made a dnn module and added a telerik:RadAjaxManager to smooth over postbacks. The issue that occurs is that after the postback the skin becomes all screwy, and I am not sure what about the telerik control is causing this issue. Also, it will stop some postback actions to occur from occuring**. Here is the telerik code:

**An example of this would be that I have a droplist that once selected fills another droplist, labels and textfields with data from sql. Sometimes with the telerik code in place that autofill functionality will not execute.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
    <telerik:AjaxSetting AjaxControlID="Panel1">
        <UpdatedControls>
            <telerik:AjaxUpdatedControl ControlID="Panel1"
                                    LoadingPanelID="RadAjaxLoadingPanel1" />
        </UpdatedControls>
    </telerik:AjaxSetting>       
</AjaxSettings>
</telerik:RadAjaxManager>
 
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"
                         Height="75px" Width="75px" style="position:absolute;" IsSticky="false"
                         MinDisplayTime="500">
<img alt="Loading..."
     src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'
     style="border: 0px;" />
</telerik:RadAjaxLoadingPanel>
please note that the beforePostback.jpg occurs before any postback and reflects the skin if the telerik scripting is removed. Once added and a postback occurs I get what happens in the afterpost.jpg. Without the loading functionality of the telerik the postbacks drag but with it, the module does not function correctly and the DNN skin breaks. 
Maria Ilieva
Telerik team
 answered on 09 Dec 2013
1 answer
92 views
Hi,

Please check the attached screenshot for the problem.

White vertical lines on some tabs.

Thanks,

Charles
Kate
Telerik team
 answered on 09 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?