I am creating a point of sale application but I have an issue that I have a page in which I want to show the Product Items and on the same page I want to display the cart.I have done this by using the frame set but the issue is whenever I have added a new item it doesn't show on a cart untill I refresh the whole page.I think I have to use update panel through AJAX.But how could I apply this or any other solution could any one suggest please help me.
That how it works. The page has to send a request to the server to get new HTML that represents the current data stored.
The update panel just puts round trips to the server into a smaller container, so your still doing a postback, but just a partial page postback. The update panels works fine in developement, but in production mode, as you get farther away from the server in distance (4K miles away), the speed slows down, and the page gets jerky and stutters. The update panels is sensitive to data changes, with the exception of the textbox and dropdown box selected values, in which it has security features that do not accept changes. So if the server sent one thing, and another posted back, a security exception will be thrown.
Or just change the user experience, by sending them to a confirmation page, and then send then back to the origin page. When they come back, everything is updated.
Normally, you'd generate a set of service proxy classes to handle the communication to the server. Working at the Http level/rolling your own messages is normally tiresome and needless, thankfully there is a wsdl defining the service you want to use.
You can also add a reference to the web service by right-clicking the project --> add service reference and using http://22.214.171.124/kannelsending/service.asmx as the service address. Don't know how well it works with external IPs, and if anything changes with the external service, it could break your code.
actually i am developing a web application ..in that web application i have lot of label controls ,buttons and textbox placed in the top of the page.in the bottom of the page i placed a gridview control..when i click the view button the top of the controls like textbox and labels will be disabled and gridview is placed at the top of the page..but for the gridview is displayed bottom page only...can anyone help me how to view the gridview control in the top of the page....thanks in advance
i have a lot of controls in a webpage like buttons labels and textbox,,,and in the bottom page i kept one grid view..while in run time i kept hide the gridview during the page load,if the button view is clicked,i want to disable the textboxes and labels and buttons which i kept in the top page,and replace that in gridview controls..i did it but gridview is displayed in bottom page only,,it will appear in the top of the page..can u pls help