Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
194 views
Hi folks, quick little problem

I have a two level tabstrip.  When I click on the tabitem that has the second level, the second level tabs do not show.
This ONLY occurs if the top level tab has navigateurl

Sample below.
How Do I get around this, so that the second level menu shows?


<telerik:RadTabStrip ID="RadTabStrip1" runat="server">

<Tabs>

<telerik:RadTab runat="server" Text="Root RadTab1" NavigateUrl="webform1.aspx" Selected="True">

<Tabs>

<telerik:RadTab runat="server" Text="Child RadTab 1">

</telerik:RadTab>

<telerik:RadTab runat="server" Text="Child RadTab 2">

</telerik:RadTab>

</Tabs>

</telerik:RadTab>

<telerik:RadTab runat="server" Text="Root RadTab2">

</telerik:RadTab>

<telerik:RadTab runat="server" Text="Root RadTab3">

</telerik:RadTab>

</Tabs>

</telerik:RadTabStrip>

shruthi
Top achievements
Rank 1
 answered on 10 Aug 2011
4 answers
192 views
I'm trying to pull the data from the Id column of the selected row within the update command as follows 
Protected Sub radgrid_Update(ByVal sender As Object, ByVal e As GridCommandEventArgs) Handles radgrid.UpdateCommand
 
        Dim selectedRow As GridEditFormItem = DirectCast(e.Item, GridEditFormItem)
        Dim rowNo As Integer = selectedRow.ItemIndex
        Dim id As String = selectedRow.Item("id").Text
 
 
       
    End Sub

This allows me to get the row index but not the data within the id column.

Any suggestions are greatly appreciated.

Thanks.

Princy
Top achievements
Rank 2
 answered on 10 Aug 2011
5 answers
145 views
I've been working through getting RadFilter to work with our datasource class, derived from EntityDataSource. The RadFilter throws a null ref on apply:

[NullReferenceException: Object reference not set to an instance of an object.]
   Telerik.Web.UI.RadFilter.ApplyFilterExpressonsOnDataSource() +157
   Telerik.Web.UI.RadFilter.HandleApplyCommand() +218
   Telerik.Web.UI.RadFilterCommandEventArgsFactory.HandleCommand(RadFilter ownerFilter, Object commandSource, RadFilterCommandEventArgs args) +74
   Telerik.Web.UI.RadFilter.OnBubbleEvent(Object source, EventArgs args) +319
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
   System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +125
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +167
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563

After working through all our modifications to try and figure out what was causing this by process of elimination I was disappointed to find that the RadFilter simply throws it on ANY derived DataSource. All you need to do is create an empty class which extends EntityDataSource, point a RadFilter at it, and it fails to apply with the above exception.

Is there a way to work around this?
Veli
Telerik team
 answered on 10 Aug 2011
1 answer
439 views
Hello!

I want to build a RadListBox with loadOnDemand functionality. A requirement is that the scrollbar should be on the correct position, so in a box of 20k items, when scrolling to number 10k the scrollbar should be halfway. The dataset is available in the code-behind. So far so good.

The thing is, I need to be able to do a search its items. The search should be fired to the server, where I can determine the current position or page of the listbox by doing a search on my dataset.
For example in a separate textbox (or preferrably in some built in popup in the listbox) I want to do a search with text '200'. What should happen is the following; the listbox should load the first page with the first item beginning with '200'. The scrollbar of the listbox should still represent the current position of the total of records.

Can you give me any directions how to implement this?

Greetings,

Hoekstra
Peter Filipov
Telerik team
 answered on 10 Aug 2011
1 answer
174 views
Hello, 


We using the new control MonthYearPicker but it there is a small issue when we set the mindate and maxdate.  For example if mindate is 01-Apr-2010 and maxdate is  01-Sep-2010. 

Setting that up we see that years marked as gray which are disabled. But on the left side the months (jan,feb,mar etc.) are not disabled and are not gray.

Thanks a lot. 
Princy
Top achievements
Rank 2
 answered on 10 Aug 2011
1 answer
184 views
Hi, i need to know if there is a way to simply build a radtreeview using HierarchyID type in 2011?

Later, i will need to create an interface where i can modify the radtreeview selecting a node and moving him with some buttons. (Reparent, adding a node, deleting a node...)

Is the radtreeview is a good way to implement what i need?

TY
Shinu
Top achievements
Rank 2
 answered on 10 Aug 2011
3 answers
125 views
Hello,

The page size selector drop down in the grid I would like to turn off.  What setting does that?  I'm explicitly setting the page size to 25, and don't really care to give the user options...

Thanks.
Shinu
Top achievements
Rank 2
 answered on 10 Aug 2011
1 answer
64 views
Hi,
I have enabled  custom filtering in grid . I am filtering more than one column . for example id , name . So on doing filtering by enabling on both the columns , it  filters based on both the columns but I need to filter based on each column. Please let me on how to achive it.
Princy
Top achievements
Rank 2
 answered on 10 Aug 2011
6 answers
312 views

I use C # with Visual Studio 2010.
I use an class Order and I have a property <OrderDetail> List. And I would use a grid to binding my class and to use the hierarchy to display also OrderDetail. But I do not know how. Can you explain to me?


Here are my classes simplified
public class Order
{
    public Order()
    {
    }
  
    public int Id {get;set;}
    public List<OrderDetail> ListOrderDetail {get;set;}
}
public class OrderDetail
{
    public OrderDetail()
    {
    }
    public string Article{get;set;}
    public int Qte {get;set;}
    public double Price {get;set;}
    public double PriceHT {get {return Qte*Price;}}
}

Thank you in advance
Veli
Telerik team
 answered on 10 Aug 2011
1 answer
136 views
Hi Telerik can you guide me how to use new Metro Skin in SkinManager? I want to show Metro skin in drop downlist, I am using all skin which randomly applied from all of skins while user page load and i want to do same for metro skin also.


Kind Regards:
Maria Ilieva
Telerik team
 answered on 10 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?