Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
Hi!



I'm running the latest version of RadTreeView and think I have found a bug.

I have a treeview Control where users can use the arrow keys to change node and to select nodes.

The user holds down the SHIFT key while pushing the Arrow Down key to select multiple nodes.

This works fine but..



If the user holds down the SHIFT key and presses the Arrow Up key, only two nodes can be selected and then the selection stops.



Is there a workaround for this?



Regards

Per
Shinu
Top achievements
Rank 2
 answered on 23 Jan 2014
3 answers
121 views
upload a pdf or doc file to document manager (that i dont sse any upload option like image manager!) and make a download button with the embbed link
Ianko
Telerik team
 answered on 23 Jan 2014
7 answers
558 views
Hi,

Anyone have any idea to retain the focus on the column header itself after sorting the column by pressing enter key in the column header.

1. Tab to grid and select one column by pressing tab key itself.
2. Press enter will sort the column
3. After the sort done, focus has to retain on the sorted column.

any help is appreciated.

Thanks
Rajeev
 
Viktor Tachev
Telerik team
 answered on 23 Jan 2014
1 answer
93 views
Hi,
I am using Telerik.Web.UI version 2012.1.501.40
And i am trying to use <ColumnGroups>
                              </ColumnGroups> 

But i am getting following error
Type 'Telerik.Web.UI.GridTableView' does not have a public property named 'ColumnGroups'
am i missing Anything?
Shinu
Top achievements
Rank 2
 answered on 23 Jan 2014
3 answers
77 views
Hello,

On my Website i have two RadGrids. One for Servers and one for Products. 
The ServerGrid got Columns like:
ID (PK)
CustomerID(FK)
Name
Location
IP
...

The ProductsGrid got Columns like:
ID (PK)
CustomerID(FK)
Name
Version
Server (based on the Column IP from ServerGrid)
...

Each Customer can have multiple Servers and Products. So when the Customer have 4 Servers and want to insert a new Product with "Add new Record" i have a FormTemplate with an DropDownList. All avaiable Servers(IP) for the customer are shown in this List. I fill this List in the ItemDatabound Event from the ProductsGrid:

if (e.Item is GridEditFormInsertItem && e.Item.OwnerTableView.IsItemInserted)
  {
    GridEditableItem item = e.Item as GridEditableItem;
    DropDownList ServerDDL = (DropDownList)item.FindControl("ddlServer");
    // Code to filter and get all ServerIP avaible for this Customer
    ServerDDL.Item.Add(Item);
  }


Code from the DropDownList in the FormTemplate:
<td>
  <asp:DropDownList ID="ddlServer" runat="server" SelectedValue='<%# Bind("Server") %>' TabIndex="5"   AppendDataBoundItems="True">
    <asp:ListItem Selected="True" Text="Select" Value="">
    </asp:ListItem>
  </asp:DropDownList>
</td>

This works perfekt for inserting a new Product. But when i want to Edit an Product i can“t fill the DropDownList with the required Items before the SelectedValue are set wich cause an RunTimeError in JavaScript saying that the DropDownList got an invalid SelectedValue because it is not avaible in the ElementList.

So my question is, how can i set the Items for this DropdownList before the Grid want to set the SelectedValue?

Kind regards
Lukas
Princy
Top achievements
Rank 2
 answered on 23 Jan 2014
1 answer
189 views
Is it possible to save the last selection of a radcombobox into a session , so when the user comes back to this page that the radcombobox is "pre selected" ? 

What I'm dooing now is this : 
protected void Page_Load(object sender, EventArgs e)
{
if (!this.Page.IsPostBack)
{
this.parameterBuId = this.Request["buId"];
 
 
if (string.IsNullOrEmpty(parameterBuId))
  {
 parameterBuId = Session["BusinessUnnitId"].ToString();
   }
   this.LoadBU(parameterBuId);
  this.UserGrid.DataBind();
}
protected void LoadBU(string buId)
{
    IEnumerable<HtBusinessUnit> businessUnits = null;
    businessUnits = HtBusinessUnit.GetAll();
    this.rcbBusinessUnits.DataTextField = "Name";
    this.rcbBusinessUnits.DataValueField = "BusinessUnitId";
    this.rcbBusinessUnits.DataSource = businessUnits;
    this.rcbBusinessUnits.DataBind();
    this.rcbBusinessUnits.Items.Insert(0, new RadComboBoxItem("-BU-"));
     
    if (buId != null && buId != "")
    {
        int index = this.rcbBusinessUnits.Items.IndexOf(this.rcbBusinessUnits.Items.Where(i => i.Value == buId).SingleOrDefault());
        this.rcbBusinessUnits.Items[index].Selected = true;
        this.selectedBu = businessUnits.Where(i => i.BusinessUnitId == int.Parse(buId)).SingleOrDefault();
     
        this.LoadDE(this.parameterDepId);
    }
}


Tanks for help and fast answer

Jayesh Goyani
Top achievements
Rank 2
 answered on 23 Jan 2014
1 answer
261 views
I want Root node , child node only  selected value's individual [ with out array format & check box] of Rad drop down tree  server said code
pleas help me...



Princy
Top achievements
Rank 2
 answered on 23 Jan 2014
4 answers
68 views
I modified a built-in skin. It works fine for other pager styles except GridPagerMode.Slider.  The slider doesn't show. I copied the slider images into my application.  But it didn't fix the problem.  Are there any special settings to use slider mode with custom skin?
Cesar
Top achievements
Rank 2
 answered on 22 Jan 2014
1 answer
70 views
Hello,
I m trying to filter the grid using
http://demos.telerik.com/aspnet-ajax/grid/examples/overview/defaultvb.aspx

but I m not able to get the grid to show the filtered list. I have followed the example all.
Only difference in code is that my combo box is using sqldatasource instead LinqDatasource.
Any suggestions?
Saqib
Top achievements
Rank 1
 answered on 22 Jan 2014
2 answers
167 views
How to clear RadTimePicker's value on submit of a button?
I am able to clear the RadDatePicker value by RadDatePicker.SelectedDate=null; But it doesnt work with timepicker. I tried all the below ones. None of them work.
RadTimePicker1.clear();
RadTimePicker1.DateInput.Clear();
RadTimePicker1.SelectedDate.Value =null;

Thanks

vvvv
Top achievements
Rank 1
 answered on 22 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?