Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > viewstate for a File Input Control

Reply
Thread Tools

viewstate for a File Input Control

 
 
Robin
Guest
Posts: n/a
 
      03-02-2005
On an ASP.Net page that has viewstate enabled.
How do you enable viewstate for a server side file input control?
Currently I have in the HTML view.
<INPUT id="myID" type="file" name="myID" runat="server">


 
Reply With Quote
 
 
 
 
MasterGaurav
Guest
Posts: n/a
 
      03-03-2005
You'll never get the raw-Viewstate.

Otherwise, it's available in ViewState property in Control class and is
protected. Use that.

btw, why do you want that?

--
Cheers,
Gaurav Vaish
http://www.mastergaurav.org
http://mastergaurav.blogspot.com
--------------------------------

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with ViewState: "function 'ViewState.get_Item' evaluated and returned null" Steph ASP .Net 2 05-11-2011 02:35 PM
Failed to load viewstate. The control tree into which viewstate... Josema ASP .Net Building Controls 2 05-22-2005 10:38 AM
Failed to load viewstate. The control tree into which viewstate... Josema ASP .Net Web Controls 0 05-09-2005 10:58 AM
viewstate for a File Input Control Robin ASP .Net 4 03-02-2005 10:32 PM
Corrupted ViewState (Yes, another issue concerning viewstate) Ben Rush ASP .Net 2 12-05-2003 04:17 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57