Click here to Skip to main content
15,891,828 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to make tablecell's width fixed Pin
Xiaoming Qian17-Jul-06 22:13
Xiaoming Qian17-Jul-06 22:13 
AnswerRe: How to make tablecell's width fixed Pin
Khawar Abbas117-Jul-06 22:45
Khawar Abbas117-Jul-06 22:45 
Questionsnitz forum Pin
elaangovan17-Jul-06 20:29
elaangovan17-Jul-06 20:29 
AnswerRe: snitz forum Pin
Paddy Boyd17-Jul-06 23:52
Paddy Boyd17-Jul-06 23:52 
QuestionMaster Detail Grid. Pin
deepaks317-Jul-06 20:06
deepaks317-Jul-06 20:06 
AnswerRe: Plz help on calendar control Pin
Wesley Samuel17-Jul-06 20:37
Wesley Samuel17-Jul-06 20:37 
QuestionTable in vb.net vb.net 1.1 Pin
amaneet17-Jul-06 19:04
amaneet17-Jul-06 19:04 
QuestionAdvice wanted re: sizing datagrid optimally Pin
Member 9617-Jul-06 18:57
Member 9617-Jul-06 18:57 
I'm curious to know what the best practice is for sizing controls on pages. For example I have a 3rd party DataGrid-like component that, if I leave at 100% height will go as big as it requires to display all the rows returned which in turn means the user is required to scroll the frame it's in if they want to see the whole result set.

(yes I said frame Smile | :) , I've researched this to death and a frameset is still the best fit for this particular job)

However that component has a built in scrollbar which works well when the grid is restricted to a smaller size. Where it would normally take 3000 pixels vertically to display I could set it to a height of 300px and using the built in scrollbar scroll through the results to the last row.

Ideally I want to exactly fill the "content" frame with as much grid as will fit perfectly and use the grid's built in scrollbars for navigating to the bits that don't fit. This though, seems impossible. Short of someone replying with a magic solution that I just couldn't find I'm guessing I'll have to compromise.

Every example I see seems to favor setting explicit sizes in pixels for many data components.

So should I just pick a "typical" browser window size and set explicit values for that size (i.e. assume minimum 800X600 and smaller size users can scroll)?

This seems lousy though when considering that many users have a much larger size than a default minimum and would end up with wasted real estate on screen, so is it better to go for a maximum and set explicit sizes for that maximum and then anyone with less has to scroll the frame?

Neither sounds very nice but the minimum sounds the least annoying.

I've messed about with some Javascript to dynamically resize the grid component, however there doesn't seem to be a reliable way to get the size of the browser window that works in both FF and IE so I'm not really planning on using that method. I can reliably get the entire screen dimensions but that's pretty much useless.

Help...so confused.. Any and all advice gladly accepted.

QuestionRestrict the page from redirecting to another page Pin
venkatasivaramaprasad17-Jul-06 18:51
venkatasivaramaprasad17-Jul-06 18:51 
QuestionError while calling web service Pin
Sathiyaraj Ganesan17-Jul-06 17:54
Sathiyaraj Ganesan17-Jul-06 17:54 
AnswerRe: Error while calling web service Pin
Swapnil Piparia23-Jul-06 22:48
Swapnil Piparia23-Jul-06 22:48 
Questiondatagrid count Pin
dansoft17-Jul-06 17:51
dansoft17-Jul-06 17:51 
AnswerRe: datagrid count Pin
postmaster@programmingknowledge.com17-Jul-06 18:29
postmaster@programmingknowledge.com17-Jul-06 18:29 
AnswerRe: datagrid count Pin
Pradipta Basu17-Jul-06 22:24
Pradipta Basu17-Jul-06 22:24 
QuestionData Binding to textbox Pin
For_IT17-Jul-06 12:22
For_IT17-Jul-06 12:22 
AnswerRe: Data Binding to textbox Pin
minhpc_bk17-Jul-06 15:42
minhpc_bk17-Jul-06 15:42 
AnswerRe: Data Binding to textbox Pin
postmaster@programmingknowledge.com17-Jul-06 16:02
postmaster@programmingknowledge.com17-Jul-06 16:02 
QuestionMail sending problum Pin
kirthikirthi17-Jul-06 10:17
kirthikirthi17-Jul-06 10:17 
AnswerRe: Mail sending problum Pin
fistiki17-Jul-06 10:32
fistiki17-Jul-06 10:32 
Questioncaching [modified] Pin
kjosh17-Jul-06 8:43
kjosh17-Jul-06 8:43 
AnswerRe: caching Pin
Not Active17-Jul-06 8:48
mentorNot Active17-Jul-06 8:48 
GeneralRe: caching Pin
kjosh17-Jul-06 9:54
kjosh17-Jul-06 9:54 
GeneralRe: caching Pin
Not Active17-Jul-06 12:47
mentorNot Active17-Jul-06 12:47 
QuestionBold / Italic (Urgent) Pin
kirthikirthi17-Jul-06 8:05
kirthikirthi17-Jul-06 8:05 
AnswerRead / Learn Pin
Not Active17-Jul-06 8:45
mentorNot Active17-Jul-06 8:45 

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.