Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. IlseDC

    Name of web service in VS2005

    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...
  2. IlseDC

    Web Reference and Custom Tool property of reference.map (VS2005)

    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...
  3. IlseDC

    Could not load type ... (user control on web form)

    Solution: MyControl used some external DLL's that were not copied to the production server. So MyControl could not run and could not been loaded.
  4. IlseDC

    Could not load type ... (user control on web form)

    Yes I have the "Register" tag in the aspx page. <%@ Register TagPrefix="uc1" TagName="myControl" Src="myControl.ascx" %>
  5. IlseDC

    Could not load type ... (user control on web form)

    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...
  6. IlseDC

    Copy to clipboard - newline

    Thanks for your answer. The getElementById("<%=id1%>") works fine.
  7. IlseDC

    Copy to clipboard - newline

    I do know the structure of my application. The first problem was that I had to copy the content of a textbox to the clipboard. I did this with a javascript function that I defined at server side with RegisterClientScriptBlock. In the content of that textbox there were newlines so the javascript...
  8. IlseDC

    Copy to clipboard - newline

    I need to use server side and RegisterClientScriptBlock because in that javascript function I need the content of a textbox, for example txtTest. When I define the script at client side I tried to use document.getElementById to find the textbox and so retrieve the content. But getElementById...
  9. IlseDC

    Copy to clipboard - newline

    I make the javascript code at server side. At server side I make a string strScript with the javascript code and I do Page.RegisterClientScriptBlock("CopyToClipboardRoutine", strScript). The content of strScript is: "<SCRIPT LANGUAGE='JavaScript'>function CopyToClipboard(){ var Data;Data =...
  10. IlseDC

    Copy to clipboard - newline

    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.'...
  11. IlseDC

    change value of html control (input type=&quot;text&quot;) in code behind

    I do not use a textbox server control because I need the value in javascript and I find no way to do that. A server textbox control is in HTML: <asp:TextBox id="TextBox1" runat="server">Test</asp:TextBox> So there is no value attribute that can be used in javascript to read the value.
  12. IlseDC

    change value of html control (input type=&quot;text&quot;) in code behind

    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">
  13. IlseDC

    User control and clientside script - content of asp:label

    getElementById does not work. I tried this: strScript = "<SCRIPT LANGUAGE='JavaScript'>" + "function Test()" + "{" + "alert(document.getElementById('lblText').value);" + "}" + "</SCRIPT>"; Page.RegisterClientScriptBlock("TestRoutine", strScript);
  14. IlseDC

    User control and clientside script - content of asp:label

    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...
  15. IlseDC

    Raise event in web user control to parent web user control

    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...
  16. IlseDC

    Dropdownlist with 2 colums

    To fill up with spaces works only if you use a fixed width font (courier). In proportional font (arial) the characters don't have the same width so the alignment of description will not be the same for all items. I would like to have two columns but with a proportianal font not a fixed width font.
  17. IlseDC

    Dropdownlist with 2 colums

    Padding the id is not a good option when you use a non-fixed font (Arial, Verdana, ...). When you pad the id you have to use a fixed font (Courier). A fixed font is also needed because f.e. character W is larger than I. But I don't like fixed fonts.
  18. IlseDC

    Dropdownlist with 2 colums

    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...
  19. IlseDC

    Load web user control dynamic in other web user control

    I dragged Control_1 to my web page but is was outside the <form> </form>. I changed the location of the user control in HTML view and now it works fine. Thanks for your advice.
  20. IlseDC

    Load web user control dynamic in other web user control

    I tried with the LoadControl method. I get following error message: Control 'Control_11__ctl0_Button1' of type 'Button' must be placed inside a form tag with runat=server. Button1 is the control on web user control Control_2. In the page_load van web user control Control_1 I do the load of...

Part and Inventory Search

Back
Top