C1 Community
ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

ajax tabcontrol in websplitter

rated by 0 users
This post has 2 Replies | 1 Follower

Top 100 Contributor
Posts 50
lenchase Posted: Fri, Dec 28 2007 10:10 AM

HI: 

I am trying to use the ms ajax tab control in a websplitter.

the page has a script manager just below th form tag

and an update panel just after that it enclosed the entire page for now.

The web splitter has a treeview  in the first panel and I tried to place a tab control, then tab panels inside the second panel.

When I add a tab panel  I get an error message that tells me I need a script manager on the page which of course I already have.

Can anyone tell me how to get this to work I need to present a lot of  databound info on a single page so I thought the tab panel would work well.

 I moved the script manager into the header and now I get :

Error 105 TabContainer1:Cannot create an object of type 'AjaxControlToolkit.TabPanel' from its string representation '' for the 'ActiveTab' property. C:\Inetpub\wwwroot\EbedCaseMgt\CasePages\CurrentCase.aspx C:\...\EbedCaseMgt\

If I create this outside the websplitter, the tab panels work.

As far as I can tell the C1 tab control only works for navigation?

Thanks

Len

 

Thanks

Len

Top 10 Contributor
Posts 1,237
I am not able to replicate the issue. Please find the sample which is working fine. Please clarify if i am wrong and attach a small repro sample.
 
Regards,
Patrick
<lenchase> wrote in message news:200708@10.0.1.98...

HI: 

I am trying to use the ms ajax tab control in a websplitter.

the page has a script manager just below th form tag

and an update panel just after that it enclosed the entire page for now.

The web splitter has a treeview  in the first panel and I tried to place a tab control, then tab panels inside the second panel.

When I add a tab panel  I get an error message that tells me I need a script manager on the page which of course I already have.

Can anyone tell me how to get this to work I need to present a lot of  databound info on a single page so I thought the tab panel would work well.

 I moved the script manager into the header and now I get :

Error 105 TabContainer1:Cannot create an object of type 'AjaxControlToolkit.TabPanel' from its string representation '' for the 'ActiveTab' property. C:\Inetpub\wwwroot\EbedCaseMgt\CasePages\CurrentCase.aspx C:\...\EbedCaseMgt\

If I create this outside the websplitter, the tab panels work.

As far as I can tell the C1 tab control only works for navigation?

Thanks

Len

 

Thanks

Len



http://helpcentral.componentone.com/cs/forums/p/73899/200708.aspx#200708

Top 100 Contributor
Posts 50

Patrick:

Thanks I got it to work after modifying my ajax by removing visual studio 2008 and going back to 2005.

I also had to remove the code  below from default.aspx. It is handled in the web.config in my environment. Notice the different versions

Are you running VS2008 if so do you run VS2005 on the same machine?

<%@ Register Assembly="System.Web.Extensions, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"

Namespace="System.Web.UI" TagPrefix="asp" %>

from my web config

<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>

 

Thanks for your help!

Len

Page 1 of 1 (3 items) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.