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 Mike Lewis 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. mellomel70

    Call to stored procedure does nothing

    Thank you Borislav. I tried your suggestion, and nothing is sent to SQL Server. I did discover, however, that if I do the following, it works: string DBString = ConfigurationManager.AppSettings[DSN].ToString(); SqlConnection conn = new SqlConnection(DBString); conn.Open()...
  2. mellomel70

    Call to stored procedure does nothing

    I'm working with an ASP.Net 4.0 project, and I'm calling a stored procedure on a SQL 2008 64-bit server. When I call the stored procedure, I don't get an error message, but the stored procedure doesn't do anything. When I call the stored proc natively in SQL Management Studio, it works fine...
  3. mellomel70

    Converting ASP.Net to .Net 4.0 throws MSDTC error

    Hi - I've just converted an ASP.Net 2.0 solution to 4.0. In general, it seems to work fine, but there's one point in the code that consistently throws an error on 2 Windows 7 machines, one 32-bit, one 64-bit. The same code works fine on a Windows 2003 machine in the 2.0 framework. Note that...
  4. mellomel70

    Calling Javascript on page load

    A co-worker helped me out. Here's how you do it: Put the following code under the CheckBoxList definition on the aspx page: <script type="text/javascript" language="javascript"> var controlID = '<%= cblDetails.ClientID %>'; var chk =...
  5. mellomel70

    Calling Javascript on page load

    Alas, I think I need to do this via .Net because I only want to call this when the page first loads, not on every page load. I'll post on a .Net or C# forum, thanks!
  6. mellomel70

    Calling Javascript on page load

    Hi - I have an ASP.Net 2.5 application and I need to call a javascript function when one of the pages loads initially. I've tried: string ScriptToCall = @"EnableCheckboxes(" + cblDetails.ClientID + ", false);"; ClientScript.RegisterStartupScript(this.GetType(), "addScript", ScriptToCall, true)...
  7. mellomel70

    I change text via javascript and it's not reflected when I View Source

    Ah! I didn't know that about OnClientClick. Good to know for the future. Just for the record, I solved my problem by a) using a hidden field to store the info I needed to pass back to the server and b) combining my two functions into one that had different behavior based on the value of the...
  8. mellomel70

    I change text via javascript and it's not reflected when I View Source

    Let me also be more specific - when I say I need to query the values in the various cells of the GridView, I need to do this in the .Net code-behind file, using C#. So my code is like this: if (cellStatus.Text == "Hidden") { do something } I realize this isn't a .Net or C# forum, but I'm...
  9. mellomel70

    I change text via javascript and it's not reflected when I View Source

    OK, good to know. How do I query the DOM? I need to do further processing based on the text currently showing in the fields. Plus, how do I get my button to actually call the ShowAvailable function instead of its original ShowDelete function? Thanks!
  10. mellomel70

    I change text via javascript and it's not reflected when I View Source

    Hi - I'm working in ASP.Net 2.0. My page has a GridView control, which is populated by a SQLDataSource. The GridView has one Button control per row. The button has a client-side javascript function (ShowDelete) attached to its OnClientClick event on DataBinding of the GridView. This event fires...

Part and Inventory Search

Back
Top