Using AJAX and client side scripting with .NET objects?
I'm wanting to use client-side scripting and AJAX with some drop down boxes. I can't seem to do this with server-side .NET objects... changing the runat tag doesn't do anything either.
How can I expose .NET server objects so that they are affected by java script and AJAX?
Can anyone show me the steps to connect MS SQL Server via Internet
using TCP/IP protocol in the client side ? and How can I set the PB5
(Use native drive if possible) to connect this database.
Please describe in details.
Please reply to newsgroup directly or click the following email
Here's what must be configured at the server:
MS SQL Server is listening with the TCP/IP NetLib
The server is connected to the Internet via a dial-up connection or router
A firewall is not blocking SQL Server's TCP port
...How to prevent SQL Native Client from using Server Side Cursor when connecting to MS SQL 2000
I am now trying to connect to MS SQL 2000 using SQLNCLI10 / SQLNCLI as
I can connect to the database successfully but I observe that the sql
native client generates
sp_cursoropen, sp_cursorfetch etc even for a very simple select
statement embedded in PowerScript.
I think this will greatly impact the performance.
I have found that the select statement becomes a single statement batch
(no more sp_cursoropen etc) in the profiler trace
if the database is changed to MS SQL 2008.
How can I avoid it ? Add some setting to ProviderString in...When To Use Client Side vs Server Side vs AJAX
Before AJAX, it was fairly clear to me where to draw the line between functionality best performed server-side vs client-side. For example, database access and data processing is done on the server, and basic field validation and other UI stuff is done on the client. But now with AJAX implemented through Atlas, the line is blured.
I know what can be done... but what is the optimal way to design a web application using Atlas (in terms of what functionality should be implemented server-side versus client-side versus Ajax)? What is the prev...When to use client side varidation and server side varidation in .net?
In .net or classic web application we can varidate user data either on client isde or server side. How to select which side varidate to be used? Thanks!
objXmlDoc = new ActiveXObject("Msxml2.DOMDocument");
objHttp = new ActiveXObject("Msxml2.XMLHTTP");
strEnvelope = ??
objHttp.onreadystatechange = function()
Hi All.I am populating a drop down list client side using: The drop down list is populated based on a selection of another drop down list. ddlList.options[i] = new Option(1,2); as an exampleThe populating is done as i need it to. However, a button click event i am trying to get the selectedValue of the ddlList. However, it doesn't give me it. It only gives me the selectedValue of the drop down list on first rendering. Any ideas on how i can get it?
Could You paste some code? That would be helpful. Thanks S@ss (Shashi Shekhar Singh)My BlogPlease mark a post as ANSWER ...How do I get started with AJAX.Net?
I'm a seasoned asp.net developer but have not yet ventured into atlas et al.
I prefer books, but will take whatever I can get if it's good and will get me going.
Thx in advance.
try here first
then learn from sample and docJames Wu (MIB426).NET is only way to goMCP, MCSE, MCDBA, MCSD, MCAD
I find the materials online display features and implementations but are lacking architectural depth, and am seeking more comprehensive resources.
By architectural depth, I mean that I cannot watch ...Developed C#.net WebService 1.1 for Client C#.net 1.1. Getting error "Server was unable to process the Request" Pls Help
I developed Microsoft C#.net Web Services2003 for the Client Application C#.net 2003. When it runs in 5 machines it gives good performance and has no errors. But if i run the same application in about 80 client machines. Getting error "Server was unable to process the request". I use Sql Server 2005 as my database. I get error even when i login at a time for about 25 users. Tried modifying machine.config too. But went unsuccessful.
Live Server is 2003 using IIS 6.0
I use very expensive data handling. Its very urgent pls help. Have to post in Live Server.
HI,how can i call a webservice without using AJAX and Webservice.htc, using any protocols?Thanks.X
you could skip using an AJAX framework and issue an xmlHttpRequest directlyhttp://en.wikipedia.org/wiki/XMLHttpRequestMike Banavige~~~~~~~~~~~~Need a site code sample in a different language? Try converting it with: http://converter.telerik.com/
Hi, thanks mbanavige.well, is there any disadvantage of using xmlhttprequest?and one more question can AJAX also work on other web servers than IIS like Apache? and is AJAX compatible with all browsers other than IE?how can i call a web servi...getting IP address of the client using the webservice?
I want to get the IP address of the client system whoever accessing my webservice? how can i do that using my webservice?
Thanks in Advance,
Thanks for your reply. It works. I want to know one more t...Returning a gridview to the client side using a webservice
Here's what I'm trying to do.I build a web page with a gridview on it and the gridview is databound to a datatable.
Everything works great so far.If I click on on of the items on my new row (such as a button) that does a postback .Net screams because it can't find a reference to this new button on that row. I understand why it's doing that, it&...How i use Database Server Connection Client Side?
I need to use (share) Database server connection to client, i see some information, but it's confuse for me. (http://edn.embarcadero.com/br/print/38682 - Using server connections).
Where i get "ServerConnection" sub-property?
Where have to set it?
Download Bob Swart's white paper at
It provides a detailed explanation.
Bill Todd (TeamB)
Thank you for the reply, this paper have many usefull information, but don't answer my question at all. My problem is that. I have a mult...how to consume a .net webservice using java client ?
Hi experts, I really need your help. I have create one .net webservice , it is really simple , the code is shown below . [WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
// To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
public class Service1 : System.Web.Services.WebService
public string HelloWorld()