Click here to Skip to main content
15,905,967 members
Home / Discussions / C#
   

C#

 
GeneralRe: Startup Switch Options ... Pin
Heath Stewart8-Jan-04 11:34
protectorHeath Stewart8-Jan-04 11:34 
GeneralWriting CD/DVD Pin
Christian Graus8-Jan-04 9:37
protectorChristian Graus8-Jan-04 9:37 
GeneralRe: Writing CD/DVD Pin
Mazdak8-Jan-04 9:55
Mazdak8-Jan-04 9:55 
GeneralRe: Writing CD/DVD Pin
Christian Graus8-Jan-04 9:59
protectorChristian Graus8-Jan-04 9:59 
GeneralRe: Writing CD/DVD Pin
Kentamanos8-Jan-04 10:25
Kentamanos8-Jan-04 10:25 
GeneralRe: Writing CD/DVD Pin
Kentamanos8-Jan-04 16:51
Kentamanos8-Jan-04 16:51 
GeneralRe: Writing CD/DVD Pin
Christian Graus8-Jan-04 17:08
protectorChristian Graus8-Jan-04 17:08 
GeneralRe: Writing CD/DVD Pin
leppie8-Jan-04 10:21
leppie8-Jan-04 10:21 
GeneralRe: Writing CD/DVD Pin
Christian Graus8-Jan-04 10:36
protectorChristian Graus8-Jan-04 10:36 
Generalprinting custom page sizes Pin
lostegg8-Jan-04 9:06
susslostegg8-Jan-04 9:06 
GeneralRe: printing custom page sizes Pin
Heath Stewart8-Jan-04 11:30
protectorHeath Stewart8-Jan-04 11:30 
GeneralNull error when adding custom control Pin
KingTermite8-Jan-04 8:39
KingTermite8-Jan-04 8:39 
GeneralRe: Null error when adding custom control Pin
Christian Graus8-Jan-04 8:52
protectorChristian Graus8-Jan-04 8:52 
GeneralRe: Null error when adding custom control Pin
KingTermite8-Jan-04 9:00
KingTermite8-Jan-04 9:00 
GeneralRe: Null error when adding custom control Pin
Christian Graus8-Jan-04 9:06
protectorChristian Graus8-Jan-04 9:06 
GeneralRe: Null error when adding custom control Pin
KingTermite8-Jan-04 9:18
KingTermite8-Jan-04 9:18 
GeneralRe: Null error when adding custom control Pin
Kentamanos8-Jan-04 9:19
Kentamanos8-Jan-04 9:19 
GeneralRe: Null error when adding custom control Pin
Christian Graus8-Jan-04 9:29
protectorChristian Graus8-Jan-04 9:29 
KingTermite wrote:
Now....what HTML are you talking about?

Any aspx page is has a .aspx file and a .cs file. The cs file is your code behind, the aspx file is your page, containing all your HTML, including the asp: tags that denote controls. When you're in the form designer, at the bottom of the page is a 'html' tab, if you click on it, you can hand edit the files. This is definately the way to go, and you should set up your preferences to always go here instead of the designer, for the reasons I mentioned.

And if it were me, I'd create a new control in a project, then copy and paste the html and C# code into it, then change the namespace of the class to match the project, and try to use the control in a page. Unless it's a server control, that's just a cs file, but I'd do the same with that. Not least is the fact that you could then set break points and step through the constructors, etc. to figure out what is going wrong.


Christian

I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
GeneralRe: Null error when adding custom control Pin
KingTermite8-Jan-04 9:50
KingTermite8-Jan-04 9:50 
GeneralRe: Null error when adding custom control Pin
Christian Graus8-Jan-04 9:52
protectorChristian Graus8-Jan-04 9:52 
GeneralRe: Null error when adding custom control Pin
KingTermite8-Jan-04 10:49
KingTermite8-Jan-04 10:49 
QuestionHow to use PING utility in my program Pin
HAHAHA_NEXT8-Jan-04 8:34
HAHAHA_NEXT8-Jan-04 8:34 
AnswerRe: How to use PING utility in my program Pin
Kentamanos8-Jan-04 9:18
Kentamanos8-Jan-04 9:18 
GeneralGDI grab handles and mouse move Pin
Miles Roberts8-Jan-04 7:10
Miles Roberts8-Jan-04 7:10 
GeneralRe: GDI grab handles and mouse move Pin
Heath Stewart8-Jan-04 7:36
protectorHeath Stewart8-Jan-04 7:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.