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. NBartomeli

    ASP 2.0, how do I dynamically add a user control?

    The code-behind still doesn't know the TYPE of X though, so when you type "X." you get a generic list of object methods/etc.. not the one's that are marked as public for the type of control. So thats a start, but I need to be able to call functions on the user control, so it needs to know the...
  2. NBartomeli

    ASP 2.0, how do I dynamically add a user control?

    I want to be able to dynamically add it to a page, then cast an object as that type of control so I can call a method of that control. I want to be able to do this: Dim X as control = LoadControl("../controlX.ascx") Controls.add(x) Dim i as integer = CType(X, ControlX).DoSomething(1,2) hope...
  3. NBartomeli

    ASP 2.0, how do I dynamically add a user control?

    In 1.1, I was able to say something like dim x as control = loadcontrol("../control.ascx") Controls.add(x) dim y as MyCustomControlType = CType(x, MyCustomControlType) 'or CType(x, MyCustomControlType).SomeParameter = 1234 Since everything is partial classes in 2.0, how can I accomplish...
  4. NBartomeli

    Problem with Webservices and Reflection .GetFields() method

    I have a function which takes 2 objects, they are both of the same class but one is from a webservice and one from the local application. Using reflection I have a method that fills the local object with the parameters in the one returned from the webservice. In 2003 this works just fine, In...
  5. NBartomeli

    ASP.NET 2.0 Declare controls as Public?

    How can you change a control from protected to public? or can you not do that anymore? Thanks in advance
  6. NBartomeli

    Connect to SQL Analysis Services on another machine

    can someone tell me how to change my connection string (without using impersonation) to allow asp.net application (ADOMD.NET) to connect to an instance os SQL 2000 AS which resides on another machine on the network? It seems that AS needs to use Windows Authentication, which is a big letdown...
  7. NBartomeli

    VisualTotals function: can you return only the total?

    I know how the visual totals works, but is there a way to have it only return you the aggregate column and not the child columns with it? If not, is there an easy way to accomplish this? Example: (taken from SQL Server Books Online) select {[Measures].[Unit Sales]} on columns...
  8. NBartomeli

    "lock" cursor over element / create "splitter" control

    The problem is that if (or when) the cursor moves over the iframe, it is then over a different document than the one where the event occured. Since the events dont populate down the document hierarchy it doesn't think there is a mousemove on the page. I solved this problem by playing a...
  9. NBartomeli

    "lock" cursor over element / create "splitter" control

    Can you give me an example of how to do the "ghosted" image? I have seen this done before but was unable to find a source code example
  10. NBartomeli

    "lock" cursor over element / create "splitter" control

    I have a table with a single row and 3 cells, first and last cell contain iframes, the middle cell is 5px wide, and when clicked allows the user to drag left/right and change the width of each frame. My problem is that when the user moves the cursor too quickly, it moves off of the element...
  11. NBartomeli

    Update span's innerText

    not the cleanest code in the world but it gets my point across (might be IE only for now) <html> <head> <script language="javascript"> function doSomething(){ var i; for(i=0;i<800000;i++){ } } function doProcess(){ var status = document.getElementById('statusArea'); status.innerHTML...
  12. NBartomeli

    Update span's innerText

    Positive. If i put alerts, or something to break the routine, it works fine. If i put something like "loop from 0 to 10000000" the button stays "pressed" untill all the loops have finished and then the last message is the only one that shows up. I guess I'm just looking for a working example...
  13. NBartomeli

    Update span's innerText

    setTimeout(...) doesn't seem to work for me either. even if I set the timeout to some rediculously large number it makes the page almost "hang" for a few seconds then just shows the final message. putting the status calls in the "doSomething()" routines doesn't seem to make it work either...
  14. NBartomeli

    Update span's innerText

    I am trying to update a status message before/after function calls. My code looks like the following (simplified) var status = document.getElementById('statusMessage'); function updateStatus(state){ status.innerText = state; } function doThings(){ updateStatus('doing something1')...
  15. NBartomeli

    Arrays of Structs in Structs

    I am trying to create arrays of structs nested in other structs in my class, as follows: <Serializable()> _ Public Structure clsEquityTrackerMetric Public Name As String Public Measure As String Public MeasureID As String Public MeasureType As String Public ThresholdHigh As Integer...
  16. NBartomeli

    retreiving cell text of bound datagrid column?

    I have a datagrid with 4 templated columns, 3 of the columns have controls in them, and the other one is bound to a field in the datatable I bind the grid to after I bind the grid, it displays the data just fine, but If I loop through the item collection to try to extract the text from the...
  17. NBartomeli

    Transforming XML with MSXML, not bui;t in .NET

    I found this just now, but I get an "Object reference not set to an instance of an object." error on the line in red: On Error GoTo Handle ' Create FreeThreadedDOMDocument Dim oXSLT As New MSXML2.XSLTemplate Dim oStyleSheet As New MSXML2.FreeThreadedDOMDocument Dim oXSLTProc As...
  18. NBartomeli

    Transforming XML with MSXML, not bui;t in .NET

    I am looking for an example in VB.NET which outlines XML/XSLT transformations using MSXML, not the XML classes which are built into .NET (speed reasons) I have been unable to find an example on MSDN, other than for scripting languages. need a concrete example showing showing how to load the...
  19. NBartomeli

    Need MSXML & VB.NET example

    MSXML is a set of classes for use in Visual Studio & .NET I am not looking for an XML or XSLT primer, I am looking for examples of using MSXML COM objects in my program as an alternative to the .NET built in XML classes Thanks
  20. NBartomeli

    Need MSXML & VB.NET example

    The built in XSLTransform class in .NET is a little too slow for my needs. I would like to use MSXML instead of the built-in .NET xml classes, but I am getting a little hung-up with the syntax. If someone could point me to an example or tutorial (need to know how to load XML and XSLT files and...

Part and Inventory Search

Back
Top