Click here to Skip to main content
15,896,118 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How to save horizontal scroll bar position on page postback Pin
Piyush Vardhan Singh9-Jul-07 23:51
Piyush Vardhan Singh9-Jul-07 23:51 
Questionvalidating time in 12-hour format Pin
gayathri_it20059-Jul-07 21:55
gayathri_it20059-Jul-07 21:55 
AnswerRe: validating time in 12-hour format Pin
Vasudevan Deepak Kumar9-Jul-07 22:07
Vasudevan Deepak Kumar9-Jul-07 22:07 
GeneralRe: validating time in 12-hour format Pin
gayathri_it200510-Jul-07 0:57
gayathri_it200510-Jul-07 0:57 
AnswerRe: validating time in 12-hour format Pin
InsDev9-Jul-07 22:53
InsDev9-Jul-07 22:53 
GeneralRe: validating time in 12-hour format Pin
gayathri_it200510-Jul-07 0:54
gayathri_it200510-Jul-07 0:54 
GeneralRe: validating time in 12-hour format Pin
InsDev10-Jul-07 3:15
InsDev10-Jul-07 3:15 
QuestionPassing objects in session? Pin
BlueChippy9-Jul-07 21:26
BlueChippy9-Jul-07 21:26 
I have a small site where I want to allow people to upload a small XML file (via FileUpload control) and then "load" it into another page to edit and save back.

At the moment I am loading the file into an XmlDataDocument using FileUpload.PostedFile.InputStream and I am then storing this in the Session object as I don't want to save anything to the server if poss. e.g Session["myXml"]

This works perfectly locally and 90% of the time works on the server...but occasionally I get a null object error...despite having try/catch blocks around everything. Wierdly, if you F5 refresh the page, it usually loads after a refresh or two.

a) Is using the session object like this a "bad thing"?
b) Is there a better way?
c) Any idea how I trap the null object error as there is already a try/catch on the method that fails and around ALL the code in Page_Load().

Thanks for ANY help! It's doing my nut in!
QuestionRe: Passing objects in session? Pin
Venkatesh Mookkan9-Jul-07 21:53
Venkatesh Mookkan9-Jul-07 21:53 
AnswerRe: Passing objects in session? Pin
Vasudevan Deepak Kumar9-Jul-07 22:08
Vasudevan Deepak Kumar9-Jul-07 22:08 
AnswerRe: Passing objects in session? Pin
Paddy Boyd9-Jul-07 23:22
Paddy Boyd9-Jul-07 23:22 
GeneralRe: Passing objects in session? Pin
BlueChippy10-Jul-07 6:20
BlueChippy10-Jul-07 6:20 
QuestionHow to remove a dropdown list border Pin
Prakash_Mishra9-Jul-07 21:14
Prakash_Mishra9-Jul-07 21:14 
AnswerRe: How to remove a dropdown list border Pin
Venkatesh Mookkan9-Jul-07 21:21
Venkatesh Mookkan9-Jul-07 21:21 
GeneralRe: How to remove a dropdown list border Pin
Prakash_Mishra9-Jul-07 21:24
Prakash_Mishra9-Jul-07 21:24 
GeneralRe: How to remove a dropdown list border Pin
N a v a n e e t h9-Jul-07 21:29
N a v a n e e t h9-Jul-07 21:29 
AnswerRe: How to remove a dropdown list border Pin
Guffa10-Jul-07 0:31
Guffa10-Jul-07 0:31 
GeneralRe: How to remove a dropdown list border Pin
N a v a n e e t h10-Jul-07 0:55
N a v a n e e t h10-Jul-07 0:55 
Questionpop up message Pin
suparichit9-Jul-07 21:04
suparichit9-Jul-07 21:04 
AnswerRe: pop up message Pin
_AK_9-Jul-07 21:07
_AK_9-Jul-07 21:07 
AnswerRe: pop up message Pin
Sathesh Sakthivel9-Jul-07 21:08
Sathesh Sakthivel9-Jul-07 21:08 
AnswerRe: pop up message Pin
Vasudevan Deepak Kumar9-Jul-07 22:09
Vasudevan Deepak Kumar9-Jul-07 22:09 
Questionhow to set scroll bar at the div bottom(argent) Pin
Piyush Vardhan Singh9-Jul-07 21:00
Piyush Vardhan Singh9-Jul-07 21:00 
AnswerRe: how to set scroll bar at the div bottom(argent) Pin
Sathesh Sakthivel9-Jul-07 21:06
Sathesh Sakthivel9-Jul-07 21:06 
GeneralRe: how to set scroll bar at the div bottom(argent) Pin
Piyush Vardhan Singh9-Jul-07 21:14
Piyush Vardhan Singh9-Jul-07 21:14 

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.