Showing posts with label rendering. Show all posts
Showing posts with label rendering. Show all posts

Monday, March 26, 2012

Tab Control is rendering very very slow on page

Hi,

I have added a tab control with 5 tabs on the page. But after that now page is taking very very long time to load in browser.

All of the pages where I have added Tab control are loading very slow !!

Is there any way to get rid of this ?

Regards,

Naimish Dave

Same problem here. Apparently, it's because of IE's slow javascript parser.

http://www.codeplex.com/AtlasControlToolkit/WorkItem/View.aspx?WorkItemId=9955

Saturday, March 24, 2012

TabContainer and TabPanel - Error Rendering Control, An unhandled exception has occurred.

I get this error in the designer when I place either TabContainer or TabPanel on any page in my project. I also get it if I look at the Tabs.aspx page in the toolkit sample website that comes with the source code. This has been happening for a while now and is rather anoying.

Anyone else get this error in the designer?

I only get it on the TabPanel
No resolution found yet


Are you saying that if you open Tabs.aspx from the SampleWebsite in the designer you get this error? Or when you run the page?

In either case, I don't see the problem. More info might help narrow it down.


Yes you do get this error if you have no ScriptManager control on your page. I assume you did the obvious and add one. Otherwise you've got an installation problem, because it works for me.

As of the Latest Release 23/01/2007 the errors are gone.Smile


I'm looking at putting together a bit of a better designer for tabs hopefully for the next release.

Thank you for your time. I look forward to the next release.


Currently, I'm experiencing the same error with the latest release.

Have you tried the following:

Make sure there is a ScriptManager as the top most component of the page or if you have a ScriptManager on a MasterPage then make sure it is before your Content areas.

Have you tried the following:

Make sure there is a ScriptManager as the top most component of the page or if you have a ScriptManager on a MasterPage then make sure it is before your Content areas.

Have you tried the following:

Make sure there is a ScriptManager as the top most component of the page or if you have a ScriptManager on a MasterPage then make sure it is before your Content areas.

Have you tried the following:

Make sure there is a ScriptManager as the top most component of the page or if you have a ScriptManager on a MasterPage then make sure it is before your Content areas.
I am also haveing the same issue. I started a new AJAX Website from the template provided and when I drag a tab panel onto the page I get the above error. I don't have an old version since I just downloaded it today.

Did anyone figure out the solution to this? I too downloaded a new version, only this tool is still giving me a problem by not working at all.

Wednesday, March 21, 2012

TabContainer Causes An Error When Rendering

I have been using theTabContainer for the past several months and like the way it works. After upgrading to the most recent version of the toolkit I now get an error when rendering any page that has a TabContainer. I updated the DLL's in my bin folder. The toolkit sample website works ok.

I tested with a page that has no other TabContainers, just the segment shown below and continue to get the error.

<ajaxToolkit:TabContainerID="TabContainer1"runat="server">

<ajaxToolkit:TabPanelID="TabPanel1"runat="server">

<ContentTemplate>

</ContentTemplate>

</ajaxToolkit:TabPanel>

</ajaxToolkit:TabContainer>

Is ther something I need to do to the web.config file 0r is there some other issue?

Error...

{"The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)."}

The error occures in ScriptObjectBuilder at the hightlighted line shown below...

public

staticvoid RegisterCssReferences(Control control)
{
foreach (string styleSheetin ScriptObjectBuilder.GetCssReferences(control))
{
// Add the link to the page header instead of inside the body which is not xhtml compliant
HtmlLink link =new HtmlLink();
link.Href = styleSheet;
link.Attributes.Add("type","text/css");
link.Attributes.Add("rel","stylesheet");
control.Page.Header.Controls.Add(link);
}
}

This has been resolved... please follow this link for the answer...

http://forums.asp.net/thread/1617139.aspx


I have a Web Application where I want to use a TabContainer but when I load page it the control it is not loaded.
I should carry out a postbak in it page it and it is loaded somebody knows like I can solve it.