-
JavaScript variable
I have a huge problem and i need you to help me..
i am doing an user control (ascx) with 4 input fields. i need the input fields
because i need to trap the onblur event to fill the box with "0" at the right.
i already achieved that.
now i want to pass the values from the input fields to a variable session
when i post with the aspx. There's anyway to pass the fields and then get
it with response.QueryString?
Thanks!
Joseph
-
Re: JavaScript variable
Hi Joseph,
If I understand correctly you want to pass the aspx control values to another
webform. There are ways to do this with a querystring, but I would recommend
using the method I describe in the post below to Ramone http://news.devx.com/cgi-bin/dnewswe...=2223&utag=vb.
It uses Server.Transfer as a nice .NET way to deal with passing data from
form to form.
-Al
"Joseph" <vb.@127.0.0.1> wrote:
>
>I have a huge problem and i need you to help me..
>
>i am doing an user control (ascx) with 4 input fields. i need the input
fields
>because i need to trap the onblur event to fill the box with "0" at the
right.
>i already achieved that.
>
>now i want to pass the values from the input fields to a variable session
>when i post with the aspx. There's anyway to pass the fields and then get
>it with response.QueryString?
>
>Thanks!
>
>Joseph
-
Re: JavaScript variable
Al,
thanks for answering..
well.. i am doing a user control that traps the "onblur" event on the input
field and then fills out the field with zeros at the right. my problem is
how to get the value from the fields (because it is a mask, a composite control)
and process it at the server (i cannot use the server control, because it
will must use postbacks and so on)..
i know that i must post the data on the fields, but how? can you help me?
Best regards,
Joseph
"Al" <vb.@127.0.0.1> wrote:
>
>Hi Joseph,
>
>If I understand correctly you want to pass the aspx control values to another
>webform. There are ways to do this with a querystring, but I would recommend
>using the method I describe in the post below to Ramone http://news.devx.com/cgi-bin/dnewswe...=2223&utag=vb.
>It uses Server.Transfer as a nice .NET way to deal with passing data from
>form to form.
>
>-Al
>
>"Joseph" <vb.@127.0.0.1> wrote:
>>
>>I have a huge problem and i need you to help me..
>>
>>i am doing an user control (ascx) with 4 input fields. i need the input
>fields
>>because i need to trap the onblur event to fill the box with "0" at the
>right.
>>i already achieved that.
>>
>>now i want to pass the values from the input fields to a variable session
>>when i post with the aspx. There's anyway to pass the fields and then get
>>it with response.QueryString?
>>
>>Thanks!
>>
>>Joseph
>
-
Re: JavaScript variable
I'm not sure I fully understand, can you post your code?
"Joseph" <vb.@127.0.0.1> wrote:
>
> Al,
>
>thanks for answering..
>
>well.. i am doing a user control that traps the "onblur" event on the input
>field and then fills out the field with zeros at the right. my problem is
>how to get the value from the fields (because it is a mask, a composite
control)
>and process it at the server (i cannot use the server control, because it
>will must use postbacks and so on)..
>
>i know that i must post the data on the fields, but how? can you help me?
>
>
>Best regards,
>
>Joseph
>
>
>
>"Al" <vb.@127.0.0.1> wrote:
>>
>>Hi Joseph,
>>
>>If I understand correctly you want to pass the aspx control values to another
>>webform. There are ways to do this with a querystring, but I would recommend
>>using the method I describe in the post below to Ramone http://news.devx.com/cgi-bin/dnewswe...=2223&utag=vb.
>>It uses Server.Transfer as a nice .NET way to deal with passing data from
>>form to form.
>>
>>-Al
>>
>>"Joseph" <vb.@127.0.0.1> wrote:
>>>
>>>I have a huge problem and i need you to help me..
>>>
>>>i am doing an user control (ascx) with 4 input fields. i need the input
>>fields
>>>because i need to trap the onblur event to fill the box with "0" at the
>>right.
>>>i already achieved that.
>>>
>>>now i want to pass the values from the input fields to a variable session
>>>when i post with the aspx. There's anyway to pass the fields and then
get
>>>it with response.QueryString?
>>>
>>>Thanks!
>>>
>>>Joseph
>>
>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks