Click here to Skip to main content
15,885,435 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionOptions for creating simple PDF in ASP.NET Pin
RvrBndBrewer16-Nov-11 5:01
RvrBndBrewer16-Nov-11 5:01 
SuggestionRe: Options for creating simple PDF in ASP.NET Pin
Rojan Gh.16-Nov-11 15:03
professionalRojan Gh.16-Nov-11 15:03 
AnswerRe: Options for creating simple PDF in ASP.NET Pin
Andy_L_J17-Nov-11 0:11
Andy_L_J17-Nov-11 0:11 
Questionasp.net MVC3 unobtrusive validation causes IE8 to crash Pin
Madhu Kampurath15-Nov-11 20:26
Madhu Kampurath15-Nov-11 20:26 
Question2010 asp.net options Pin
rachel_m15-Nov-11 9:54
rachel_m15-Nov-11 9:54 
AnswerRe: 2010 asp.net options Pin
Not Active15-Nov-11 14:24
mentorNot Active15-Nov-11 14:24 
GeneralRe: 2010 asp.net options Pin
rachel_m15-Nov-11 16:29
rachel_m15-Nov-11 16:29 
GeneralRe: 2010 asp.net options Pin
Not Active15-Nov-11 17:23
mentorNot Active15-Nov-11 17:23 
As you are new here let me explain a few things. You don't need to say "In response to your...". Notice the button with the text "Quote Selected Text". Highlight something in the response and click this button; you will get this...

rachel_m wrote:
In response to your


Another example

rachel_m wrote:
The first webpage (that I did not mention in the first post)

To get the best answer and not need multiple responses to clarify points you should include all pertinent details. And do so as succinctly as possible, long posts will be ignored by most as they don't have time to read everything.

rachel_m wrote:
In the database, there is a column for date1 and in the database there is also a yes-no column for date1

Why do you need to persist the yes/no? How is that relevant? What happens when a user changes the value? Yes the date is valid but No it was updated from the original? Will you store the original date? Where will you store it? How many modifications will you store?

IMO having a dropdown for a yes/no to edit a field is very cumbersome and not user friendly. Having a button that says Edit would be more appropriate. If you have five textboxes on the form and only two people that use the form, then train them to not change the date unless they want to. Some problem are best solved with humans not more technology. A textbox with a calendar like this[^] would be fine. The date won't be changed unless the user clicks in the box to display the calendar. The interface could even be displayed as a modal window rather than moving to a new page then back again. A much more pleasing user experience and a more modern design. You worry about old school controls but still use old school techniques.


rachel_m wrote:
I was thinking of using all server controls since these two webpages are used by only one or two users for 3 to 5 days monthly.

The number of users and days they are expected to use the application doesn't determine the design or the controls that should be used. The functionality and requirements determines that. You do have documented requirements and designs right?


rachel_m wrote:
what kind of javascript commands

There are no JavaScript commands. There are JavaScript functions that you write or you make use of JavaScript frameworks, such as JQuery[^]. You should learn which technology is best for which purpose. Making use of all server controls, although valid, is not necessary in all cases. To show or hide an element it is not necessary to make a round trip to the server to set
myControl.visibility=false;
this can be done much better and faster on the client with
$("#myElement").hide()



rachel_m wrote:
If the user says any of the dates are invalid from the dropdown list controls, I plan on updating the database

Well, yes, of course. But how? Labels will not be included in the post data for the form, only input controls such as textboxes. Have you considered asynchronous methods, such as AJAX? Displaying the interface as a modal dialog and using AJAX to post any updated values would be a more pleasing user experience, IMO, and more performant since you are only posting what is absolutely necessary, not using a sledge hammer ASP.NET postback method.


rachel_m wrote:
this is my first set of web pages

Ever? Is there anyone in your company mentoring you or assisting with this?

No comment

QuestionProblem Setting Width of asp:Panel in Windows 7 Pin
Member 840472315-Nov-11 8:45
Member 840472315-Nov-11 8:45 
QuestionHidden Input value during <code>Page.Init</code> Pin
Ali Al Omairi(Abu AlHassan)15-Nov-11 5:42
professionalAli Al Omairi(Abu AlHassan)15-Nov-11 5:42 
AnswerRe: Hidden Input value during Page.Init Pin
Dennis E White15-Nov-11 6:31
professionalDennis E White15-Nov-11 6:31 
GeneralRe: Hidden Input value during Page.Init Pin
Ali Al Omairi(Abu AlHassan)15-Nov-11 7:03
professionalAli Al Omairi(Abu AlHassan)15-Nov-11 7:03 
AnswerRe: Hidden Input value during Page.Init Pin
jkirkerx15-Nov-11 18:26
professionaljkirkerx15-Nov-11 18:26 
GeneralRe: Hidden Input value during Page.Init Pin
Ali Al Omairi(Abu AlHassan)15-Nov-11 21:39
professionalAli Al Omairi(Abu AlHassan)15-Nov-11 21:39 
QuestionList (of ) remove, compare Pin
byka15-Nov-11 2:00
byka15-Nov-11 2:00 
AnswerRe: List (of ) remove, compare Pin
Dennis E White15-Nov-11 6:41
professionalDennis E White15-Nov-11 6:41 
Questionupdate button on web page Pin
rachel_m15-Nov-11 1:43
rachel_m15-Nov-11 1:43 
AnswerRe: update button on web page Pin
Dennis E White15-Nov-11 6:34
professionalDennis E White15-Nov-11 6:34 
QuestionIs there any design pattren for authentication in ASp.Net MVC3? Pin
wasimsharp14-Nov-11 23:34
wasimsharp14-Nov-11 23:34 
AnswerRe: Is there any design pattren for authentication in ASp.Net MVC3? Pin
Brij15-Nov-11 1:24
mentorBrij15-Nov-11 1:24 
GeneralRe: Is there any design pattren for authentication in ASp.Net MVC3? Pin
wasimsharp15-Nov-11 1:33
wasimsharp15-Nov-11 1:33 
QuestionWHAT IS SILVERLIGHT. Pin
Shubham Vijay14-Nov-11 21:10
Shubham Vijay14-Nov-11 21:10 
AnswerRe: WHAT IS SILVERLIGHT. PinPopular
thatraja14-Nov-11 21:37
professionalthatraja14-Nov-11 21:37 
QuestionProblem in playing videos on intranet portal Pin
uspatel13-Nov-11 22:34
professionaluspatel13-Nov-11 22:34 
AnswerRe: Problem in playing videos on intranet portal Pin
jkirkerx15-Nov-11 18:59
professionaljkirkerx15-Nov-11 18:59 

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.