Showing posts with label manager. Show all posts
Showing posts with label manager. Show all posts

Wednesday, March 28, 2012

control cannot be created because visual studio cannot find the controls type in the contr

Just installed Ajax extensions and ajax control toolkit for Vs2005.All fine.

I can drag drop update panel or script manager.

But if I do so with ajax toolkit controls I get a a error as : "control cannot be created because visual studio cannot find the control's type in the control assembly".

I have downloaded and worked with the toolkit at my home comp and it works all fine. But here at my work its giving me this problem.

I googled up to see any solutions but dint find much help!!

So any help with this would be appreciated!! Thanks!!


Hey guys!!

Anyone for the solution??


Did you remember to register it in the GAC? On your work PC, it may not have done that automagically.


Hey thanks for that.

It did work out.

Strange I have added toolkit on couple of PC's and never saw this error.

Just added the Dll to Gac and the problem is solved on my box.

Thanks.

Content Page Problem

Hi;

I have a masterpage with a script manager and a collapse panel.

It works fine but the Content page I created containing an update panel for a grid just ignores the atlas updatepanel.

If I remove the association with the master page and add a script manger the updatepanel works fine.

I can't seem to find the problem, can anyone give me some guidance on this problem?

Thanks

Without much to go on, I'd guess that you might need to use aScriptManagerProxy.


I tried a script manager proxy it didn't help, but I was unsure of what needed to be set also I am only using the basic implementation of the updatepanel and not using any additional scripts. It seems that the master isn't communicating properly with the content page.

Here is the part of the master with the scriptmanager:

<%@.MasterLanguage="VB"CodeFile="HypnosMasterPage.master.vb"Inherits="HypnosMasterPage" %>

<%@.RegisterAssembly="AtlasControlToolkit"Namespace="AtlasControlToolkit"TagPrefix="cc1" %>

<!DOCTYPEhtmlPUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<htmlxmlns="http://www.w3.org/1999/xhtml">

<headrunat="server">

<title>Untitled Page</title>

<atlas:ScriptManagerID="ScriptManager1"runat="server"></atlas:ScriptManager>

</head>

<body>

<formid="form1"runat="server">

Here is the pertinent part of contentpage: Also it is in a subfolder one level below the location of the master page

<%@.PageLanguage="VB"MasterPageFile="~/HypnosMasterPage.master"AutoEventWireup="false"CodeFile="UserLookup.aspx.cs"Inherits="UserLookup"Title="UserLookup" %>

<%@.RegisterAssembly="AtlasControlToolkit"Namespace="AtlasControlToolkit"TagPrefix="atlasToolkit" %>

<asp:ContentID="Content1"ContentPlaceHolderID="ContentPlaceHolder1"Runat="Server">

<atlas:UpdatePanelID="UpdatePanel1"runat="server"Mode="Conditional">

<ContentTemplate>

<asp:GridViewrunat="server"ID="grid"></asp:GridView>

</ContentTemplate>

<Triggers>

<atlas:ControlEventTriggerControlID="btnGo"EventName="Click"/>

<atlas:ControlEventTriggerControlID="txtPatientSearch"EventName="TextChanged"/>

</Triggers>

</atlas:UpdatePanel>

Any thoughts?

Len


When I looked at the html again I found my own problem missing enable attribute, sorry to take up your time thanks for the tips.

Len