Also,
You can turn Viewstate on or off for a control or
document. Vbscript sure looks like VB/VBA and it
pretty much can be used in vb.net since the only big
difference is the variables are all variant types or
something like that:
"Dim thisVariable"

--- Peter Brunone <[EMAIL PROTECTED]> wrote:

> 
> 
> 1) Viewstate is a big topic, but most often you
> don't refer to it by
> name in code.
> 
> 2) There is no VBScript in ASP.NET.
> 
> 3) Viewstate is simply the big, amorphous encoded
> mess that you see when
> you View Source in the browser.  The way you access
> something in
> Viewstate is (usually) simply by calling a property
> on a control on
> postback, like this:
> 
> myString = myTextBox.Text
> 
>       That value would not be available on postback if
> not for
> Viewstate.  Does that help a little?
> 
> 
> -----Original Message-----
> From: souvanik_sarkar
> [mailto:[EMAIL PROTECTED] 
> 
> Dear all
>  Can anyone help me with a simple example of how a
> viewstate is used 
> in ASP.Net and all the scripts should be in 
> vbscript
> Thanks in anticipation
> 
> 
> 
> 
> ------------------------ Yahoo! Groups Sponsor
> --------------------~--> 
> $4.98 domain names from Yahoo!. Register anything.
>
http://us.click.yahoo.com/Q7_YsB/neXJAA/yQLSAA/saFolB/TM
>
--------------------------------------------------------------------~->
> 
> 
>  
> Yahoo! Groups Links
> 
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/
> 
>    
> [EMAIL PROTECTED]
> 
>  
> 
> 
> 
> 



                
__________________________________ 
Do you Yahoo!? 
Jazz up your holiday email with celebrity designs. Learn more. 
http://celebrity.mail.yahoo.com


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to