Groups | Blog | Home
all groups > c# > november 2006 >

c# : Learning & a little confused.


Peter Bromberg [C# MVP]
11/7/2006 6:32:01 PM
GW,
this is not a C# language group question. Try posting it at the ASP.NET group:

http://msdn.microsoft.com/newsgroups/default.aspx?pg=1&guid=&sloc=en-us&dg=microsoft.public.dotnet.framework.aspnet&fltr=
Peter
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




[quoted text, click to view]
GW
11/7/2006 10:41:42 PM
Hello,

I started to study c# .net today, coming from a background of classic ASP
VBScript.
I am having an issue with one of my beginner projects, a real simple one
too.

I have three files:

index.aspx
formControl.ascx - has a form with a few fields
captureData.cs - this file contains the logic which stores the form data in
a database

Before I used the ASCX file to hide the form layout code behind the scenes,
all worked fine. However, as soon as I moved the form to the ASCX file, my
application was not able to access the onClick behaviour, the exact error:

Compiler Error Message:
BC30456: 'Button_Click' is not a member of 'ASP.formControl_ascx'.

I am not using VS.net and I am not compiling the code, just notepad at the
moment. I want to try and use the ASCX file as this form will be shared
across multiple places, and having one piece of code to deal with is much
easier.

Thanks in advance for any help or guidance offered.

Gary.

Bob Jones
11/7/2006 10:55:16 PM
On 2006-11-07 16:41:42 -0600, "GW" <gw@gw.vom> said:

[quoted text, click to view]

GW
11/8/2006 12:00:00 AM

[quoted text, click to view]


No worries, apologies.
Does this group deal mainly with non web related c# programming?

Gary.

Peter Bromberg [C# MVP]
11/8/2006 6:10:02 AM
The ASP.NET group deals with ASP.NET issues regardless of programming
language choice. This group is c# language specific.
--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com




[quoted text, click to view]
AddThis Social Bookmark Button