Ok, im not sure if this is at all possible and if it is how i go about it is
beyond me
i have a piece of client side code that requires a piece of data from the
server side (an ID number in this case)
how can i pass the data from one side to the other, or retrieve it from the
webform on the client side?
i hope ive explained this properly
Mike Fellows 8 3684
Mike,
This is one of the most common tasks in ASP.NET development. The solution is
to use hidden elements. If you need a single id value, you can use any html
element capable of holding values. If you need to pass the value back, you
need to use a <input type="hidden" ...>. If you need an id column in a grid,
you need to ad a column to your datagrid and make it invisible with a
stylesheet rule.
Note, if you use a server control and set property Visible to false, the
control won't be rendered to the client and you won't get anything.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message
news:WpbEc.1276 $Cs1.434@newsfe 6-win... Ok, im not sure if this is at all possible and if it is how i go about it
is beyond me
i have a piece of client side code that requires a piece of data from the server side (an ID number in this case)
how can i pass the data from one side to the other, or retrieve it from
the webform on the client side?
i hope ive explained this properly
Mike Fellows
Eliyahu,
ok i sort of understand (though not fully)
if i have a label on my webform called MyLabel
and i have a clientside HTML button that runs my client side code
i want my HTML button to get the value of MyLabel so that i can use it
clientside
"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message
news:u2******** ******@TK2MSFTN GP10.phx.gbl... Mike,
This is one of the most common tasks in ASP.NET development. The solution
is to use hidden elements. If you need a single id value, you can use any
html element capable of holding values. If you need to pass the value back, you need to use a <input type="hidden" ...>. If you need an id column in a
grid, you need to ad a column to your datagrid and make it invisible with a stylesheet rule.
Note, if you use a server control and set property Visible to false, the control won't be rendered to the client and you won't get anything.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message news:WpbEc.1276 $Cs1.434@newsfe 6-win... Ok, im not sure if this is at all possible and if it is how i go about
it is beyond me
i have a piece of client side code that requires a piece of data from
the server side (an ID number in this case)
how can i pass the data from one side to the other, or retrieve it from the webform on the client side?
i hope ive explained this properly
Mike Fellows
That's fine. Give you label an id and refer to it from javascript. If it is
an asp:Label, it will translate to <span> and you can get the label text via
innerText property.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message
news:s1eEc.1931 $Cs1.1084@newsf e6-win... Eliyahu,
ok i sort of understand (though not fully)
if i have a label on my webform called MyLabel
and i have a clientside HTML button that runs my client side code
i want my HTML button to get the value of MyLabel so that i can use it clientside
"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message news:u2******** ******@TK2MSFTN GP10.phx.gbl... Mike,
This is one of the most common tasks in ASP.NET development. The
solution is to use hidden elements. If you need a single id value, you can use any html element capable of holding values. If you need to pass the value back,
you need to use a <input type="hidden" ...>. If you need an id column in a grid, you need to ad a column to your datagrid and make it invisible with a stylesheet rule.
Note, if you use a server control and set property Visible to false, the control won't be rendered to the client and you won't get anything.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message news:WpbEc.1276 $Cs1.434@newsfe 6-win... Ok, im not sure if this is at all possible and if it is how i go about it is beyond me
i have a piece of client side code that requires a piece of data from the server side (an ID number in this case)
how can i pass the data from one side to the other, or retrieve it
from the webform on the client side?
i hope ive explained this properly
Mike Fellows
Eliyahu,
I hate to be a pain, but im probably more confused than ever
could you point me in the direction of an example at all?
(ive tried searching for them but i cant find any)
Thanks
Mike
"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message
news:ei******** *****@tk2msftng p13.phx.gbl... That's fine. Give you label an id and refer to it from javascript. If it
is an asp:Label, it will translate to <span> and you can get the label text
via innerText property.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message news:s1eEc.1931 $Cs1.1084@newsf e6-win... Eliyahu,
ok i sort of understand (though not fully)
if i have a label on my webform called MyLabel
and i have a clientside HTML button that runs my client side code
i want my HTML button to get the value of MyLabel so that i can use it clientside
"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message news:u2******** ******@TK2MSFTN GP10.phx.gbl... Mike,
This is one of the most common tasks in ASP.NET development. The solution is to use hidden elements. If you need a single id value, you can use any html element capable of holding values. If you need to pass the value back, you need to use a <input type="hidden" ...>. If you need an id column in a grid, you need to ad a column to your datagrid and make it invisible with a stylesheet rule.
Note, if you use a server control and set property Visible to false,
the control won't be rendered to the client and you won't get anything.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message news:WpbEc.1276 $Cs1.434@newsfe 6-win... > Ok, im not sure if this is at all possible and if it is how i go
about it is > beyond me > > i have a piece of client side code that requires a piece of data
from the > server side (an ID number in this case) > > how can i pass the data from one side to the other, or retrieve it from the > webform on the client side? > > i hope ive explained this properly > > Mike Fellows > >
Mike,
Let's say you want to pass hidden id value from server to client.
1. Add a hidden label control to the aspx page:
<asp:Label id="hiddenId" runat="server" CssClass="Hidde n"></asp:Label>
Add a stylesheet rule for Hidden to the page: .Hidden{display :none}
2. In the code-behind on server-side assign values to the id:
hiddenId.Text = "12345";
3. In javascripts on client-side get the value:
var id=hiddenId.inn erText;
If it is not clear, please tell me what step causes a problem.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message
news:yweEc.2058 $Cs1.739@newsfe 6-win... Eliyahu,
I hate to be a pain, but im probably more confused than ever
could you point me in the direction of an example at all? (ive tried searching for them but i cant find any)
Thanks
Mike
"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message news:ei******** *****@tk2msftng p13.phx.gbl... That's fine. Give you label an id and refer to it from javascript. If it is an asp:Label, it will translate to <span> and you can get the label text via innerText property.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message news:s1eEc.1931 $Cs1.1084@newsf e6-win... Eliyahu,
ok i sort of understand (though not fully)
if i have a label on my webform called MyLabel
and i have a clientside HTML button that runs my client side code
i want my HTML button to get the value of MyLabel so that i can use it clientside
"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message news:u2******** ******@TK2MSFTN GP10.phx.gbl... > Mike, > > This is one of the most common tasks in ASP.NET development. The solution is > to use hidden elements. If you need a single id value, you can use
any html > element capable of holding values. If you need to pass the value
back, you > need to use a <input type="hidden" ...>. If you need an id column in
a grid, > you need to ad a column to your datagrid and make it invisible with
a > stylesheet rule. > > Note, if you use a server control and set property Visible to false,
the > control won't be rendered to the client and you won't get anything. > > Eliyahu > > "Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in
message > news:WpbEc.1276 $Cs1.434@newsfe 6-win... > > Ok, im not sure if this is at all possible and if it is how i go about it > is > > beyond me > > > > i have a piece of client side code that requires a piece of data from the > > server side (an ID number in this case) > > > > how can i pass the data from one side to the other, or retrieve it from > the > > webform on the client side? > > > > i hope ive explained this properly > > > > Mike Fellows > > > > > >
Eliyahu,
ok all worked fine on the server side, but i get an error on page on load
im including my code so you can see what im doing, i think the problem lies
within the javascript script
thanks
Mike
<HTML>
<HEAD>
<title>WebForm1 </title>
<meta content="Micros oft Visual Studio .NET 7.1" name="GENERATOR ">
<meta content="Visual Basic .NET 7.1" name="CODE_LANG UAGE">
<meta content="JavaSc ript" name="vs_defaul tClientScript">
<meta content="http://schemas.microso ft.com/intellisense/ie5"
name="vs_target Schema">
<SCRIPT language="javas cript">
var id=hiddenId.inn erText
</SCRIPT>
<SCRIPT language="VBScr ipt">
Dim objWord
Dim exists
Sub OpenDoc()
Set objWord = CreateObject("W ord.Application ")
objWord.Documen ts.Open("\\Grin gotts\common
documents\AutoP ackProduction\R emortgage\Factf ind.doc")
objWord.Visible = true
objWord.actived ocument.saveas( "c:\"& id &".doc")
set objWord=nothing
End Sub
</SCRIPT>
</HEAD>
<body MS_POSITIONING= "GridLayout ">
<form id="Form1" method="post" runat="server">
</form>
<input style="Z-INDEX: 101; LEFT: 165px; WIDTH: 157px; POSITION: absolute;
TOP: 82px; HEIGHT: 48px"
onclick="opendo c()" type="button" value="opendoc" >
<asp:label id="hiddenId" style="Z-INDEX: 102; LEFT: 50px; POSITION:
absolute; TOP: 28px" runat="server"
CssClass="Hidde n"></asp:label>
</body>
</HTML>
"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message
news:OG******** ******@tk2msftn gp13.phx.gbl... Mike,
Let's say you want to pass hidden id value from server to client.
1. Add a hidden label control to the aspx page: <asp:Label id="hiddenId" runat="server" CssClass="Hidde n"></asp:Label> Add a stylesheet rule for Hidden to the page: .Hidden{display :none}
2. In the code-behind on server-side assign values to the id: hiddenId.Text = "12345";
3. In javascripts on client-side get the value: var id=hiddenId.inn erText;
If it is not clear, please tell me what step causes a problem.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message news:yweEc.2058 $Cs1.739@newsfe 6-win... Eliyahu,
I hate to be a pain, but im probably more confused than ever
could you point me in the direction of an example at all? (ive tried searching for them but i cant find any)
Thanks
Mike
"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message news:ei******** *****@tk2msftng p13.phx.gbl... That's fine. Give you label an id and refer to it from javascript. If
it is an asp:Label, it will translate to <span> and you can get the label
text via innerText property.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message news:s1eEc.1931 $Cs1.1084@newsf e6-win... > Eliyahu, > > ok i sort of understand (though not fully) > > if i have a label on my webform called MyLabel > > and i have a clientside HTML button that runs my client side code > > i want my HTML button to get the value of MyLabel so that i can use
it > clientside > > > > > > "Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message > news:u2******** ******@TK2MSFTN GP10.phx.gbl... > > Mike, > > > > This is one of the most common tasks in ASP.NET development. The solution > is > > to use hidden elements. If you need a single id value, you can use any > html > > element capable of holding values. If you need to pass the value back, you > > need to use a <input type="hidden" ...>. If you need an id column
in a > grid, > > you need to ad a column to your datagrid and make it invisible
with a > > stylesheet rule. > > > > Note, if you use a server control and set property Visible to
false, the > > control won't be rendered to the client and you won't get
anything. > > > > Eliyahu > > > > "Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in
message > > news:WpbEc.1276 $Cs1.434@newsfe 6-win... > > > Ok, im not sure if this is at all possible and if it is how i go about > it > > is > > > beyond me > > > > > > i have a piece of client side code that requires a piece of data from > the > > > server side (an ID number in this case) > > > > > > how can i pass the data from one side to the other, or retrieve
it from > > the > > > webform on the client side? > > > > > > i hope ive explained this properly > > > > > > Mike Fellows > > > > > > > > > > > >
Mike,
A few things:
You can't have webcontrols outside <form> tags.
The javascript should be a function and you should call it on client-side
load event:
<SCRIPT language="javas cript">
var id;
function getId() {id=hiddenId.in nerText;}
</SCRIPT>
....
<body MS_POSITIONING= "GridLayout " onload="getId() ">
After this variable id is available to other javascripts functions on the
page.
Also the stylesheet rule for Hidden is missing, unless you don't want to
hide the id.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message
news:OyfEc.2307 $Cs1.737@newsfe 6-win... Eliyahu,
ok all worked fine on the server side, but i get an error on page on load
im including my code so you can see what im doing, i think the problem
lies within the javascript script
thanks
Mike
<HTML> <HEAD> <title>WebForm1 </title> <meta content="Micros oft Visual Studio .NET 7.1" name="GENERATOR "> <meta content="Visual Basic .NET 7.1" name="CODE_LANG UAGE"> <meta content="JavaSc ript" name="vs_defaul tClientScript"> <meta content="http://schemas.microso ft.com/intellisense/ie5" name="vs_target Schema">
<SCRIPT language="javas cript"> var id=hiddenId.inn erText </SCRIPT>
<SCRIPT language="VBScr ipt"> Dim objWord Dim exists Sub OpenDoc() Set objWord = CreateObject("W ord.Application ") objWord.Documen ts.Open("\\Grin gotts\common documents\AutoP ackProduction\R emortgage\Factf ind.doc") objWord.Visible = true objWord.actived ocument.saveas( "c:\"& id &".doc") set objWord=nothing End Sub </SCRIPT>
</HEAD> <body MS_POSITIONING= "GridLayout "> <form id="Form1" method="post" runat="server"> </form> <input style="Z-INDEX: 101; LEFT: 165px; WIDTH: 157px; POSITION:
absolute; TOP: 82px; HEIGHT: 48px" onclick="opendo c()" type="button" value="opendoc" > <asp:label id="hiddenId" style="Z-INDEX: 102; LEFT: 50px; POSITION: absolute; TOP: 28px" runat="server" CssClass="Hidde n"></asp:label> </body> </HTML> "Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message news:OG******** ******@tk2msftn gp13.phx.gbl... Mike,
Let's say you want to pass hidden id value from server to client.
1. Add a hidden label control to the aspx page: <asp:Label id="hiddenId" runat="server" CssClass="Hidde n"></asp:Label> Add a stylesheet rule for Hidden to the page: .Hidden{display :none}
2. In the code-behind on server-side assign values to the id: hiddenId.Text = "12345";
3. In javascripts on client-side get the value: var id=hiddenId.inn erText;
If it is not clear, please tell me what step causes a problem.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message news:yweEc.2058 $Cs1.739@newsfe 6-win... Eliyahu,
I hate to be a pain, but im probably more confused than ever
could you point me in the direction of an example at all? (ive tried searching for them but i cant find any)
Thanks
Mike
"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message news:ei******** *****@tk2msftng p13.phx.gbl... > That's fine. Give you label an id and refer to it from javascript.
If it is > an asp:Label, it will translate to <span> and you can get the label text via > innerText property. > > Eliyahu > > "Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in
message > news:s1eEc.1931 $Cs1.1084@newsf e6-win... > > Eliyahu, > > > > ok i sort of understand (though not fully) > > > > if i have a label on my webform called MyLabel > > > > and i have a clientside HTML button that runs my client side code > > > > i want my HTML button to get the value of MyLabel so that i can us
e it > > clientside > > > > > > > > > > > > "Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message > > news:u2******** ******@TK2MSFTN GP10.phx.gbl... > > > Mike, > > > > > > This is one of the most common tasks in ASP.NET development. The > solution > > is > > > to use hidden elements. If you need a single id value, you can
use any > > html > > > element capable of holding values. If you need to pass the value back, > you > > > need to use a <input type="hidden" ...>. If you need an id
column in a > > grid, > > > you need to ad a column to your datagrid and make it invisible with a > > > stylesheet rule. > > > > > > Note, if you use a server control and set property Visible to false, the > > > control won't be rendered to the client and you won't get anything. > > > > > > Eliyahu > > > > > > "Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message > > > news:WpbEc.1276 $Cs1.434@newsfe 6-win... > > > > Ok, im not sure if this is at all possible and if it is how i
go about > > it > > > is > > > > beyond me > > > > > > > > i have a piece of client side code that requires a piece of
data from > > the > > > > server side (an ID number in this case) > > > > > > > > how can i pass the data from one side to the other, or
retrieve it > from > > > the > > > > webform on the client side? > > > > > > > > i hope ive explained this properly > > > > > > > > Mike Fellows > > > > > > > > > > > > > > > > > > > >
you are a superstar
thanks Eliyahu
Mike
"Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message
news:%2******** ********@TK2MSF TNGP09.phx.gbl. .. Mike,
A few things:
You can't have webcontrols outside <form> tags.
The javascript should be a function and you should call it on client-side load event: <SCRIPT language="javas cript"> var id; function getId() {id=hiddenId.in nerText;} </SCRIPT> ... <body MS_POSITIONING= "GridLayout " onload="getId() "> After this variable id is available to other javascripts functions on the page.
Also the stylesheet rule for Hidden is missing, unless you don't want to hide the id.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message news:OyfEc.2307 $Cs1.737@newsfe 6-win... Eliyahu,
ok all worked fine on the server side, but i get an error on page on
load im including my code so you can see what im doing, i think the problem lies within the javascript script
thanks
Mike
<HTML> <HEAD> <title>WebForm1 </title> <meta content="Micros oft Visual Studio .NET 7.1" name="GENERATOR "> <meta content="Visual Basic .NET 7.1" name="CODE_LANG UAGE"> <meta content="JavaSc ript" name="vs_defaul tClientScript"> <meta content="http://schemas.microso ft.com/intellisense/ie5" name="vs_target Schema">
<SCRIPT language="javas cript"> var id=hiddenId.inn erText </SCRIPT>
<SCRIPT language="VBScr ipt"> Dim objWord Dim exists Sub OpenDoc() Set objWord = CreateObject("W ord.Application ") objWord.Documen ts.Open("\\Grin gotts\common documents\AutoP ackProduction\R emortgage\Factf ind.doc") objWord.Visible = true objWord.actived ocument.saveas( "c:\"& id &".doc") set objWord=nothing End Sub </SCRIPT>
</HEAD> <body MS_POSITIONING= "GridLayout "> <form id="Form1" method="post" runat="server"> </form> <input style="Z-INDEX: 101; LEFT: 165px; WIDTH: 157px; POSITION: absolute; TOP: 82px; HEIGHT: 48px" onclick="opendo c()" type="button" value="opendoc" > <asp:label id="hiddenId" style="Z-INDEX: 102; LEFT: 50px; POSITION: absolute; TOP: 28px" runat="server" CssClass="Hidde n"></asp:label> </body> </HTML> "Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message news:OG******** ******@tk2msftn gp13.phx.gbl... Mike,
Let's say you want to pass hidden id value from server to client.
1. Add a hidden label control to the aspx page: <asp:Label id="hiddenId" runat="server" CssClass="Hidde n"></asp:Label> Add a stylesheet rule for Hidden to the page: .Hidden{display :none}
2. In the code-behind on server-side assign values to the id: hiddenId.Text = "12345";
3. In javascripts on client-side get the value: var id=hiddenId.inn erText;
If it is not clear, please tell me what step causes a problem.
Eliyahu
"Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message news:yweEc.2058 $Cs1.739@newsfe 6-win... > Eliyahu, > > I hate to be a pain, but im probably more confused than ever > > could you point me in the direction of an example at all? > (ive tried searching for them but i cant find any) > > Thanks > > Mike > > > "Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in message > news:ei******** *****@tk2msftng p13.phx.gbl... > > That's fine. Give you label an id and refer to it from javascript. If it > is > > an asp:Label, it will translate to <span> and you can get the
label text > via > > innerText property. > > > > Eliyahu > > > > "Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message > > news:s1eEc.1931 $Cs1.1084@newsf e6-win... > > > Eliyahu, > > > > > > ok i sort of understand (though not fully) > > > > > > if i have a label on my webform called MyLabel > > > > > > and i have a clientside HTML button that runs my client side
code > > > > > > i want my HTML button to get the value of MyLabel so that i can
us e it > > > clientside > > > > > > > > > > > > > > > > > > "Eliyahu Goldin" <re************ *@monarchmed.co m> wrote in
message > > > news:u2******** ******@TK2MSFTN GP10.phx.gbl... > > > > Mike, > > > > > > > > This is one of the most common tasks in ASP.NET development.
The > > solution > > > is > > > > to use hidden elements. If you need a single id value, you can use any > > > html > > > > element capable of holding values. If you need to pass the
value back, > > you > > > > need to use a <input type="hidden" ...>. If you need an id column in a > > > grid, > > > > you need to ad a column to your datagrid and make it invisible with a > > > > stylesheet rule. > > > > > > > > Note, if you use a server control and set property Visible to false, > the > > > > control won't be rendered to the client and you won't get anything. > > > > > > > > Eliyahu > > > > > > > > "Mike Fellows" <mi************ ***@equityhouse .co.uk> wrote in message > > > > news:WpbEc.1276 $Cs1.434@newsfe 6-win... > > > > > Ok, im not sure if this is at all possible and if it is how
i go > about > > > it > > > > is > > > > > beyond me > > > > > > > > > > i have a piece of client side code that requires a piece of data > from > > > the > > > > > server side (an ID number in this case) > > > > > > > > > > how can i pass the data from one side to the other, or
retrieve it > > from > > > > the > > > > > webform on the client side? > > > > > > > > > > i hope ive explained this properly > > > > > > > > > > Mike Fellows > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Gung Ho |
last post by:
I am using ASP to open a text file on the server and I want to pass
variables to Javascript.
Any suggestions?
For example - I have a text file on the server defining a set of pictures.
I open the text file to retrieve the list of files. I want to pass the list
of files to the Javascript which will then display the data on the client
machine.
|
by: Oscar |
last post by:
I am looking for a way to pass an ADO recordset that has been retrieved in
an ASP page to another HTML-page. Is there someone who can provide me with a
small sample or a link to see how this is done?
regards,
Oscar
|
by: KKramsch |
last post by:
OK, here's the scenario: I have a CGI script that generates a
page with frames (BTW, I'm not crazy about frames, but in this case
the decision to use them is out of my hands). In a typical session,
the user interacts with two of these frames extensively, and up to
the very end of the session, this interaction is handled entirely
client-side by a fairly elaborate JavaScript script. (This
interaction takes place exclusively via HTML...
|
by: vbMark |
last post by:
Hello,
I am doing this:
window.location="page2.php?subj="+subj+"&body="+body;
to send information to another page.
However, I don't want that second page to show up or display in any way.
There is only behind-the-scenes work going on in that page.
|
by: Cemal Karademir |
last post by:
Hello,
Please forgive my simple question, but i don't know the correct synatx.
From the masterpage i want to put a text in an textbox and then select an
item in the datagrid. I do know how to pass the items in the datagrid(e.g.
PLU, description, etc.) to an other (detail)page, but i don't know the
correct syntax of how to pass the textbox value to the detailpage.
I have the following code:
| |
by: Carlos Alejandro Pérez |
last post by:
hi
I need to perform this sequence:
- a webform A calls another webform B. Webform B should be a modal one
- when data is entered in webform B, the user chooses close window
- the data must be captured and processed by webform A, if possible,
*without* clicking on a button to force this.
I know I should use IFrames. Can any1 here give me a clue regarding this?
Can the application object be used to fire events automatically in webform A...
|
by: Jerry Camel |
last post by:
Basic Web Form... A few text boxes and a checkbox - and a card reader...
The effect I want to accomplish is this:
The basic credit card fields are there and can be filled out. But if the
user swipes the card, I want to fill out the fields automatically and make
them read only. (So far I can do this.)
But I also want a checkbox to appear that indicates the card was swiped.
The user can clear the checkbox, re-enabling the fields so...
|
by: Arne |
last post by:
How do I pass a dataset to a webservices? I need to submit a shoppingcart
from a pocket PC to a webservice.
What is the right datatype?
II have tried dataset as a datatype, but I can't get it to compile.
<WebMethod()> _
Public Function VerifySku(ByVal skus As XmlDataDocument) As DataSet
Test program :
Dim cartSet As DataSet
cartSet = ws.VerifySku(cartSet)
|
by: =?iso-8859-1?Q?S=F8ren_M._Olesen?= |
last post by:
Hi
How do I pass a complex type to a webservice??
What I have is a Class 'MyComplexClass' which lives in it's own dll/namespace. I'd like to pass this class to my webmethod:
<WebMethod()_
Public Sub MyMethod(ByVal arg As MyComplexClass)
End Sub
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |