Showing posts with label vs2005. Show all posts
Showing posts with label vs2005. Show all posts

Wednesday, March 28, 2012

Extender "Tasks" popup in VS2005

Hello,

the latest update for the controlkit shows a "Tasks" popup for many extenders in VS2005. For example the NumericUpDownExtender shows "Add GetNet NumericUpDown page method" in that popup.

When i select such an item i get a message that no codefile can befound and no method is added.

Is that a known problem, is my installation broken or is that not supposed to add a method to my current code behind? (maybe i need to setup a webservice to place the method there?)

Thanks in advance,

Ralf

Does your .ASPX page have a corresponding .ASPX.CS file associated with it? That's the default, but if you changed it, then that could be causing this problem, perhaps. Mind trying it on a new page that has a code-behind file to check?


Right - if you don't have a code behind file, that message is by design. Unfortunately there wasn't a good way to determine if the codebehind file is present without actually trying to show it.


My page has a codebehind file but ist is not aspx.cs, it is aspx.vb cause i am using VB at the moment. Could that be the cause? I have never tried it with a C# file.


No, it doesn't have to be c#.

Only requirement is that the code is in a separated code file(.cs or .vb).


That is strange. On the comuter at home i have the same effect. Maybe i will try to re-install the toolkit. Or do you have another idea what could cause that?


An additional info: That message is generated at two positions in the extenders source with the same message. I have modified those messages to see where the error is generated: It is generated when the variable "fileCodeModel" should be assigned. In my case this variable is "null" so the message is shown.

Saturday, March 24, 2012

Exception with Asp.net Ajax 1.0 beta 2 + VS.net

Hi,

I have installed Asp.net Ajax 1.0 beta 2.0 on VS 2005. but whenever I create any new website using asp.net template, VS2005 is throwing following exception. I tried to installed couple of times but everytime VS.net is throwing same exception

"Package Microsoft.Web.AJAXExtension.Designer.VisualStudioToolbox.AJAXExtension,Version=1.0.61025.0,Culture=neutral, PublicKeyToken=null' has failed to load properly (GUID = {CF28F3C7-5DEE-44D1-9B49-E6EB5FD0E186})"

Thanks

The problem is in the?"PublicKeyToken=null".Try?to uninstall?Ajax?Beta?2?and?create?a?new?asp.net?website?to?
check?if?it?works. If?not, maybe?the?problem?is?in?Visual?Studio?.Net?2005. Otherwise?try?to?reboot?your?PC?and?re-install?Ajax?Beta?2?to?your?PC.?Please?give?us?a?reply?after?you?try?it.

Hi ,

Thanks for information. I found some problem in machine.config. after re-installed vs.net 2005, it is workign fine.

Thanks.