Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
64 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
451 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
248 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
310 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
200 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
107 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
256 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
101 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
1 answer
77 views
Hi.
im exporting my grid to pdf. At the end i want to add some text. How to add the text at the end of pdf file?
Shinu
Top achievements
Rank 2
 answered on 09 Dec 2013
1 answer
225 views
I need to create some icons for custom editor toolbar tools. What size do they need to have to display nicely with all default toolbar icons?
Vessy
Telerik team
 answered on 09 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?