This question is locked. New answers and comments are not allowed.
Hi,
Sorry to double post, but this might need to be in another post.
Refering to this post Tabstrp Visible property conflicting with selectedindex , I was given a method for a fix.
The instructions make me think that a NavigationItemContainerExtensions.cs: Program exist somewhere to apply this method ...
just not sure where this .cs exists so I can add the above code ?
I looked in the telerik web.mvc.dll and saw the extensions namespace, but did not see the NavigationItemContainerExtensions.cs: ? .
should i create an extensions folder and then create this class and add the methods ?
thanks for your time again.
Sorry to double post, but this might need to be in another post.
Refering to this post Tabstrp Visible property conflicting with selectedindex , I was given a method for a fix.
The instructions make me think that a NavigationItemContainerExtensions.cs: Program exist somewhere to apply this method ...
| public static string GetItemContentId<TComponent, TItem>(this TComponent component, TItem item) |
| where TComponent : ViewComponentBase, INavigationItemContainer<TItem> |
| where TItem : NavigationItem<TItem>, IContentContainer |
| { |
| return item.ContentHtmlAttributes.ContainsKey("id") ? |
| "{0}".FormatWith(item.ContentHtmlAttributes["id"].ToString()) : |
| "#{0}-{1}".FormatWith(component.Id, (component.Items.Where(i => i.Visible == true).IndexOf(item) + 1).ToString(Culture.Invariant)); |
| } |
I looked in the telerik web.mvc.dll and saw the extensions namespace, but did not see the NavigationItemContainerExtensions.cs: ? .
should i create an extensions folder and then create this class and add the methods ?
thanks for your time again.