Click here to Skip to main content
15,883,901 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionListBox SelectedIndex does not persist during postback [modified] Pin
Toni788-Apr-10 4:49
Toni788-Apr-10 4:49 
AnswerRe: ListBox SelectedIndex does not persist during postback Pin
JHizzle8-Apr-10 5:03
JHizzle8-Apr-10 5:03 
GeneralRe: ListBox SelectedIndex does not persist during postback Pin
Toni788-Apr-10 5:18
Toni788-Apr-10 5:18 
GeneralRe: ListBox SelectedIndex does not persist during postback Pin
JHizzle8-Apr-10 5:26
JHizzle8-Apr-10 5:26 
GeneralRe: ListBox SelectedIndex does not persist during postback [modified] Pin
Toni788-Apr-10 8:03
Toni788-Apr-10 8:03 
AnswerRe: ListBox SelectedIndex does not persist during postback Pin
michaelschmitt8-Apr-10 8:42
michaelschmitt8-Apr-10 8:42 
GeneralRe: ListBox SelectedIndex does not persist during postback Pin
Toni788-Apr-10 8:56
Toni788-Apr-10 8:56 
QuestionMultiple file upload Pin
paper678-Apr-10 4:13
paper678-Apr-10 4:13 
Hi,

I want to upload multiple image files from within an InsertItemTemplate within
a FormView. That Formview is placed in an UpdatePanel. I searched the net for
2 days to find answers to my problem. I am aware that a full postback is required
to make the asp.net FileUpload control work and that a PostBackTrigger has to be set
inside the UpdatePanel. My problem is that the PostBackTrigger button that I place in
the Triggers section of the UpdatePanel can not be found since it is declared in the
InsertItemTemplate. Can this be solved some way. I have read that in this case it is
better to use an AJAX AsyncFileUpload control, but I can not find any examples where
multiple files can be uploaded. I doubt that this is the best way to solve my problem
since the upload starts immediately after a file on the local file system is selected.
I want to start the upload only when the Insert Button inside the InsertItemTemplate is
clicked and therefore do the handling in the ItemInserting event of the FormView.
Can anyone please point me to an example where this is done. I can not imagine I am the
only one having this problem.


tia
AnswerRe: Multiple file upload Pin
chriswk8-Apr-10 19:21
chriswk8-Apr-10 19:21 
GeneralRe: Multiple file upload Pin
Gaurav Dudeja India8-Apr-10 19:31
Gaurav Dudeja India8-Apr-10 19:31 
GeneralRe: Multiple file upload Pin
paper679-Apr-10 5:08
paper679-Apr-10 5:08 
AnswerRe: Multiple file upload Pin
Anurag Gandhi8-Apr-10 19:33
professionalAnurag Gandhi8-Apr-10 19:33 
QuestionHow to Block Specific IP Number to Access my website Pin
Samarjeet Singh@india8-Apr-10 2:26
Samarjeet Singh@india8-Apr-10 2:26 
AnswerRe: How to Block Specific IP Number to Access my website Pin
Brij8-Apr-10 3:46
mentorBrij8-Apr-10 3:46 
AnswerRe: How to Block Specific IP Number to Access my website Pin
Jens Meyer8-Apr-10 3:51
Jens Meyer8-Apr-10 3:51 
GeneralRe: How to Block Specific IP Number to Access my website Pin
Brij8-Apr-10 7:28
mentorBrij8-Apr-10 7:28 
AnswerRe: How to Block Specific IP Number to Access my website Pin
Abhijit Jana8-Apr-10 8:51
professionalAbhijit Jana8-Apr-10 8:51 
QuestionSession Pin
Morgs Morgan8-Apr-10 2:25
Morgs Morgan8-Apr-10 2:25 
AnswerRe: Session Pin
sashidhar8-Apr-10 2:28
sashidhar8-Apr-10 2:28 
GeneralRe: Session Pin
Morgs Morgan8-Apr-10 2:40
Morgs Morgan8-Apr-10 2:40 
GeneralRe: Session Pin
Morgs Morgan8-Apr-10 2:41
Morgs Morgan8-Apr-10 2:41 
AnswerRe: Session Pin
michaelschmitt9-Apr-10 1:14
michaelschmitt9-Apr-10 1:14 
QuestionGridview with subheaders below.... Pin
pranavcool8-Apr-10 1:46
pranavcool8-Apr-10 1:46 
AnswerRe: Gridview with subheaders below.... Pin
Arun Jacob8-Apr-10 1:50
Arun Jacob8-Apr-10 1:50 
AnswerRe: Gridview with subheaders below.... Pin
sashidhar8-Apr-10 2:14
sashidhar8-Apr-10 2: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.