Hi,
I have a C# application where I have a client side html input:
Is there anyway I can acces the value of this control from server side
inside my C#code? (please note I don't want to have runat=server
for the input control)
Thanks
Re: Html Control
am 10.08.2007 15:21:52 von exjxw.hannivoort
=?Utf-8?B?U29tYQ==?= wrote on 10 aug 2007 in
microsoft.public.inetserver.asp.general:
> Hi,
> I have a C# application where I have a client side html input:
>
> Is there anyway I can acces the value of this control from server side
> inside my C#code? (please note I don't want to have runat=server
> for the input control)
A server, being a server, does only what the client askes.
So no, the server cannot "access" a client html structure.
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Re: Html Control
am 10.08.2007 15:21:53 von reb01501
Soma wrote:
> Hi,
> I have a C# application
There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic asp newsgroup. ASP.Net bears
very little resemblance to classic ASP so, while you may be lucky enough to
find a dotnet-knowledgeable person here who can answer your question, you
can eliminate the luck factor by posting your question to a group where
those dotnet-knowledgeable people hang out. I suggest
microsoft.public.dotnet.framework.aspnet.
> where I have a client side html input:
>
> Is there anyway I can acces the value of this control from server side
> inside my C#code? (please note I don't want to have runat=server
> for the input control)
>
Of course not! At least, not without submitting the value contained in that
text box to the server-side code (perhaps using Ajax)
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Re: Html Control
am 10.08.2007 15:24:19 von reb01501
Soma wrote:
> Hi,
> I have a C# application where I have a client side html input:
>
> Is there anyway I can acces the value of this control from server side
> inside my C#code? (please note I don't want to have runat=server
> for the input control)
>
>
I should add that as long as the element has a name and is contained within
a FORM element which is submitted to the server-side page, the value
contained by the element will be part of the Request and accessible either
via the Querystring or Form collection depending on which type of submission
was done.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Re: Html Control
am 10.08.2007 16:35:28 von Jon Paal
try your question here:
public.dotnet.framework.aspnet
"Soma" wrote in message news:662C2F71-0F74-4486-A900-85B2BA5575A6@microsoft.com...
> Hi,
> I have a C# application where I have a client side html input:
>
> Is there anyway I can acces the value of this control from server side
> inside my C#code? (please note I don't want to have runat=server
> for the input control)
>
>
> Thanks
>
Re: Html Control
am 11.08.2007 01:42:23 von Bob Lehmann
>> please note I don't want to have runat=server
Why not?
Bob Lehmann
"Soma" wrote in message
news:662C2F71-0F74-4486-A900-85B2BA5575A6@microsoft.com...
> Hi,
> I have a C# application where I have a client side html input:
>
> Is there anyway I can acces the value of this control from server side
> inside my C#code? (please note I don't want to have runat=server
> for the input control)
>
>
> Thanks
>
Re: Html Control
am 11.08.2007 09:18:39 von exjxw.hannivoort
Bob Lehmann wrote on 11 aug 2007 in
microsoft.public.inetserver.asp.general:
>>> please note I don't want to have runat=server
>
> Why not?
Perhaps too much typing?
He could perhaps be happy using:
<%
' ;-)
%>
--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Re: Html Control
am 13.08.2007 07:54:00 von soma
Hi
>> please note I don't want to have runat=server
I got assignment that integrating calendar control (our Client providing
control).
For implementation its require (Textbox) html control. To get textbox value
in server side. I spent lot of time of this stuff still hung out issue.
>>try your question here:
>>public.dotnet.framework.aspnet
I put this stuff in dotnet forum
Thank you for your valuable feedback and suggestions.