473,386 Members | 1,791 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.

using Ajax

6
hi all,

i want to do work on AJAX.My requirement is when i was select the dropdown that text has to display in the Textbox. in the debuggging am getting the value but its not binding to the textBox plz solve my problem.

and one more thing is am using one aspx page and one Js page.Is there any necessity to use 2 aspx pages,and 2 jscripts. one for clent side and another for sever side. Plz give me the reply its very imp to me plz plz thanx in advance.


Give me one example on ajax ow to write script and how to call tat script in teh aspx page.

Thanx again.
Jul 9 '07 #1
1 1136
Frinavale
9,735 Expert Mod 8TB
hi all,

i want to do work on AJAX.My requirement is when i was select the dropdown that text has to display in the Textbox. in the debuggging am getting the value but its not binding to the textBox plz solve my problem.

and one more thing is am using one aspx page and one Js page.Is there any necessity to use 2 aspx pages,and 2 jscripts. one for clent side and another for sever side. Plz give me the reply its very imp to me plz plz thanx in advance.


Give me one example on ajax ow to write script and how to call tat script in teh aspx page.

Thanx again.
Hi Sriii,

Microsoft has released a free .NET package that lets you use Ajax in your .NET web applications. You can get the framework from the official Microsoft ASP.Net Ajax website. There is a package there that has examples on how to use the tools that come with this package. It will help you out a lot (and its a lot of fun too!)

I'm not quite sure why you need to use Ajax to display a selected DropDownList value into a TextBox but if you end up getting that Ajax.NET framework, all you have to do is put the DropDownList and the TextBox into an UpdatePanel (set it's UpdateMode="Conditional" for asynchronous postback to the server) and then set the TextBox's Text value to the DropDownList selected value in the Server Side code for your aspx page.

I'm not sure what you are asking in the second part of your question. You can implement your aspx pages to use JavaScript, so I don't see a problem with using all aspx pages for your project.

Hope this helps you
-Frinny
Jul 9 '07 #2

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

Similar topics

5
by: Martin | last post by:
Hello NG, I've been doing some AJAX for a few weeks now. The basics worked fine so far, but now I've got the following problem which I can't solve: With AJAX you typically update/replace only...
4
by: s.bussing | last post by:
Hi All, I'm new to Atlas and I did some programming using AJAX, but I'm wondering if it is possible to hava a javascript which can call a server-site function, in my case to write data to the...
3
by: noballack | last post by:
I've got a problem, I'm working with Ajax in a web with a form with a list of checkbox added to the form via an Ajax.Updater method. These added checkboxs are not been sended by the form if I use...
5
by: lucyh3h | last post by:
Hi, I am trying to use XMLHttpRequest to do server side validation. I have several fields on a form and a submit button. The submit button has an event assocated with it when clicked. The...
13
by: Marvin Zhang | last post by:
Hi, I'm not familiar with web programming, but I have a problem here. I have a page. When a user click one button on it, I will use AJAX to request a PHP script which will do a bunch of tasks,...
6
by: =?Utf-8?B?U2hhd24gU2VzbmE=?= | last post by:
Greetings! I was researching AJAX to provide a solution to displaying status messages while a long process executed. I found several examples online and was able to use their code to get a quick...
2
by: shivendravikramsingh | last post by:
hi friends, i m using a ajax function for retrieving some values from a database table,and display the values in required field,my prob is that the ajax function i m using is working f9 once,but if...
8
by: Bhuwan Bhaskar | last post by:
Hi, Can we access database (SQL) using AJAX ? Thanks, Bhuwan
7
by: vjayis | last post by:
hi i hav a front page from which an ajax page is called and an text field is written in the front page using this ajax page. I need to validate the user access for this page: 1.the ajax page...
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: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
jinu1996
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...

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.