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.
No comments:
Post a Comment