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

Hi,

 Based on parent dropdowntree i have to bind child dropdowntree.

when i select --select-- in parent dropdowntree child should be blank.

 

i used

dd.DataSource=Nothing

dd.Databind()

but it not working

 

 

Ivan Danchev
Telerik team
 answered on 04 Apr 2016
2 answers
129 views

Hi

I have a RadGrid with grouping, and the expand / close the group with the icon on the left hand side. We have a request that the groups be expanded / closed from the cell that has the group header text, is this possible.

The action would have to toggle so it closes when open and opens when closed.

I have attached an image that shows our requirement.

Andy

Andy Green
Top achievements
Rank 2
 answered on 04 Apr 2016
2 answers
167 views

Hello, 

Sorry in advance for my English because I'm not the best.

I hope that you can help me, because I search since 3 days.

I would like use a custom datasource (Get by WCF, but the signature of the method isn't the same that for a databinding) that I initialise to start the web page.

And after , I would like use the datasource for a radgrid. The radgrid must filter to client side (Because the radgrid is in a modal Popup and if I interact with the server, the modal disappears)

I hope I have understood

 

thank you for taking time for myself

Adrien
Top achievements
Rank 1
 answered on 04 Apr 2016
6 answers
156 views
Any way to substitute drag&drop action for copy not to move?.
thanks
Vessy
Telerik team
 answered on 01 Apr 2016
1 answer
381 views

Hi,
I have a problem with resizing image editor control based on the given width and height. Also resize the control based on image size. Now it looks like by default it is taking some width and height and I can't resize it smaller than that default size.

 

Thanks

Sankar

Vessy
Telerik team
 answered on 01 Apr 2016
2 answers
97 views

Hi,

 

RadDropDownList does not show the list of items when EnableVirtualScrolling="true". For my data source I'm using ObjectDataSource. Radgrid is also bound to this data source.  I am working with UI for ASP.NET AJAX, v. 2014.3.1209.40

 

Any work around?  

 

<telerik:RadDropDownList  id="ddlBlockDeleteHigh" runat="server" DataValueField="CODE" DataTextField="CODE" DataSourceID="ObjectDataSource1"  EnableVirtualScrolling="true" DropDownHeight="200px" Width="100px" ></telerik:RadDropDownList>

 

and here's the code for Object Data Source:

 

<asp:ObjectDataSource id="ObjectDataSource1" runat="server" UpdateMethod="Update" TypeName="VUE.CouponOracleDataObject" SelectMethod="Select" OldValuesParameterFormatString="original_{0}" InsertMethod="Insert" DeleteMethod="Delete"></asp:ObjectDataSource>

Veselin Tsvetanov
Telerik team
 answered on 01 Apr 2016
3 answers
204 views

Hi collegues,

I would like to bind my inherited TreeView to a custom object list. 
It should automatically make the nodes based on parent-child relationships.

But at the databind (line 10.) I get a runtime error "Object of type TreeViewItem does not have a ParentId property.".
Which is a lie, as you can see :)

When i comment line 7. It also happens with the other properties(DataTextField and DataNavigateUrlField), but this is the first to run into.

Do you have any idea what is going wrong here?

Kind regards,

Bob Gladon

01.public class NavigateTreeView : RadTreeView
02.{
03.    protected void NavigateTreeView_Load(object sender, EventArgs e)
04.    {
05.       this.DataTextField = "Name";
06.       this.DataFieldID = "ItemId";
07.       this.DataFieldParentID = "ParentId";
08.       this.DataNavigateUrlField = "UrlPath";
09.       this.DataSource = GetTreeViewItems();
10.       DataBind();
11.    }
12.
13.    private List<TreeViewItems> GetTreeViewItems()
14.    {
15.        //Some implementation
16.    }
17.}
18.
19.public class TreeViewItem
20.{
21.    public TreeViewItemType Type;
22.    public int ParentId;
23.    public int? ItemId;
24.    public string Name;
25.    public string UrlPath;
26.}

Nencho
Telerik team
 answered on 01 Apr 2016
1 answer
92 views

Hello,

Using a radGrid, when I go into Add Mode programmatically, using "IsItemInserted = true" in PreRender, then call RadConfirm in the InsertCommand code, the confirm question pops up, but the page freezes.  I cannot answer "ok" or "cancel." The JavaScript is never invoked.  There is no way forward or backward, the page remains frozen on the popup question.

 

CODE IN PRERENDER:

protected void rgContract_PreRender(object sender, EventArgs e)
{
if (!Page.IsPostBack)
{

string addFlag = Request.QueryString["addmode"];
if (addFlag == "true")
{
rgContract.MasterTableView.IsItemInserted = true;
rgContract.Rebind();
}
else
{
Session["lastClientAdded"] = null;
}

}
}

 

CODE FROM INSERCOMMAND:

protected void rgContract_InsertCommand(object source, GridCommandEventArgs e)

{

                   windowManagerContract.RadConfirm("Would you like to set up a new Account for this Contract?", "confirmCallBackFn", 350, 200, null, "Please confirm");

}

 

Eyup
Telerik team
 answered on 01 Apr 2016
3 answers
392 views

Hi,

 I am using the telerik controls version: 2012.1.411.40  Runtime Version: v4.0.30319. I am laying out a very simple RadTextBox where TextMode="Multiline" as shown in the codes sample below. For some reason, only in IE 11, IE 10, and IE 9 (works in IE 8, Chrome and Firefox) the Wrap="True" is completely ignored. Instead IE is attaching a horizontal scroll bar every time. Any ideas how to correct this? I've attached some images of the rendering in IE 11. I've also attached the CSS code block in case the CSS is causing an issue, but I can't see how, it's very minimal.

 

CSS in case it helps 
.DetailsLabel {
    width:117px;
    display: inline-block;
}
.right-column-controls{
    width: 418px;
    display:inline-block;
    vertical-align:top;
}
.right-column-item {
    padding-top: 20px;
    width:400px;
}
<div class="right-column-item">
   <asp:Label ID="lblBoundaryDescriptionLabel" runat="server" CssClass="DetailsLabel">Boundary Description:</asp:Label>           <telerik:RadTextBox ID="rtxtBoundaryDescription"  TextMode="MultiLine" MaxLength="1000" Wrap="True" Columns="18" Rows="5" runat="server" Enabled="false" />
</div>

 

Maria Ilieva
Telerik team
 answered on 01 Apr 2016
18 answers
526 views
We are using 2012 Q3 SP2.  

The problem I am seeing is that a RadText box that is multiline and disabled displays the text on a single line  with a horizontal scrollbar in IE11.  Is this fixed in a later version of the Telerik Controls?  It does work correctly with IE9, showing several lines of text with no horizontal scrollbar.
Maria Ilieva
Telerik team
 answered on 01 Apr 2016
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?