Last post Dec 08, 2005 08:15 AM by matchbx27
Dec 06, 2005 09:24 AM|zzz|LINK
I m using vs.net 2003. I have used tabstrip on the webform and want to work on selectedindexchange in codebehind file. but code behind file does not know about tabstrip used on form. how to tell it about code behind....HELP
Dec 06, 2005 01:29 PM|matchbx27|LINK
If I remember correctly the TabStrip control does not autamaticly register itself on the code behind when you create it on the .aspx page.
If you declare the control (with the same name you used on the front end), in the code behind.
Protected Withevents TabStrip1 as Microsoft.Web.UI.WebControls.TabStrip
It should work.
Dec 06, 2005 10:11 PM|zzz|LINK
can u convert it to c# pleeease......
I tried 'protected Microsoft.Web.UI.WebControls.Tabstrip tabstrip1;' but its not working. It is saying .....
' The type or namespace name 'Web' does not exist in the class or namespace 'Microsoft' (are you missing an assembly reference?)...'
I have also given....'using Microsoft.Web.UI.WebControls;'...still not working , now it is giving above error twice........
Dec 08, 2005 08:15 AM|matchbx27|LINK
You also have to import or reference the webcontrol.dll
I'm not sure what the C# code would be.