Click here to Skip to main content
15,888,065 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Question__EVENTTARGET is undefined Pin
GGev7-Apr-13 23:32
GGev7-Apr-13 23:32 
AnswerRe: __EVENTTARGET is undefined Pin
Karthik Harve8-Apr-13 2:01
professionalKarthik Harve8-Apr-13 2:01 
QuestionHow solve (Validation of viewstate MAC failed)? Pin
Jassim Rahma7-Apr-13 0:38
Jassim Rahma7-Apr-13 0:38 
AnswerRe: How solve (Validation of viewstate MAC failed)? Pin
AContractor7-Apr-13 1:48
professionalAContractor7-Apr-13 1:48 
AnswerRe: How solve (Validation of viewstate MAC failed)? Pin
Vani Kulkarni7-Apr-13 20:17
professionalVani Kulkarni7-Apr-13 20:17 
QuestionPlacing & arranging controls on web form Pin
Member 99120916-Apr-13 6:47
Member 99120916-Apr-13 6:47 
AnswerRe: Placing & arranging controls on web form Pin
David C# Hobbyist.6-Apr-13 7:18
professionalDavid C# Hobbyist.6-Apr-13 7:18 
AnswerRe: Placing & arranging controls on web form Pin
jkirkerx7-Apr-13 10:10
professionaljkirkerx7-Apr-13 10:10 
I think you need to change your approach, or way of thinking for Visual Web Developer Express.

It's not about using the Preview Mode to design your web forms like on Visual C# Express.

[Visual C# Express]
Programers use the design mode to quickly design or layout windows forms, for the x/y position of the objects always start at 0/0 or the top/left of the form. In a windows for, there is usually just one container to keep track of, so it's easy to drag and drop controls on to the form.

[Visual Web Designer]
Microsoft tried to do the same thing in this program, but it really doesn't work out, because a web form can be made up of hundreds of containers to store objects.

I've been doing this for over 13 years now, And I can advise you to not use the preview mode to design forms, because the preview mode uses Internet Explorer to render the objects, and they will not look the same on all browsers.

If you use the preview mode to adjust a container or object, it will inject bogus HTML and CSS into the code, in which fixing it may not be an industry standard thing. It will confuse you more, trust me.

I use the preview mode to just select objects, so I can use the property panel F4 to adjust the object. That's it.

[Advice]
Your really better of just typing straight into the code window, using HTML or HTML 5 if your program supports it. A web page is not about asp.net, it's about HTML and CSS Styles, so you should hone your skills there first.

Technology like PHP, ASP.Net is 2nd, after HTML and CSS.

Learn how to design web pages first. Start with a master page for your template, and then web forms that inject HTML into the Master Page content containers.

You can download my demo project here, as a start or to simply view how to construct a proper asp.net website.

HKB Project[^]

When you start designing forms for submission, then you replace that HTML Textbox tab with the asp.net textbox object <asp:textbox>, so you can access it in Code Behind. The same with the submit button and so forth.

[Conclusion]
I hand type everything on the keyboard, I create the containers with div tags and tables to construct my layout, and then I populate each container until finished. I don't use the asp.net object anymore, because most of them are difficult to manage, and time consuming to create and maintain.

I can do this in straight HTML, or pure code behind, in almost any technology, because I have a strong knowledge of HTML and CSS.
Questionhow to upgrade from iis6 to iis7.5 Pin
Member 87018136-Apr-13 6:35
Member 87018136-Apr-13 6:35 
AnswerRe: how to upgrade from iis6 to iis7.5 Pin
dusty_dex6-Apr-13 7:58
dusty_dex6-Apr-13 7:58 
QuestionUnknown mobile manufacturer and model Pin
Jassim Rahma6-Apr-13 5:43
Jassim Rahma6-Apr-13 5:43 
AnswerRe: Unknown mobile manufacturer and model Pin
Jassim Rahma10-Apr-13 5:03
Jassim Rahma10-Apr-13 5:03 
Questionbypass login Pin
Suman Maji5-Apr-13 1:01
professionalSuman Maji5-Apr-13 1:01 
AnswerRe: bypass login Pin
AContractor5-Apr-13 2:02
professionalAContractor5-Apr-13 2:02 
GeneralRe: bypass login Pin
AmitGajjar5-Apr-13 19:00
professionalAmitGajjar5-Apr-13 19:00 
AnswerRe: bypass login Pin
jayesh.sharma10-Apr-13 3:26
jayesh.sharma10-Apr-13 3:26 
QuestionWhat is the Congiguration manager class in the code and how to you set it in the Project or IDE? Pin
Xarzu4-Apr-13 14:57
Xarzu4-Apr-13 14:57 
AnswerRe: What is the Congiguration manager class in the code and how to you set it in the Project or IDE? Pin
AmitGajjar5-Apr-13 19:05
professionalAmitGajjar5-Apr-13 19:05 
AnswerRe: What is the Congiguration manager class in the code and how to you set it in the Project or IDE? Pin
jkirkerx6-Apr-13 5:39
professionaljkirkerx6-Apr-13 5:39 
QuestionAccess a control or function from asp page in Global.asax Pin
SajjadZare4-Apr-13 7:01
SajjadZare4-Apr-13 7:01 
QuestionRe: Access a control or function from asp page in Global.asax Pin
Sandeep Mewara4-Apr-13 7:09
mveSandeep Mewara4-Apr-13 7:09 
AnswerMessage Closed Pin
4-Apr-13 7:42
SajjadZare4-Apr-13 7:42 
GeneralRe: Access a control or function from asp page in Global.asax Pin
Sandeep Mewara4-Apr-13 7:47
mveSandeep Mewara4-Apr-13 7:47 
QuestionPlease help me in following Linq Query Pin
indian1433-Apr-13 14:43
indian1433-Apr-13 14:43 
AnswerRe: Please help me in following Linq Query Pin
Narayana Palla4-Apr-13 8:00
Narayana Palla4-Apr-13 8:00 

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.