Click here to Skip to main content
15,889,527 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionASP.NET failed to maintain state when dynamically binding columns datagrid Pin
N a v a n e e t h10-Jul-07 3:36
N a v a n e e t h10-Jul-07 3:36 
AnswerRe: ASP.NET failed to maintain state when dynamically binding columns datagrid Pin
Michael Sync10-Jul-07 5:45
Michael Sync10-Jul-07 5:45 
GeneralRe: ASP.NET failed to maintain state when dynamically binding columns datagrid Pin
N a v a n e e t h10-Jul-07 18:12
N a v a n e e t h10-Jul-07 18:12 
GeneralRe: ASP.NET failed to maintain state when dynamically binding columns datagrid Pin
Michael Sync10-Jul-07 19:21
Michael Sync10-Jul-07 19:21 
GeneralRe: ASP.NET failed to maintain state when dynamically binding columns datagrid Pin
N a v a n e e t h10-Jul-07 22:22
N a v a n e e t h10-Jul-07 22:22 
AnswerRe: ASP.NET failed to maintain state when dynamically binding columns datagrid Pin
Rhys Gravell10-Jul-07 20:55
professionalRhys Gravell10-Jul-07 20:55 
GeneralRe: ASP.NET failed to maintain state when dynamically binding columns datagrid Pin
N a v a n e e t h10-Jul-07 22:25
N a v a n e e t h10-Jul-07 22:25 
GeneralRe: ASP.NET failed to maintain state when dynamically binding columns datagrid Pin
Rhys Gravell10-Jul-07 22:56
professionalRhys Gravell10-Jul-07 22:56 
Navaneeth. wrote:
Thanks, But I won't be able to do this, because I can't predefine the number of columns that I have on the grid


Why? I've got to be honest and say I can't really see where you're trying to go with this, as a developer surely you know have some awareness of the base objects you're dealing with. It just appears you're trying to be too generic in your approach and it'll probably mean more work and far less re-usability in the long run. Can you explain why you need an almost entirely dynamic DataGrid/GridView?

I'd assume that as per dynamic controls on a page what you need to do is recreate your dynamic columns and their controls on every postback and if that doesn't work, what you're attempting probably isn't supported.

Rhys

"The trouble with having an open mind, of course, is that people will insist on coming along and trying to put things in it"

They say a little knowledge is a dangerous thing, but it's not one half so bad as a lot of ignorance."
Terry Pratchett

Questionhow to find no of days in a month Pin
Vipin.d10-Jul-07 2:39
Vipin.d10-Jul-07 2:39 
AnswerRe: how to find no of days in a month Pin
Christian Graus10-Jul-07 2:39
protectorChristian Graus10-Jul-07 2:39 
GeneralRe: how to find no of days in a month Pin
Vipin.d10-Jul-07 3:30
Vipin.d10-Jul-07 3:30 
QuestionClearing Text in a Label Control Before Redericting The Page Pin
Mahesh.J10-Jul-07 2:35
Mahesh.J10-Jul-07 2:35 
AnswerRe: Clearing Text in a Label Control Before Redericting The Page Pin
Christian Graus10-Jul-07 2:38
protectorChristian Graus10-Jul-07 2:38 
QuestionWeb services Pin
Imthu10-Jul-07 2:26
Imthu10-Jul-07 2:26 
AnswerRe: Web services Pin
Christian Graus10-Jul-07 2:35
protectorChristian Graus10-Jul-07 2:35 
GeneralRe: Web services Pin
Imthu10-Jul-07 2:47
Imthu10-Jul-07 2:47 
GeneralRe: Web services Pin
Sathesh Sakthivel10-Jul-07 2:55
Sathesh Sakthivel10-Jul-07 2:55 
GeneralRe: Web services Pin
Christian Graus10-Jul-07 5:14
protectorChristian Graus10-Jul-07 5:14 
QuestionRouting using web page Pin
moon_stick10-Jul-07 1:35
moon_stick10-Jul-07 1:35 
AnswerRe: Routing using web page Pin
Christian Graus10-Jul-07 2:39
protectorChristian Graus10-Jul-07 2:39 
QuestionHow can i get Transaction Key on Authorize.net Pin
mangrovecm10-Jul-07 0:53
mangrovecm10-Jul-07 0:53 
AnswerRe: How can i get Transaction Key on Authorize.net Pin
N a v a n e e t h10-Jul-07 1:03
N a v a n e e t h10-Jul-07 1:03 
GeneralRe: How can i get Transaction Key on Authorize.net Pin
mangrovecm10-Jul-07 1:55
mangrovecm10-Jul-07 1:55 
AnswerRe: How can i get Transaction Key on Authorize.net Pin
Christian Graus10-Jul-07 2:36
protectorChristian Graus10-Jul-07 2:36 
QuestionGridview to Excel Error Pin
Gamzun10-Jul-07 0:52
Gamzun10-Jul-07 0:52 

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.