Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
i want to know whether there are other options other than runat="server".
i know that runat="client" works in xfa. But does it work in Asp.Net?
Sorry i am completely new to this field. So please Help!!!
Posted 3-Jan-13 23:04pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Somewhat strange and cryptic notation, I agree. It would be clear if runat="client" worked, but, to best of my knowledge, it does not in ASP.NET, or it would be a bogus. I cannot explain such assymmetric notation and I doubt the explanation would be rational.
 
The idea of running at client is completely different. Everything written in ASP.NET page is generated in response to HTTP request and sent to client in HTTP response of the server. It can contain any MIME type, any content at all, and, first of all, HTML page with any scripts which are executed on client site as usual. That's basically it. Everything else is just the tools for convenience of writing this contents and scripts; for example, you can register client-side script on ASP.NET page and the like, but you can simply write some script code, use other scripts and libraries like jQuery, and so on, so forth.
 
—SA
  Permalink  
Comments
AshishChaudha at 4-Jan-13 5:47am
   
my +5!
Sergey Alexandrovich Kryukov at 4-Jan-13 6:54am
   
Thank you, Ashish.
—SA
sarahnimy at 29-Jan-13 3:38am
   
Thank you
Sergey Alexandrovich Kryukov at 29-Jan-13 3:44am
   
You are very welcome.
Good luck, call again.
—SA
sarahnimy at 29-Jan-13 3:51am
   
Actually i do...the link is below:
http://www.codeproject.com/Questions/535631/ValueProviderplusgivesplusanplusexception
 
could u help me with it??
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

No you dont have any other option than runat="server".
If you take a look at the following links you will have an answer:
Why does ASP.NET still require runat="server" everywhere?[^]
Runat='client' vs runat[^]
Why does asp.net webforms need the runat server attribute[^]
Why runat server for asp.net part2/[^]
 
Goodluck,
OI
  Permalink  
Comments
Sergey Alexandrovich Kryukov at 4-Jan-13 7:39am
   
Useful references, a 5.
—SA
sarahnimy at 29-Jan-13 3:38am
   
Thank you

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 480
1 Maciej Los 290
2 Richard MacCutchan 225
3 BillWoodruff 185
4 Suraj Sahoo | Coding Passion 155
0 OriginalGriff 8,764
1 Sergey Alexandrovich Kryukov 7,437
2 DamithSL 5,639
3 Maciej Los 5,279
4 Manas Bhardwaj 4,986


Advertise | Privacy | Mobile
Web03 | 2.8.1411028.1 | Last Updated 4 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100