Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
248 views
Hi,

I have a RadAutoCompleteBox that I add dynamically at run time for editing values.
I can set all settings that I need and add it to the page without problems.

I just can't find out how to set it's text value because the 'text' property is read only.
I want to search the items only when the user modifies the current value.

This is my code so far:

_autoCompleteBox = new RadAutoCompleteBox();
_autoCompleteBox.ID = String.Format("Extra_RdtCmpltBx_{0}_{1}", Data.Name, ID);
_autoCompleteBox.Filter = RadAutoCompleteFilter.StartsWith;
_autoCompleteBox.DropDownPosition = RadAutoCompleteDropDownPosition.Automatic;
_autoCompleteBox.AllowCustomEntry = true;
_autoCompleteBox.InputType = RadAutoCompleteInputType.Text;
_autoCompleteBox.WebServiceSettings.Method = "GetResults";
_autoCompleteBox.WebServiceSettings.Path = "Popup_EditData.aspx";
Mickael
Top achievements
Rank 1
 answered on 14 Oct 2014
5 answers
120 views
This was working in our Events Management system for until recently.
We recently migrated everyone to Outlook 2012.
I updated my VS 2012 project this morning to Q2 2014 .NET 3.5.

Now Appointment.Description is not coming across in the ics appointment in Outlook.

Has anyone else experienced this?
Is there a work around?

Thanks!
Boyan Dimitrov
Telerik team
 answered on 14 Oct 2014
3 answers
199 views
I have a problem with filtering checklist of columns, 
I really should be placed as, selecting the filter options and pressing apply the filter does not send parameters to service SVC 

could tell me what am I doing wrong?

ASP
<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0"  
            GridLines="None" AllowFilteringByColumn="true" FilterType="CheckList"
            AllowPaging="true" PagerStyle-AlwaysVisible="true" AllowSorting="true" Skin="Simple"    
            Width="1080px" Height="600px" EnableLinqExpressions="true">
<MasterTableView EnableHeaderContextMenu="true" AutoGenerateColumns="false"  
    CheckListWebServicePath="../../MovimientoWcfService.svc"
     DataKeyNames="MovimientoId" ClientDataKeyNames="MovimientoId" PageSize="20">
    <Columns> 
        <telerik:GridBoundColumn FilterDelay="200" HeaderText="Código" UniqueName="ClientId" DataField="ClientId">
        </telerik:GridBoundColumn>
        <telerik:GridBoundColumn FilterDelay="200" DataField="FamiliaNombre"  HeaderText="FAMILIA" FilterCheckListWebServiceMethod="LoadFamilia" UniqueName="FamiliaNombre" >
        </telerik:GridBoundColumn>
 </Columns>
</MasterTableView>
<ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true">
        <Selecting AllowRowSelect="true" />
        <ClientEvents OnRowContextMenu="RowContextMenu"></ClientEvents>
        <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="true"></Scrolling>
    <Resizing ResizeGridOnColumnResize="true" ShowRowIndicatorColumn="true" AllowResizeToFit="true" />
    <DataBinding Location="~/MovimientoWcfService.svc" SelectMethod="GetDataAndCount" SortParameterType="Linq"
         FilterParameterType="List" >
    </DataBinding>
</ClientSettings>
</telerik:RadGrid>  
   
//C# SVC
 [OperationContract]
        public RadListBoxItemData[] LoadFamilia(Dictionary<string, object> context)
        {
            var be = new BeFamilia { Eliminado = false, Activo = true };
            var beList = new List<BeFamilia>();
            var bl = new BlFamilia();
            beList = bl.Select(be);
            var allFamilies = (from fa in beList
                               orderby fa.Descripcion
                               select new RadListBoxItemData
                               {
                                  Value = fa.FamiliaId.ToString(),
                                   Text = fa.Descripcion
                               }).Distinct();

            return allFamilies.ToArray<RadListBoxItemData>();
            
        }



Maria Ilieva
Telerik team
 answered on 14 Oct 2014
1 answer
160 views
I was having trouble implementing a WCF Service for getting HTML chart data on the client side based on the example in the Demo "HtmlChart - Client-side Binding".

The trouble spot was in the setServiceDataInChart function. The demo site source code is:

function setServiceDataInChart(sender, args)
{
     //Get the returned data
     var newData = args.get_content();
  
     //get a reference to the RadHtmlChart
     var chart = getChartReference();
  
     //Set the new datasource to the RadHtmlChart
     chart.set_dataSource(newData);
  
     //Repaint the RadHtmlChart
     chart.repaint();
  
     //Avoid raising the OnClientResponseEnded client-side event
     //avoid setting the received data as content for the RadXmlHttpPanel
     args.set_cancel(true);
  
     logEvent("<strong>Data from the WCF service:</strong>" + newData);
}


I got two different errors when the code got to "chart.repaint();"

First problem was that my WCF service was not serving data back until I changed the OperationContract WebInvoke BodyStyle to WebMessageBodyStyle.WrappedRequest. This caused the second problem, namely, the value of newData returned was now wrapped, so I had to specify

chart.set_dataSource(newData.d);

in the setServiceDataInChart function.
Danail Vasilev
Telerik team
 answered on 14 Oct 2014
1 answer
157 views
Hi,
My case, radgrid disappeared after BatchEditCommand logic
I want to know BatchEditCommand Exception logic
When DB is Exception, my solution is not New rebind, but user's Modified data

Thank you~!

protected void RadGrid1_BatchEditCommand(object sender, GridBatchEditingEventArgs e)
{    
     foreach (GridBatchEditingCommand command in e.Commands)    
     {        
          Hashtable newValues = command.NewValues;        
          Hashtable oldValues = command.OldValues;        

          // Oracle DB Insert/Update/Delete...

          If(DB Exception)
          {
              // Rollback();
              return; //  Grid disppeard 
          }
     }

     //Commit(); // even in that case, Grid disappear
}
Viktor Tachev
Telerik team
 answered on 14 Oct 2014
6 answers
145 views
Hello,

Is it possible to add custom options to the zoom dropdown tool?
vkucherov
Top achievements
Rank 1
 answered on 14 Oct 2014
1 answer
209 views
Hello Team,
                    I am facing an issue with RadAsyncUpload when i upload a file we used to get green mark as symbol of successfully inserted int database,but now we are facing an issue, as we upload a file we getting a red symbol mark after we upload,but uploaded file is not saved and also getting red mark.Help me out from this issues ?? 
Plamen
Telerik team
 answered on 14 Oct 2014
3 answers
143 views
I am finding serious problems with your controls. I have found two already (how many more are there?) that don't scroll inside a window. The Button control is one and the other is the ColorPicker.This is a serious issue.  IN IE, and yes I'm using IE 11, your Button control is not scrolling and neither is your ColorPicker. I have tried setting the position to relative and it still doesn't work. I am using v.2013.3.1114.40 in VS 2013. I would appreciate any advice you can give to fix this issue.
Bozhidar
Telerik team
 answered on 14 Oct 2014
3 answers
124 views
When compatibility mode for IE11 is turned off, I cannot click on links when in Preview mode.

I have been forced to set it to run under IE10. 

<meta http-equiv="X-UA-Compatible" content="IE=10,chrome=1" />

Is this going to be fixed?
Ianko
Telerik team
 answered on 14 Oct 2014
1 answer
155 views
Here's some layout code on one of my pages:
<telerik:RadPane ID="radPaneMain" runat="server" CssClass="paneMain" OnClientResized="radPaneMain_Resized">
  <asp:MultiView ID="multiViewMain" runat="server">
    <asp:View ID="View1" runat="server">
      <%-- Note: In order for ScrollBars to function, the dimensions of the Panel (Div) have to be explicitly set.
           Since the width of panelMucking can change, we're going to explicitly set the Width in code. The actual
           turning on/off of the scrollbars is handled directly by the 'DrawFlowChartShapes' method --%>
      <asp:Panel ID="panelMucking" runat="server" CssClass="smallText" ScrollBars="None" EnableViewState="false" style="position:relative" />
    </asp:View>
  </asp:MultiView>
</telerik:RadPane>

The only pertinent thing you need to know about the paneMain CSS Class is that:  height: 100%

Shown in the attachments are two screenshots.  The first is the normal, standard appearance.  However, when the flowchart objects get too big to fit in the available space then, in code, I turn the scrollbar(s) of panelMucking on.  The second screenshot shows the problem that occurs however.  Notice how things are shifted to the right and down a little - when I don't want them to be.

Any advice on how to resolve this?

Note: The app will be run exclusively on IE11.

Robert
Vessy
Telerik team
 answered on 14 Oct 2014
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?