473,386 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

How to Acces inline field value in c# code behind?

nirmalsingh
218 100+
hai all,
i am having 3 pages, such as
1.main.html
2.middle.js(ajax technology)
3.server.aspx(c#)

now, without passing url parameter through middle.js to server.aspx, i want to get text box value of main.html in server.aspx(code behind). how can i get the client side value in server side script(c#)?
Jun 6 '07 #1
2 1866
nateraaaa
663 Expert 512MB
Have you considered changing the .html file to a aspx file so that you can access the value of the Text Box more easily? You could then save the value in the text box as a Session variable to access the value in another .aspx page.

Nathan
Jun 6 '07 #2
nirmalsingh
218 100+
Have you considered changing the .html file to a aspx file so that you can access the value of the Text Box more easily? You could then save the value in the text box as a Session variable to access the value in another .aspx page.

Nathan
thanx for reply nathan,
actually it is a aspx page only, not html, for example i mentioned as html. i dont want to use session for some reasons. suggest me another way to do this.
Jun 7 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

30
by: Will Pittenger | last post by:
Does C# inline functions? I do not see a inline keyword. Is there an implicit inline? Can the compiler select functions for auto-inlining? I am more used to C++ where all these things are...
0
by: dotnet | last post by:
I am trying to make a page that is changing the page schema(colors and graphics) depends on the specific value (for example, test.aspx?page=1) I have so far achieved accepting page values (with...
3
by: Mitch A | last post by:
What are the advantages of using inline C# code in my aspx pages (with inline I mean directly in the html between <% %>) versus code behind. It seems messy and inelegant to have code in both...
2
by: Newbie \(C#,Asp.net\) | last post by:
Hi I have two simple questions that I make sure that I have underestood them 1) what is the main difference between inline coding and code behind besides that code behind is part of DLL and is...
6
by: Anders M | last post by:
I'm trying to use Inline-code to call Page_load, Page_Init or Page_PreRender methods. I've also got a code behind c#-file. I can define inline methods for buttons and so on...that works fine....
1
by: xenophon | last post by:
I add a Hidden form field to my asp.net page in the codebehind, the Value peoperty is set to 0 and EnableViewState is set to true. Then I add a LiteralControl with JavaScript that says to set the...
5
by: Mrozu | last post by:
Hi I have frm1. On this form button.Click code for this button is: Dim frm2 as New frm2 frm2.show So after click, frm2 form is shown.
4
by: Matt | last post by:
I am no JavaScript guru so please bear with me and be as detailed as possible with your response. I thank you in advance. I have an ASP page that contains form elements. I also have an inline...
0
by: =?Utf-8?B?U2hpdmEgUmFtYW5p?= | last post by:
Though there are several blogs/Q&A's on inline or codebehind debate, I would like to know the compilation model or the process thats happenign when we use Inline or code behind in ASPX. Would it be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
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,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.