Click here to Skip to main content
15,512,747 members
Home / Discussions / C#
   

C#

 
GeneralRe: printing custom page sizes Pin
Heath Stewart8-Jan-04 12:30
protectorHeath Stewart8-Jan-04 12:30 
GeneralNull error when adding custom control Pin
KingTermite8-Jan-04 9:39
KingTermite8-Jan-04 9:39 
GeneralRe: Null error when adding custom control Pin
Christian Graus8-Jan-04 9:52
mveChristian Graus8-Jan-04 9:52 
GeneralRe: Null error when adding custom control Pin
KingTermite8-Jan-04 10:00
KingTermite8-Jan-04 10:00 
GeneralRe: Null error when adding custom control Pin
Christian Graus8-Jan-04 10:06
mveChristian Graus8-Jan-04 10:06 
GeneralRe: Null error when adding custom control Pin
KingTermite8-Jan-04 10:18
KingTermite8-Jan-04 10:18 
GeneralRe: Null error when adding custom control Pin
Kentamanos8-Jan-04 10:19
Kentamanos8-Jan-04 10:19 
GeneralRe: Null error when adding custom control Pin
Christian Graus8-Jan-04 10:29
mveChristian Graus8-Jan-04 10: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 10:50
KingTermite8-Jan-04 10:50 
GeneralRe: Null error when adding custom control Pin
Christian Graus8-Jan-04 10:52
mveChristian Graus8-Jan-04 10:52 
GeneralRe: Null error when adding custom control Pin
KingTermite8-Jan-04 11:49
KingTermite8-Jan-04 11:49 
QuestionHow to use PING utility in my program Pin
HAHAHA_NEXT8-Jan-04 9:34
HAHAHA_NEXT8-Jan-04 9:34 
AnswerRe: How to use PING utility in my program Pin
Kentamanos8-Jan-04 10:18
Kentamanos8-Jan-04 10:18 
GeneralGDI grab handles and mouse move Pin
Miles Roberts8-Jan-04 8:10
Miles Roberts8-Jan-04 8:10 
GeneralRe: GDI grab handles and mouse move Pin
Heath Stewart8-Jan-04 8:36
protectorHeath Stewart8-Jan-04 8:36 
GeneralRe: GDI grab handles and mouse move Pin
leppie8-Jan-04 9:13
leppie8-Jan-04 9:13 
GeneralDO NOT HELP THIS PERSON WITH HIS HOMEWORK! Pin
leppie8-Jan-04 10:47
leppie8-Jan-04 10:47 
GeneralNon-rectangular Windows :: the 24-bit issue [advanced] Pin
nibmike8-Jan-04 8:07
nibmike8-Jan-04 8:07 
GeneralRe: Non-rectangular Windows :: the 24-bit issue [advanced] Pin
Heath Stewart8-Jan-04 8:29
protectorHeath Stewart8-Jan-04 8:29 
GeneralRe: Non-rectangular Windows :: the 24-bit issue [advanced] Pin
leppie8-Jan-04 9:17
leppie8-Jan-04 9:17 
GeneralGenerating strings that are matched by a regex Pin
bnieland8-Jan-04 7:34
bnieland8-Jan-04 7:34 
GeneralRe: Generating strings that are matched by a regex Pin
Kentamanos8-Jan-04 7:58
Kentamanos8-Jan-04 7:58 
GeneralRe: Generating strings that are matched by a regex Pin
leppie8-Jan-04 8:04
leppie8-Jan-04 8:04 
GeneralRe: Generating strings that are matched by a regex Pin
bnieland8-Jan-04 8:25
bnieland8-Jan-04 8:25 
GeneralMicrosoft Animation Control Pin
obelisk298-Jan-04 5:13
obelisk298-Jan-04 5:13 

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.