Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
121 views
I'm looking for the simplest way to show multiple values from the selected item inside of the input area for a combobox. So for instance if I'm binding my combobox to a list of Person objects, that each have FirstName and LastName string properties, then I'd like to display the full name (the composite of both properties) of the selected person in the input area.

One way I see to do this is to create a property called FullName on the Person class that returns the composite string of the FirstName and LastName properties. And then set DataTextField on the combo box to use FullName to populate the input field.

Are there any other ways to accomplish this? Is it possible to create a template for the input area content or some other way to set the input value other than using DataTextField?

Thanks in advance!
Peter Filipov
Telerik team
 answered on 29 Oct 2014
2 answers
172 views
Is there a resx file for the control LightBox? I would like to translate the label "Image 1 of 5" in the control ImageGallery (mode LightBox).

Darek
Darek
Top achievements
Rank 1
 answered on 29 Oct 2014
7 answers
540 views
I just installed Telerik  Q2 2014 using Visual Studio 2013 on Windows 8.  I also have Visual Studio 2010 installed because of obout failure, I told Telerik instaill to use the 2013.

If I try to create a toolbox for ASP.NET AJAX it is not listed in the choose item list while other Telerik components are listed with several Reporting, OpenAccess and Report Viewer items.  I noticed Kendo also does not show up in the toolbox item list.  My VS 2013 has new menu items JUSTCODE, JUSTMOCK, JUSTRACE, TEST, ANALYZE, TELERIK DATA ACCESS so the install was successful for some tools.


Running the sample ComboBox client side solution gives the error:
Error 1 Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The system cannot find the file specified. C:\Program Files (x86)\Telerik\AJAXDocumentation\Projects\ComboBox\CS\ClientSide\ClientSide\Default.aspx 3

Reading other posts, It would seem the Telerik install failed to set a reference for  "Telerik.Web.UI.dll" properly but I do not know what else it missed, at least Kendo. 

I am running Windows 8 with Visual Studio 2013.

Thanks,
George
Ventsi
Telerik team
 answered on 29 Oct 2014
13 answers
157 views
Hi,

We have an Asus WinRT device...
When using IE10 on this device in Metro Mode, and "tapping" on a textbox that is located inside a RadWindow, the soft keyboard appears, but ½ a second later, the textbox loses focus and the keyboard disappears. This makes it impossible to write anything in the textbox!

The same behavior can be seen on your demo:
http://demos.telerik.com/aspnet-ajax/window/examples/overview/defaultcs.aspx
When setting focus on the Bing search text-field, it loses focus when tapping.

Regards
Caesar
Daiki
Top achievements
Rank 1
 answered on 29 Oct 2014
1 answer
83 views
Hi,
I'm using the pivotgrid that is connected to my analytics server. What I do is add 2 row fields one column and 2 aggregate.
 It throws an "Object reference not set to an instance of an object"  every time when I one more aggregate field. It happen with every aggregate field. I saw that in the sql profiler there is no  error and all MDXQueries are executed successfully. Below you can find the stack trace of the exception and hopefully it can give you a clue what is wrong.

  at Telerik.Web.UI.PivotHelperModelManager.BuildRowPivotModel()     
     at Telerik.Web.UI.RadPivotGrid.CreateChildControls(IEnumerable dataSource, Boolean dataBinding)     
     at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)     
     at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)     
     at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)     
     at System.Web.UI.WebControls.DataBoundControl.PerformSelect()     
     at Telerik.Web.UI.RadPivotGrid.PerformSelect()     
     at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()     
     at Telerik.Web.UI.RadPivotGrid.DataBind()     
     at Telerik.Web.UI.PivotGridFieldReorderEventArgs.ExecuteCommand(Object source)     
     at Telerik.Web.UI.RadPivotGrid.OnBubbleEvent(Object source, EventArgs args)     
     at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)     
     at Telerik.Web.UI.PivotGridItem.OnBubbleEvent(Object source, EventArgs args)     
     at Telerik.Web.UI.PivotGridItem.FireCommandEvent(String commandName, Object commandArgument)     
     at Telerik.Web.UI.RadPivotGrid.HandleFireCommand(String commandName, String commandArgument)     
     at Telerik.Web.UI.RadPivotGrid.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)

Best Regards,
Diyan Penkov
Viktor Tachev
Telerik team
 answered on 29 Oct 2014
1 answer
125 views
Hi,
I'm using the pivotgrid that is connected to my analytics server. What I do is add 2 row fields one column and 2 aggregate.
 It throws an "Object reference not set to an instance of an object"  every time when I one more aggregate field. It happen with every aggregate field. I saw that in the sql profiler there is no  error and all MDXQueries are executed successfully. Below you can find the stack trace of the exception and hopefully it can give you a clue what is wrong.

  at Telerik.Web.UI.PivotHelperModelManager.BuildRowPivotModel()     
     at Telerik.Web.UI.RadPivotGrid.CreateChildControls(IEnumerable dataSource, Boolean dataBinding)     
     at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data)     
     at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data)     
     at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)     
     at System.Web.UI.WebControls.DataBoundControl.PerformSelect()     
     at Telerik.Web.UI.RadPivotGrid.PerformSelect()     
     at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()     
     at Telerik.Web.UI.RadPivotGrid.DataBind()     
     at Telerik.Web.UI.PivotGridFieldReorderEventArgs.ExecuteCommand(Object source)     
     at Telerik.Web.UI.RadPivotGrid.OnBubbleEvent(Object source, EventArgs args)     
     at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)     
     at Telerik.Web.UI.PivotGridItem.OnBubbleEvent(Object source, EventArgs args)     
     at Telerik.Web.UI.PivotGridItem.FireCommandEvent(String commandName, Object commandArgument)     
     at Telerik.Web.UI.RadPivotGrid.HandleFireCommand(String commandName, String commandArgument)     
     at Telerik.Web.UI.RadPivotGrid.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)

Best Regards,
Diyan Penkov
Viktor Tachev
Telerik team
 answered on 29 Oct 2014
0 answers
156 views
I have a page like this example : http://www.telerik.com/support/code-library/drag-and-drop-between-radgrid-and-radtreeview

I want to show a confirm box when user drop an item from radgrid or radtreeview to radtreeview from code behind with event NodeDrop of treeview.

So i do as this example for implement Radconfirm : http://www.telerik.com/support/code-library/radconfirm-from-code-behind

But it not working, radconfirm not show, i try to move code lines: 

string radalertscript = "<script language='javascript'>function f(){callConfirm(); Sys.Application.remove_load(f);}; Sys.Application.add_load(f);</script>";       
Page.ClientScript.RegisterStartupScript(this.GetType(), "radalert", radalertscript);

from event NodeDrop to Page_Load. Radconfirm show on pageload.

How to make it show in event NodeDrop of treeview
Huy
Top achievements
Rank 1
 asked on 29 Oct 2014
2 answers
152 views
Hi, I'm using the following code to get the DataKeyValue of the edited row in the ServerValidate function. This is working well when editing a record. However, when creating a new record, item.GetDataKeyValue("ID") throws an argument out of range exception. Is there a way that I can test whether a DataKeyValue exists before making this call? Thanks.
protected void URLGrid_ServerValidate(object source, System.Web.UI.WebControls.ServerValidateEventArgs args)
   {
       CustomValidator val = (CustomValidator)source;
       GridDataItem item = (GridDataItem)val.NamingContainer;
           intwebsiteID = int.Parse(item.GetDataKeyValue("ID").ToString());
       if(!Website.URLIsUnique(websiteID, args.Value.Trim()))
       {
           args.IsValid = false;
       }
   }




Darrell
Top achievements
Rank 1
 answered on 28 Oct 2014
2 answers
131 views
I believe I have a CSS issue on my RadEditor for the Image and Document Manager.

Whenever I go to upload a file in Chrome/Firefox everything looks perfect. When I go to use Internet Explorer, the styling of the checkbox for overwriting data is really messed up.

Here is a picture of what it looks like in IE: http://i.imgur.com/QiyW6eP.png

As you can see, the checkbox somehow duplicates itself over and over and goes underneath the text of 'Overwrite if file exists?' It also doesn't allow you to check the original checkbox at all. Or at least, I can't tell if the checkbox actually works.

I was wondering if this is possibly just an IE issue or its something that I may have caused with background CSS?
Alexander
Top achievements
Rank 1
 answered on 28 Oct 2014
8 answers
212 views
I am trying to use the following:


<telerik:RadTextBox ID="PasswordInput1" runat="server" ValidationGroup="AccountCreate"
                Label="Enter password:"
                TextMode="Password" onkeyup="checkPasswordMatch()" Width="300" LabelWidth="150">
                <PasswordStrengthSettings ShowIndicator="true" TextStrengthDescriptions="Level1;Level2;Level3;Level4;Level5"
                    IndicatorElementBaseStyle="PasswordBase" TextStrengthDescriptionStyles="L0;L1;L2;L3;L4;L5"
                    IndicatorElementID="CustomIndicator"></PasswordStrengthSettings>
            </telerik:RadTextBox>

but the field is actually 50px, and not the 150px I am expecting.  I tried to change the overall Width to 400px instead of 300px and the field width is correct but my alignment is fouled up.

Any ideas?

Thanks, Marty


Maria Ilieva
Telerik team
 answered on 28 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?