asp.net,ajax [英] asp.net ,ajax

查看:71
本文介绍了asp.net,ajax的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我的凭证输入表格有问题.
我在GridView中使用自动完成文本框选择参与方名称.现在我要被选择方时,其总余额将在GridView中的另一个项目的模板栏填写.当我是AJAX新手时,该怎么办?
请给我解决方案

Hi,
I have a problem in voucher entry form.
I m using auto complete text box in GridView for selecting party name. Now I want that when party is selected, its total balance amount will be filled in another item template column of GridView. How can I do this?as I m new in AJAX.
Please give me solution

推荐答案

将不会提供完整的解决方案.

现在,如果只是平衡总数,并且渲染的UI已经具有所有信息,则您不需要任何AJAX调用.一个简单的JavaScript方法调用和在客户端上处理控制值就可以了.

如果需要进行服务器端交互以平衡某些值,那么针对您的方案,最简单而又不错的方法是使用传统AJAX" == XMLHttprequest.
谷歌为此,如果需要的话.试试吧!
Complete solution would not be provided.

Now, if it''s just balancing some total and the rendered UI already has all the info then you don''t need any AJAX call or so. A simple JavaScript method call and processing control values on client side would do.

If, there needs to be some server side interaction for balancing some value then easiest and nice approach for your scenario would be to use ''traditional AJAX'' == XMLHttprequest.
Google for it, if needed. Try!


这篇关于asp.net,ajax的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆