HI Iam trying to replace ASP.NET classic control webpanel (V10) with webexplorerbar. (v 12)
Doing so iam trying to edit the changes in markup file. But for ther header section which was previously used in webpanel Iam getting warnings in webexplorerbar as follows
Warning 12 Validation (XHTML 1.0 Transitional): Element 'header' is not supported.
similarly i get warnings for other elements as well like templates
Please suggest me how can i rectify it..Below is the snippet of .ascx file
<igmisc:WebExplorerBar ID="wpLeftLinksPanel" runat="server" CssClass="wp_linkPanelOuter" StyleSetName=""> <Groups> <Header Text="Last Viewed Panel" ExpandedAppearance-Styles-CssClass="wp_linkPanelHeaderExpanded" CollapsedAppearance-Styles-CssClass="wp_linkPanelHeaderCollapsed" HoverAppearance-Styles-CssClass="wp_linkPanelHeaderHover">
Hello sandy_joggy,
Upgrading from the WebPanel to the WebExplorerBar isn’t a direct copy an replace as they are different controls and have different properties. Here is an example WebExplorerBar:
<ig:WebExplorerBar ID="WebExplorerBar1" runat="server" GroupContentsHeight="" Width="250px"> <Groups> <ig:ExplorerBarGroup GroupContentsHeight="" Text="Group"> <Items> <ig:ExplorerBarItem Text="Item"> </ig:ExplorerBarItem> <ig:ExplorerBarItem Text="Item"> </ig:ExplorerBarItem> </Items> </ig:ExplorerBarGroup> <ig:ExplorerBarGroup GroupContentsHeight="" Text="Group"> <Items> <ig:ExplorerBarItem Text="Item"> </ig:ExplorerBarItem> <ig:ExplorerBarItem Text="Item"> </ig:ExplorerBarItem> </Items> </ig:ExplorerBarGroup> </Groups> </ig:WebExplorerBar>
I recommend you see the following sample and documentation:
http://samples.infragistics.com/aspnet/Samples/WebExplorerBar/Navigation/KeyboardNavigation/Default.aspx?cn=explorer-bar&sid=76b75ff7-f08e-4010-b184-995c022408d4
http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=Web_WebExplorerBar.html
http://help.infragistics.com/NetAdvantage/ASPNET/2012.1/CLR4.0/?page=WebExplorerBar_Getting_Started_with_WebExplorerBar.html
Please let me know if you have any questions concerning this matter.
Sincerely,Mike P.Developer Support EngineerInfragistics, Inc.www.infragistics.com
Thanks for the reply Mike.
Ok so you mean it would be as good as writing from sratch right?
And also there are few other controls which we use in our projects.
Infragistics35.WebUI.UltraWebGrid.ExcelExport.v10.2.dllInfragistics35.WebUI.UltraWebGrid.v10.2.dllInfragistics35.WebUI.UltraWebNavigator.v10.2.dllInfragistics35.WebUI.UltraWebTab.v10.2.dllInfragistics35.WebUI.WebDateChooser.v10.2.dll
All above are retired controls.
So for these above controls as well would we require placing new controls from scratch?
Regards,
Suraj
Hello Suraj
I am following up to see if the information and sample provided have resolved this matter.
Please let me know if I may be of further assistance with this matter.
Hello Suraj,
Thank you for the update. I have created a small sample that demonstrated the WebExplorerBar. The sample uses v11.1 so I can also include a WebPanel on the page as well. I believe you will want to use the ExplorerBarGroup instead of the header when upgrading. Please note I removed the ig_res folder for size to be able to attach the sample to the forum.
Please see the following blog for further information about updating to the ASP.NET AJAX controls. This has a list of which controls were retired and what they were replaced with.
http://forums.infragistics.com/blogs/taz_abdeali/archive/2011/11/17/asp-net-product-changes-in-2011-volume-2.aspx
If you have access to NetAdvantage 2011 Volume 1 I recommend using that for your upgrade process as it is the last/latest version with both the ASP.NET classic controls and ASP.NET AJAX controls
Hi Mike
Can you please let me know how would we represent header (used in webpanel) in webexlorerbar.
We are in process of upgrading the older controls.
Please do let us know
Regards