Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
84 views
My appliacation consists of two vertical splitter seperating 3 panes a search pane, results pane , and a preview pane. Within the Search pane there are panels, the first, a search form is docked by default, and the second slides out. All actions seem to work flawlessly but I have a design issue: The docked search form appears to have a 4 pixel border that runs into the splitter. Is there anyway to get rid of this so just the splitter shows?

image of issue attached
Svetlina Anati
Telerik team
 answered on 31 Mar 2010
1 answer
116 views
Hi,

I'm trying to get a clarification of if/how RadEditor functions with an AjaxManager on the page. Currently, I have a linkbutton that fires that fires a standard method with ExportToPDF() on the RadEditor, but no download/open prompt comes up. 

After some searching, I found this thread here which suggests that RadGrid doesn't work with AjaxManager/Ajax and I was wondering if RadEditor has the same behaviour, and if so, what the best way to get around this is? 

This is for VS2010RC, Telerik 2010Q1 release.

Cheers. 
Rumen
Telerik team
 answered on 31 Mar 2010
4 answers
65 views
I have a page with two LoadOnDemand ComboBox controls. Both controls get their data from a common data access method. The first controls works. The second control never displays the items. It does display the header and the status message.

I double-checked that the controls have unique client id in the rendered html. Any suggestions?

<table> 
  <tr> 
    <td> 
      <telerik:RadComboBox ID="rcbGenContractor" runat="server" Width="450px" 
              DropDownWidth="510px" HighlightTemplatedItems="True" EnableLoadOnDemand="True" 
              OnItemsRequested="rcbGenContractor_ItemsRequested" ShowMoreResultsBox="True" 
              EnableVirtualScrolling="True" Skin="Sunset">  
          <HeaderTemplate> 
            <ul> 
              <li class="col1">Name</li> 
              <li class="col2">City/St</li> 
              <li class="col3">Signatory</li> 
              <li class="col4">ID</li> 
            </ul> 
          </HeaderTemplate> 
          <ItemTemplate> 
            <ul> 
              <li class="col1"><%# DataBinder.Eval(Container, "Text") %></li>  
              <li class="col2"><%# DataBinder.Eval(Container, "Attributes['CitySt']") %></li>  
              <li class="col3"><%# DataBinder.Eval(Container, "Attributes['Signatory']")%></li>  
              <li class="col4"><%# DataBinder.Eval(Container, "Attributes['Id']") %></li>  
            </ul> 
          </ItemTemplate> 
        </telerik:RadComboBox> 
      </td> 
    </tr> 
    <tr valign="top">  
      <td> 
        <telerik:RadComboBox ID="rcbSubContractor" runat="server" Width="450" 
              DropDownWidth="510px" HighlightTemplatedItems="true" EnableLoadOnDemand="true" 
              OnItemsRequested="rcbSubContractor_ItemsRequested" ShowMoreResultsBox="true" 
              EnableVirtualScrolling="true" Skin="Sunset">  
          <HeaderTemplate> 
            <ul> 
              <li class="col1">Name</li> 
              <li class="col2">City/St</li> 
              <li class="col3">Signatory</li> 
              <li class="col4">ID</li> 
            </ul> 
          </HeaderTemplate> 
          <ItemTemplate> 
            <ul> 
              <li class="col1"><%# DataBinder.Eval(Container, "Text") %></li>  
              <li class="col2"><%# DataBinder.Eval(Container, "Attributes['CitySt']") %></li>  
              <li class="col3"><%# DataBinder.Eval(Container, "Attributes['Signatory']")%></li>  
              <li class="col4"><%# DataBinder.Eval(Container, "Attributes['Id']") %></li>  
            </ul> 
          </ItemTemplate> 
        </telerik:RadComboBox> 
      </td> 
    </tr> 
</table> 

    protected void rcbGenContractor_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)  
    {  
      if (e.Text.Length < 3)  
      {  
        e.Message = "Enter at least 3 letters...";  
      }  
      else 
      {  
        SearchContractors(e);  
      }  
    }  
    protected void rcbSubContractor_ItemsRequested(object o, Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)  
    {  
      if (e.Text.Length < 3)  
      {  
        e.Message = "Enter at least 3 letters...";  
      }  
      else 
      {  
        SearchContractors(e);  
      }  
    }  
 
    private void SearchContractors(Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs e)  
    {  
      int totalItems = default(int);  
      int endItem = e.NumberOfItems;  
      int ITEM_BATCH_SIZE = 20;  
 
      List<JobDataLayer.ContractorItem> data =  
        dataLayer.SearchContractors(e.Text, e.NumberOfItems, ITEM_BATCH_SIZE, out totalItems);  
 
      e.EndOfItems = e.NumberOfItems + ITEM_BATCH_SIZE >= totalItems;  
 
      foreach (JobDataLayer.ContractorItem contractor in data)  
      {  
        RadComboBoxItem item = new RadComboBoxItem();  
 
        item.Text = contractor.Name;  
        item.Value = contractor.Id.ToString();  
 
        string CitySt = contractor.City;  
        if (!String.IsNullOrEmpty(contractor.State))  
        {  
          if (CitySt.Length > 0)  
            CitySt += ", ";  
          CitySt += contractor.State;  
        }  
        item.Attributes.Add("CitySt", CitySt);  
        item.Attributes.Add("Signatory", contractor.Signatory ? "X" : "");  
        item.Attributes.Add("Id", contractor.Id.ToString());  
 
        rcbGenContractor.Items.Add(item);  
 
        item.DataBind();  
 
        endItem++;  
      }  
 
      e.Message = String.Format("Items <b>1</b>-<b>{0}</b> out of <b>{1}</b>", endItem.ToString(), totalItems.ToString());  
 
    }  
 
Paul Schaeflein
Top achievements
Rank 1
 answered on 31 Mar 2010
2 answers
101 views
Bad title!! Sorry, it is client-side!!!

I'm using version 6.5 of the RadEditor. (no chances of upgrading) I'm having an issue with setting the text, client-side. I try setting the value using the innerHtml propertry, but it is not working.

var

 

editor = GetRadEditor(txt);

editor.innerHTML += selectedText;

If I check the editor.innerHtml value before I set it, it does get the value that is already in there. However, it doesn't change it to the selectedText. Any ideas?

Rumen
Telerik team
 answered on 31 Mar 2010
3 answers
763 views
Hi
My requirement is to get some values from database and show in a section (which can be hide by user)  when user click on item of list box whether it is already selected or not. List box has selected index change event which occurs when we change selection. So if List box has only one item then it can not fullfill my requirement. i need some item click like event so that functionally must occur whether item is already selected or not
Genady Sergeev
Telerik team
 answered on 31 Mar 2010
1 answer
123 views

This page (http://www.telerik.com/help/aspnet-ajax/manager-vs-panel.html) states that you should use RadAjaxManager or RadAjaxPanel and recommends the RadAjaxManger for more complex scenarios.  I'm attempting to use the RadAjaxManager on a page that where I want the top RadComboxBox selection to affect which controls below it are visible or hidden.  It works but full postbacks are occuring on the page.  Why is that?  If I wrap the controls with RadAjaxPanels then the full postbacks go way and the AJAX works.  I thought you did not need to use RadAjaxPanel with the RadAjaxManger.  Am I okay using RadAjaxManger with RadAjaxPanel in this scenario?








robertw102
Top achievements
Rank 1
 answered on 31 Mar 2010
1 answer
89 views
Hi,

We use the Full -Featured RadEditor version 5.4.0.0 and we have an Error " The page you selected contains a list that does not list.."
I uploaded the file in the flash manager, added to the page, but then when i wanted to change the size, it shows the error below (see attachment)
I removed the file, and saved the page, but still the same error when trying to upload the file. I tried to add a flash file in another page in the same site collection and it worked. I also tried to update in the same page in another content area, but didn't work.
This does not append in all page.

Can you help me with this?

Regards,

Leandro
Stanimir
Telerik team
 answered on 31 Mar 2010
3 answers
271 views
Hi,

I am using the 'RadEditor to edit List Items' feature for sharepoint.

I have a share point list on which one of the column is a multi line column with full html editor support. Now i have a requirement to Set Default Font to Arial & size =1

Please let me know how i can do so?

Regards,
Kunal Mittal
Stanimir
Telerik team
 answered on 31 Mar 2010
3 answers
121 views
Hello,
I,ve RadTabStrip with 5 RadTab, and RadMultiPage with 5 RadPageView so every RadPageView contains iframe.
that third tab with code mainTabStrip.FindTabByValue("thirdTab").PageView.Selected = true;
when program is runing and contanis iframe still not load, i do click second tab so i,ve get javascript error
  Invalid argument.  Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=mainScriptManager_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a3bbfe379-348b-450d-86a7-bb22e53c1978%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.2.701.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a7e598a31-3beb-49a1-914c-5f530240f0ea%3a16e4e7cd%3a11a04f7e%3a58366029%3af7645509%3a24ee1bba%3aa585d0d4%3a874f8ea2%3a2a2fc429%3a68f76a79%3ae330518b%3a1e771326%3ac8618e41%3ae4f8f289%3a19620875%3a33108d14%3abd8f85e4%3aed16cbdc, line 384 character 7

regards
Yana
Telerik team
 answered on 31 Mar 2010
6 answers
228 views
Hi,

I am using the 'RadEditor to edit List Items' feature for sahrepoint.

I have a share point list on which one of the column is a multi line column with full html editor support. Now i have a requirement to set the property :
StripFormattingOnPaste to AllExceptNewLines.

Since i do not have the aspx page or control or anything on this page, can you tell me how exactly can i achieve this.

Regards,
Kunal Mittal
Stanimir
Telerik team
 answered on 31 Mar 2010
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?