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

ASP.NET

 
Questionquery help needed Pin
siddisagar10-Dec-09 23:59
siddisagar10-Dec-09 23:59 
AnswerRe: query help needed Pin
KittyKit11-Dec-09 0:17
KittyKit11-Dec-09 0:17 
AnswerRe: query help needed Pin
Blue_Boy11-Dec-09 0:28
Blue_Boy11-Dec-09 0:28 
QuestionWrong Value being displayed Pin
sriharsha_1210-Dec-09 23:41
sriharsha_1210-Dec-09 23:41 
AnswerRe: Wrong Value being displayed Pin
Ashfield11-Dec-09 1:26
Ashfield11-Dec-09 1:26 
QuestionViewstate vs Rereading XMLDocument Pin
KittyKit10-Dec-09 22:59
KittyKit10-Dec-09 22:59 
AnswerRe: Viewstate vs Rereading XMLDocument Pin
Paulo Zemek11-Dec-09 8:26
mvaPaulo Zemek11-Dec-09 8:26 
GeneralRe: Viewstate vs Rereading XMLDocument Pin
KittyKit13-Dec-09 22:49
KittyKit13-Dec-09 22:49 
Thanks for the reply, Paulo.

I think I should explain my situation a bit more in detail. I am working on the reporting stuff - that produces a chart. The datatable stores the different data entered by the user that should appear in the chart. For someother reasons there are a couple of partial postbacks before the chart is generated. I need to hold the user specifications until the actual chart is generated.

I am really fine with the Ctrl+N problem Poke tongue | ;-P When the user presses Ctrl+N to open another instance of the same page, it might be like he wants to see two different formats of report. In that case I am glad if the viewstate values of old and new page remains different. thats what I exactly want.

I could achieve this behaviour with viewstate and also by declaring the datatable as static at page level. eg
static DataTable dt1 = new DataTable();

Even with declaring dt1 as static, Ctrl+N does not affect the old page. Old and new page has their own copy of the dt1 which is what i want.

But I wonder which is efficient and is there anyother better way of doing it. (Just to remind you that this datatable is used only in the single page)
GeneralRe: Viewstate vs Rereading XMLDocument Pin
Paulo Zemek14-Dec-09 10:08
mvaPaulo Zemek14-Dec-09 10:08 
GeneralRe: Viewstate vs Rereading XMLDocument Pin
KittyKit21-Dec-09 22:44
KittyKit21-Dec-09 22:44 
GeneralRe: Viewstate vs Rereading XMLDocument Pin
Paulo Zemek22-Dec-09 6:49
mvaPaulo Zemek22-Dec-09 6:49 
QuestionHow to find first index value in a string is character or numeric Pin
Satish - Developer10-Dec-09 22:28
Satish - Developer10-Dec-09 22:28 
AnswerRe: How to find first index value in a string is character or numeric Pin
Petr Pechovic10-Dec-09 22:39
professionalPetr Pechovic10-Dec-09 22:39 
AnswerRe: How to find first index value in a string is character or numeric Pin
Covean10-Dec-09 22:55
Covean10-Dec-09 22:55 
GeneralRe: How to find first index value in a string is character or numeric Pin
Covean10-Dec-09 23:56
Covean10-Dec-09 23:56 
QuestionTreeview Dynamic Display in ASP.NET Pin
Vimalsoft(Pty) Ltd10-Dec-09 21:57
professionalVimalsoft(Pty) Ltd10-Dec-09 21:57 
QuestionImage is not showing Pin
krishnaveer10-Dec-09 21:10
krishnaveer10-Dec-09 21:10 
AnswerRe: Image is not showing Pin
Abhishek Sur10-Dec-09 21:35
professionalAbhishek Sur10-Dec-09 21:35 
GeneralRe: Image is not showing Pin
farogh haider14-Dec-09 19:16
farogh haider14-Dec-09 19:16 
AnswerRe: Image is not showing Pin
sashidhar10-Dec-09 21:40
sashidhar10-Dec-09 21:40 
GeneralRe: Image is not showing Pin
krishnaveer10-Dec-09 21:49
krishnaveer10-Dec-09 21:49 
GeneralRe: Image is not showing Pin
sashidhar10-Dec-09 21:53
sashidhar10-Dec-09 21:53 
GeneralPopup with listbox in asp.net Pin
Nekkantidivya10-Dec-09 20:33
Nekkantidivya10-Dec-09 20:33 
GeneralRe: Popup with listbox in asp.net Pin
Blue_Boy10-Dec-09 20:44
Blue_Boy10-Dec-09 20:44 
Questiondrag and drop file uploading.... Pin
Subin Mavunkal10-Dec-09 20:07
Subin Mavunkal10-Dec-09 20:07 

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.