problem with getting the value from the Child Form #2
i Have one Dropdownlist and Button on my Child Window and i want to get the selectedvalue of this dropdrown in my Parents window on the click of button and also i want to closed the Child window. Here i writedown the code below.
Parent Window link
<input name="txtAirportCode" type="text" runat="server" class="formStyle1b" id="txtAirportCode" />
<a href="#" onclick="window.open('Airport.aspx?text=txtAirportCode,null,'width=800,height=400,left=270,top=180')">Change Airport </a>
and in my Child Window ('Airport.aspx)
<asp:DropDownList...Getting Value from Client-side InputBox to .net variable
here's the logic of my program, user logs in hits the button and sub-routine Login will be fired, if user is late -- call Check_Late Sub, this is whre the client-side script was built -- then after that i wanted to be able to get the value from an inputbox.
'// if button login clicked
Sub Login(Sender As Object, E As EventArgs)
.......how to get value from client side script Prompt window to a session var in .net
i hav a problem with getting a value from a client-side inputbox to a session var in .net.
is this possible?
however, when i click submit button this is the code that's triggered.
dim sb as New System.Text.StringBuilder
sb.append("<script language=" & """" & "vbscript" & """" & ">")
sb.append("do while xLate =" & """" & """")
'//prompt window, val...How to get the Client side values in server side code.
how can i pass those values?
i am using version 1.1, i kno thatwe can use callback events mechnisam in 2.0 or ajax ,apart from that how we can pass?
My problem is i need to stop the execution of the code based on after reciving values from the client
any ideas please???
Feel free to go deeper in your que...Problem passing value client-side to server-side
I have a page that calls a pop-up while passing an encrypted value via a query string.
This decryption occurs on closing the child (popup) and I am at a loss of when and how I should get this value to the server-side.
I have 2 different .aspx files that require the input of a stock code. The stock code field on each form is defined as follows:-
<INPUT id="txtStockCode" type="text" maxLength="30" name="txtStockCode" runat="server">
Next to the field on each form I have a clickable image defined as follows:-
<IMG id="imgLookupStockItem" onclick="window.open('../frmLookup.aspx?Object=StockCodes')" src="../images/binoc.ico" name="LookupStockItem">
From client side function:
addr=addr + "&C" + i + "=" + <%=BSCStr[i]%>;
From client side function:
addr=addr + "&C" + i + "=" + <%=BSCStr[i]%>;...How to get value from client side
in my program I want to send a value to my modal popup, how can I do that?
Is it what you are looking for?http://forums.asp.net/thread/1618616.aspx Anish DevasiaMCP,MCAD---------------------------------------------------...Client Side Get Value
I am trying to retrieve the current value of a textbox from my code behind and assign it to a variable. Currently I am using something like
dim id as new string
id = txtbox1.text.toString()
But I am having trouble taking the value ...Getting values from child form?
I have a few inputs for UserID, and when the user click on "Find", a
child window will pop up. After selecting the UserID in the child
window, how can I pass the value back to the parent form?
some of my codes...
<input id="txtApprover1" type="text" name="txtApprover1"/>
style="WIDTH: 55px; HEIGHT: 15px" height...pls help: how to get client-side HTML "text field" value from a server side button
I have no knowledge in writing client side script(i.e. write code in html)
can i write some code in a server-side button to get the value in the HTML text field???
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
textbox1.text = document.getElementById("htmltext").value
but "document" is highlighted, and say isn't declar yet.
and...How can I set client side values as server side values?
Can anyone tell me how I can get client side values such as
document.referrer, navigator.appName etc... into server side scripts?
There are some client side values I'd like to set as session vars and
insert into the db?
How do I go about this?
Thanks for any pointers
PS (I'm using powersite 126.96.36.1990)
Pass them as page parameters, e.g.,
Then, in your server-side script, just loop through the document.value array
and get these values.