Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
237 views

I am trying to bind to the Content Template of a RadPanelBar with and object (see below).  I am able to get the Panel Labels to display but the panel items are not expandable and they don't show the Rad Text Box inside the content. 

 

 

 <telerik:RadPanelBar  RenderMode="Lightweight" ID="RadPanelBar1" Runat="server"  Width="75%">
            <Items>
                <telerik:RadPanelItem runat="server">
                    <ContentTemplate>
                         <telerik:RadTextBox ID="RadTextBox1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "DetailMessage") %>'></telerik:RadTextBox>
                    
                    </ContentTemplate>
                </telerik:RadPanelItem>
            </Items>
            </telerik:RadPanelBar>

        public class DetailInfo
        {
            public string DetailMessage { get; set; }
        }
        public class PanelInfo
        {
            public int PanelId { get; set; }
            public string PanelLabel { get; set; }
            public DetailInfo Details { get; set; }
            public string DetailMessage {get; set; }
        }

        protected void Page_Load(object sender, EventArgs e)
        {
            List<PanelInfo> PanelLabels = Enumerable.Range(1, 10).Select(m =>
                 new PanelInfo
                 {
                     PanelLabel = String.Format("Panel {0}", m),
                     PanelId = m,
                     Details = new DetailInfo { DetailMessage = string.Format("Detail {0}", m) },
                     DetailMessage = String.Format("Message {0}", m),
                 }
               ).ToList();

            RadPanelBar1.DataSource = PanelLabels;
            RadPanelBar1.DataTextField = "PanelLabel";
            RadPanelBar1.DataValueField = "PanelId";
            RadPanelBar1.DataBind();
          
        }

Peter Milchev
Telerik team
 answered on 02 Mar 2017
1 answer
173 views

Hi there,

I would like to change a couple of things regarding styling to the RadSiteMap (see attachment)

1. Remove horizontal line
I want to remove the horizontal lines, like beneath the 'Auxiliary equipment' text and 'Drivetrain' text.

2. Remove indent level
Is there a way to remove the indents before a level (like before the bullets)?

3. Add empty line last level
I want to create extra space between the 2 levels (like extra space between 'Weigh scale hand pallet trucks' and 'Drivetrain')

I hope somebody is able to assist.

Regards,

Marcel

Rumen
Telerik team
 answered on 01 Mar 2017
1 answer
215 views
Is there any option to set the finish button to single click like you can RadButton (SingleClick="true" SingleClickText="Submitting...")?
Rumen
Telerik team
 answered on 01 Mar 2017
1 answer
96 views
How to Increase the space between select button and textbox in RadAsyncUpload
Rumen
Telerik team
 answered on 01 Mar 2017
1 answer
85 views
In particular, wanted to change "Do you want to proceed anyway?" and "No changes has been made." to custom text. Please advice.
Rumen
Telerik team
 answered on 01 Mar 2017
1 answer
133 views
' RQ ' field is datetime,why not show ?
Peter Milchev
Telerik team
 answered on 01 Mar 2017
19 answers
1.4K+ views
Latest Internal Build fixes the problem ASP.NET_AJAX_2008_3_1319

CORRECTION:  It isn't all of my Radgrids in the project but just some of them (I'm still working on figuring out why some work and other don't)  ADDITION:  It is on any column that is a number.  It doesn't matter if it is gridboundcolumn or a gridnumericcolumn. TEMPORARY FIX I added DataType="System.String"  to the column definition and filtering then works.  It seem like a problem with the filter menu for numeric values.


I upgraded my sites to and now all of my filtering has stopped working on all of my RadGrids.  They were all working before I upgraded.  I get the error :
System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
at System.Text.StringBuilder.AppendFormat(IFormatProvider provider, String format, Object[] args)
at System.String.Format(IFormatProvider provider, String format, Object[] args)
at Telerik.Web.UI.GridFilterFunction.GetFunctionString(String fieldName, String value, Type valueDataType, GridTableView tableView)
at Telerik.Web.UI.GridColumn.EvaluateFilterExpression(GridFilteringItem filteringItem)
at Telerik.Web.UI.GridFilterCommandEventArgs.ExecuteCommand(Object source)
at Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs ar gs)
at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e)
at Telerik.Web.UI.GridItem.FireCommandEvent(String commandName, Object commandArgument)
at Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Thanks in advance,
Jeff


Eyup
Telerik team
 answered on 01 Mar 2017
4 answers
377 views

Hello,

I'm using Telerik UI for ASP.NET AJAX build 2017.1.118.40 with the Metro theme.

My application has many RadGrid instances, and for some reason none of them are showing column checkbox selections correctly in their header context menus.

I've attached a screenshot to demonstrate. You'll see that the columns that should be checked (they are currently visible in the grid) are shown using a light blue color - but they aren't actually checked. If I explicitly toggle the checkbox (by clicking it), then it appears as expected, but only until the next postback.

I thought I might have some styles conflicting with this theme, but I've removed all my application's CSS (as a test), and nothing changed.

Has anyone else encountered this? Any thoughts or feedback would be greatly appreciated.

- Mark R.

Eyup
Telerik team
 answered on 01 Mar 2017
0 answers
160 views

Hi,

My RadComboBox in aspx:

               <telerik:RadAutoCompleteBox runat="server" id="RadAutoCompleteBox" onclientrequesting="requesting"> </telerik:RadAutoCompleteBox>

I have array (50 items) in Javascript. Details item:

         - Id- this element set to value selected item;
         - Text ( Account Number + Description) - this element set to selection list in RadAutoCompleteBox;
         - Account Number - this element set to input;

I would like update RadAutoCompleteBox in function requesting in Javasctipt.

          function requesting(sender, eventArgs) {            
                        var value = sender.get_text();            
                        for (var j = 0; j < myArray.length; j++) {               
                               if (myArray[j][1].indexOf(value) > -1) {                    
                                 ????????????;                    
                               }}};

please help
Grzegorz
Top achievements
Rank 1
 asked on 28 Feb 2017
0 answers
147 views

Hello everyone, 

I want to change my date input format in client side using Javascript.
I saw there is a get_dateInput but I don't know how to use it to set the RadMonthYearPicker format to "MMMM".
Do anyone have a simple example? 

Thank you in advance. 

Romaric
Top achievements
Rank 1
 asked on 28 Feb 2017
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?