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 wOOdy-Soft 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: *

  • Users: NBartomeli
  • Content: Threads
  • Order by date
  1. 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...
  2. 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...
  3. 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
  4. 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...
  5. 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...
  6. 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...
  7. 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')...
  8. 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...
  9. 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...
  10. 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...
  11. 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...
  12. NBartomeli

    xsl:for-each and not()

    I am trying to do a for-each but leaving out certain nodes, something like: <xsl:for-each select="/Report/*[not(/Totals)]"> In other words, I want all the nodes under Report, except the "Totals" nodes.. Can I do this? Thanks
  13. NBartomeli

    Optimization help

    I have a XSLT stylesheet which was pretty fast untill I added more too it. This is the code that slows down the stylesheet: <!-- if there are totals for the level --> <xsl:if test="/Report/Totals/@Level='ColumnLevel2'"> <tr> <td class="xl26" align="left" width="200">Totals:</td> <!--...
  14. NBartomeli

    Convert from String to Int through datatable.select()

    I am trying to convert a value in a datatable, which is a string and has to remain that way, to an integer or double value so I can perform a SUM operation on it. I have tried the following: objRow.Item("Total") = objDataReport.Tables("ColL2").Select("Sum(Convert(ColValue,'System.Int32'))")...
  15. NBartomeli

    Checkbox can't be enabled?

    I have an ASP page which uses javascript for some validation and other things. I have a routine which fills text boxes with values when they are dragged over, and when text is entered in the box, I want the checkbox that corresponds with that text box to become enabled (they are all disabled by...
  16. NBartomeli

    asp / javascript checkbox enable/disable issue

    I have a 4 sets of checkboxes and text boxes on an aspx page. The checkboxes are disabled by default but when the text box next to it has text entered into it, the checkbox is supposed to enable. The problem is, the value is changed when I step through it in the debugger but the page is not...
  17. NBartomeli

    Transform Optimization

    Are there any good resouces available which explain what steps can be taken to optimize XSLT sheets so transformations run faster? I am transforming an XML document using .NET and on large datasets (90,000 + records in one case) the transform takes upwords of 4 minutes. I am fairly new to...
  18. NBartomeli

    Passing exceptions from DLL to ASPX page?

    I have a dll (report.vb) file that i pass a dataset to so it will get filled. In the routine, if the dataset exceedes a certain number of rows or columns, I want it to throw an exception and exit before it goes back to the page. I have the following code reports.vb: if rows > 255 or cols >...
  19. NBartomeli

    Crystal Reports only display if I dont pass parameters

    I have been successful in getting Crystal Reports to display in a web application when they do not require parameters. As soon as I try to set a parameter value in the report I recieve an error: "Unable to connect: incorrect log on parameters. " Stack Trace: [LogOnException: Error in...
  20. NBartomeli

    Is there a &quot;self&quot; reference for forumula's?

    I am trying to modify a worksheet for a woman in HR that lists all the employees and some information about them. Every time she adds or removes an employee the formula fields are off, circular references occur, etc.. since she just deletes or adds rows from the sheet. since the starting row...

Part and Inventory Search

Back
Top