Click here to Skip to main content
15,893,588 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Cant run my aspx pages Pin
Spunky Coder9-Oct-07 2:34
Spunky Coder9-Oct-07 2:34 
GeneralRe: Cant run my aspx pages Pin
matjame9-Oct-07 2:44
matjame9-Oct-07 2:44 
AnswerRe: Cant run my aspx pages Pin
Paddy Boyd9-Oct-07 5:34
Paddy Boyd9-Oct-07 5:34 
GeneralRe: Cant run my aspx pages Pin
matjame9-Oct-07 23:14
matjame9-Oct-07 23:14 
AnswerRe: Cant run my aspx pages Pin
Dhyanga11-Oct-07 0:38
Dhyanga11-Oct-07 0:38 
QuestionDatabase Connectivity Using .Net Remoting Pin
sudshe9-Oct-07 2:01
sudshe9-Oct-07 2:01 
AnswerRe: Database Connectivity Using .Net Remoting Pin
Dhyanga11-Oct-07 0:40
Dhyanga11-Oct-07 0:40 
GeneralCustom Paging Control Pin
Brady Kelly9-Oct-07 1:51
Brady Kelly9-Oct-07 1:51 
I'm busy developing a control that provides simple paging functionality and would like some input on some final finesses for the control.  The control takes a DataTable and a PagingKey parameter, and creates a set of page buttons showing alphabetic groupings of the PagingKey values.  E.g. in my test project I use a table of Employee records, with surname as the PagingKey.  On calling DataBind() on my control, it populates a Repeater with a series of buttons, with texts of 'Aa - An', 'Ao - Az', etc.  I'd like some input on the following:

1.  The range of keys for each button is determined by my page size, so with large data sets my collection of buttons can easily exceed the height of my page.  Currently I use a scrolling div as container for the buttons, but this is hardly ideal if the user had to scroll through their page index.  I am thinking of nesting my page sets, so if too many buttons are created, the large set of buttons is itself passed to another paging engine, which produces a page index for the first set.  I would welcome suggestions for other means of doing this.

2.  I currently create my page index by iterating all items in the employee data table, 'slicing' off a new button every time my item counter reaches my max page size.  The range descriptor starts with a default length of 3 characters, but increases if the From and To values are the same, until the are different, so if on my first button I get 'Aa - Aa', I make it 'Aat - Aaz'.  The problem, however, remains when my first button ends with 'Am' and my second button starts with 'Am'.  I would then have to iterate the whole set of buttons again, checking for this.  This will not cause a huge performance hit, but it seems slightly inelegant as well. 





I do not believe they are right who say that the defects of famous men should be ignored. I think it is better that we should know them. Then, though we are conscious of having faults as glaring as theirs, we can believe that that is no hindrance to our achieving also something of their virtues. - W. Somerset Maugham


My New Blog

Questionhow i can work on remeber my id checkbox in login page Pin
jagadeeshkumar849-Oct-07 1:46
jagadeeshkumar849-Oct-07 1:46 
AnswerRe: how i can work on remeber my id checkbox in login page Pin
Spunky Coder9-Oct-07 2:29
Spunky Coder9-Oct-07 2:29 
QuestionUse-strong-names-to-escape-DLL-Hell Pin
manishaNs9-Oct-07 1:11
manishaNs9-Oct-07 1:11 
AnswerRe: Use-strong-names-to-escape-DLL-Hell Pin
Spunky Coder9-Oct-07 1:26
Spunky Coder9-Oct-07 1:26 
Questionclose window Pin
Sonia Gupta9-Oct-07 1:09
Sonia Gupta9-Oct-07 1:09 
AnswerRe: close window Pin
thomas_joyee9-Oct-07 1:23
thomas_joyee9-Oct-07 1:23 
AnswerRe: close window Pin
Spunky Coder9-Oct-07 1:23
Spunky Coder9-Oct-07 1:23 
GeneralRe: close window Pin
Sonia Gupta9-Oct-07 1:34
Sonia Gupta9-Oct-07 1:34 
GeneralRe: close window Pin
Sonia Gupta9-Oct-07 1:47
Sonia Gupta9-Oct-07 1:47 
GeneralRe: close window [modified] Pin
Spunky Coder9-Oct-07 2:26
Spunky Coder9-Oct-07 2:26 
QuestionTreeView Problem in Mozilla !!! Pin
kapil bhatnagar9-Oct-07 0:49
kapil bhatnagar9-Oct-07 0:49 
QuestionProblem with validation Pin
anujose9-Oct-07 0:44
anujose9-Oct-07 0:44 
AnswerRe: Problem with validation Pin
pmarfleet9-Oct-07 0:55
pmarfleet9-Oct-07 0:55 
GeneralRe: Problem with validation Pin
anujose9-Oct-07 0:58
anujose9-Oct-07 0:58 
AnswerRe: Problem with validation Pin
thomas_joyee9-Oct-07 1:00
thomas_joyee9-Oct-07 1:00 
GeneralRe: Problem with validation Pin
anujose9-Oct-07 1:14
anujose9-Oct-07 1:14 
GeneralRe: Problem with validation Pin
thomas_joyee9-Oct-07 1:18
thomas_joyee9-Oct-07 1:18 

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.