I have some web services.
example: PatientService
In my VS2003 project after adding the web reference I can use the name PatientService.
example: myPatientService = new MyServices.PatientService();
When I try this in VS2005 the name of my service is not PatientService but PatientServiceSoap...
In Visual Studio 2003 you can add a web reference to a disco file. When the link is added you can change the property "Custom Tool" of "reference.map".
Now I'm trying to make a web application in Visual Studio 2005. I made a web reference to the same disco file as in my Visual Studio 2003...
I have a project (UserControls) with one user control (myControl) and one web form (myForm).
On the web form there is only the user control (myControl).
On my local machine the web form runs fine.
I copied the files to the production machine in the same structure as on my local machine.
I get...
I want to copy a string to the clipboard.
The string must have some newlines (CRLF).
When I run the page I get an error.
This is the code:
<SCRIPT LANGUAGE='JavaScript'>
function CopyToClipboard()
{
var Data;
Data = 'This is the first line.' + '\n' + 'This is the second line.'...
Is it possible to change the value of a HTML control in the code behind (server side)?
So the value attribute has to be changed in the code behind, for example when an asp:button is clicked.
HTML control textbox:
<INPUT id="myTextbox" type="text" value="test">
I made a user control and in this user control I have some clientside script (Page.RegisterClientScriptBlock in the page_load of the user control).
In this script I want to know the content of an ASP-label.
for example:
<asp:label id=lblText runat="server"></asp:label>.
How can I get the...
I have a web user control UC1.ascx.
This web user control has another web user control on it UC2.ascx.
When a button in UC2 is clicked there has to be raised an event in UC1 and the content of a textbox of UC2 has to be available in UC1.
Is there anyone who has an example in C# of raising...
On my webform I have a dropdownlist.
In this dropdownlist I want to display ID and description.
In my datasource I made a field ID_Description:
ID_Description = ID.trim() + " " + Description.trim();
I used this field as DataTextField in the dropdownlist.
Problem: ID and Description have not the...
I have made two web user controls (Control_1 and Control_2) with some labels and buttons on it.
Is it possible to load Control_2 dynamic at runtime in Control_1?
Control_1 is part of the web page default.aspx.
So in the page_load of Control_1 I thought to use following code:
Control_2 myControl...
I made a webservice that I copied to another webserver.
When I do http://WebServer1/MyWebservice/MyWebservice.asmx I get the download dialog "open or save" instead of the html page linked to the webservice.
Does anyone know how to solve this problem?
Thanks.
Ilse.
I have a text file in IFS (delimited with ;).
I want to copy the text file to a new database file that doesn't exist yet and of which there is no DDS.
The copy statement should create the database file with number of fields as in the text file. Field name does not matter: system may choose field...
I want to import an XML file in Microsoft Access 2003.
When I do the import I get several tables.
Is there a possibility to use an XML element as primary key and use this same XML element as part of a key in a second table?
Example:
<Items>
<Item>
<Code>ID1</Code>
<Description>Item...
Hi,
I have an XML file which I want to display in 2 columns on a HTML page (xsl conversion).
XML file:
<Test>
<Part>
<Code>P1</Code>
<Items>
<Item><Code>ID1</Code><Desc>Item 1</Desc></Item>
<Item><Code>ID2</Code><Desc>Item 2</Desc></Item>...
In my HTML I have script to send XML to an ASP.
The ASP has to send an answer to the client script.
I tried the example on http://www.w3schools.com/dom/dom_http.asp but it doesn't work. I don't get an answer from the server ASP.
Does anyone know why I get no anwser from the server ASP.
I get...
In my html script I use XMLHTTP to post an xml document to the server. The server program has to send an answer to the client.
In the ASP I send "successful" back to the client.
But on the clientside I do not get back the "successful", I get an empty page.
What is the problem?
Thanks.
Ilse...
In my HTML document I have 3 checkboxes:
<INPUT type="checkbox" name="Items" id="A"/>
<INPUT type="checkbox" name="Items" id="B"/>
<INPUT type="checkbox" name="Items" id="C"/>
When I do the following script the result is 3.
alert (mydocument.forms["myForm"].Items.length);
When I change the...
Hi,
I have an XML file that is formatted through XSL:
http://WebServer1/Pgm/MyXML.xml
In MyXML.xml there is a link to MyXSL.xsl.
In Internet Explorer the XML file is shown with the correct information.
When I change the content of the XML file (notepad) and I reload in Internet Explorer it is...
Hi,
I installed VB6 on a new PC.
Now I want to compile my existing VB application on my new PC (application was written on other PC), but the compiler does not recognize the function Left() anymore.
How can that?
The Mid() function does work.
But I don't have the intention to change all the...
Hi,
I'm new on HTML.
In my HTML page I have two framesets and three frames.
When I use the tab key I don't want that the frames get focus (dotted rectangle round the frame).
When I use the tab key all frames + all controls on the HTML pages get focus. I only want the controls on the HTML...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.