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 TouchToneTommy 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: slatet
  • Content: Threads
  • Order by date
  1. slatet

    Using app pool with web part

    Is anyone familiar with how to use and app pool with a web part? I'm told that is why I keep getting a "catastrophic failure" but I am not a sys admin. My impersonate is set to false in the web.config. My .dwp is in the wpcatalog folder My .dll is in the bin folder. It is registered in...
  2. slatet

    Not registered as safe

    I'm getting this error with my webpart. I have researched it everywhere and cannot figure out the problem. ITs probably something small I am missing. ANy help is appreciated. I am using a cab file so it generated this: <SafeControl Assembly="USA.WebParts.Log, Version=1.0.0.0...
  3. slatet

    Not associated with a trusted

    I've researched this throughout tek tips. SQL Server is in mixed mode. I have turned anonymous off in IIS for both the website and the app pool. I am using integrated security "integrated security=SSPI;data source=(Local);initial catalog=log;trusted_connection=true" I had originally tried...
  4. slatet

    Connection string problem

    I'm developing a c# webpart on my computer and then copying it to a VM image on my same computer to test it. Each time I try to "fill" a dataset it redirects me to the maintenanc screen. Can anyone help me figure out why? Here is the connection string string connectionString = "user...
  5. slatet

    change bordercolor

    You would think this would be easy, but its not cooperating. I'm trying to create a table on the fly and change the border color of the cell. I know that BorderWidth is working because the box shrinks in size as I make the width larger, but the color is still white. Any help is appreciated...
  6. slatet

    HIde gridview footer?

    Can you hide/show a gridview footer programmatically? Basically what we want to do is allow someone to add a row to a grid but we don't want the empty textboxes just sitting there all the time. The user will have to hit a button to make it appear.
  7. slatet

    IsDaylightSavingTime

    Is anyone good at using IsDaylightSavingTime? I grabbed clock code off of a website but I have to change it for daylight savings. I found IsDaylightSavingTime might be the solution but am struggling to get it to work. Here is the code: var day=""; var month=""; var myweekday=""; var...
  8. slatet

    Attributes.Add with a onclick text box

    Does anyone know if this is doable? ANd if it is, what is wrong with this line. Textbox.Attributes.Add("onclick", "Procedure(value);"); I'm getting an "error on page" on the page status bar when I click on this field. Thanks in advance.
  9. slatet

    Attributes.Add with a onclick text box

    Does anyone know if this is doable? ANd if it is, what is wrong with this line. Textbox.Attributes.Add("onclick", "StoreProc(value);"); I'm getting an "error on page" on the page status bar when I click on this field. Thanks in advance.
  10. slatet

    Determine cell clicked

    We are trying to figure out how to determine which cell in a datagrid is clicked. Its actually an infragistics webgrid so I don't know if anyone is able to help. We are creating the grid dynamically and assigning a URL to the cell with the following type of code: newRow.Cells[j].Tag =...
  11. slatet

    keeping form top level

    We are having difficultly with a form staying on top of the owner. It seems to depend on the speed at which the owner loads. If it loads quickly then a setfocus on the modal works but if it finishes reloading after the modal then the focus switches back. The modal has a list in which you...
  12. slatet

    Msg 208 err too

    I have read the posts on 208 and they do not help me. When I try to call a function from a procedure in query analyzer, I get that error. I am positive that the database is correct, the name is spelled correctly, and the function does in fact exist the the correct database and still the error...
  13. slatet

    Iterate through datagrid in edit mode

    Does anyone have suggestions on how to handle the following? We have a grid that binds to an class that contains a datetime object. When the datetime is null we set it to System.Data.SqlTypes.SqlDateTime.MinValue.Value. When the datetime is equivalent to this value, we make the cell blank for...
  14. slatet

    confirm delete in datagrid

    We're having some difficulty with getting the confirmation box to work with the datagrid. We have found examples in tek tips but could not get it to work for us. Here is the HTML for the delete command: <asp:ButtonColumn HeaderStyle-CssClass="grid-header" Text="Delete"...
  15. slatet

    PHP AND MYSQL problems

    I'm trying to help a friend with php but I don't know it very well. They are having problems trying to insert, update and delete. All of the selects work fine. They took this site over from someone else and it used to work perfect. Does anyone know why this might be happening?
  16. slatet

    scope_identity insert problem

    We're having some difficulty with a scope_identity var that gets returned from an insert. When printed, it is correct, but when we try to use it for another insert, nothing is ever inserted into the table. Here is the first insert: Insert into Master_Node (a bunch of cols) Values (a bunch of...
  17. slatet

    serializing and arraylist

    We are trying XmlSerialization for the first time. We are trying to copy an array list out to an xml document but keep getting a cast error. We've tried .toarray with no luck and now are trying .copyto. Any help is appreciated. We have an obj called node with contains an arraylist called...
  18. slatet

    DataReader not getting all recs

    I'm using a datareader for the first time. I'm using an example that I found online to export values to an excel spreadsheet. It seems to be skipping a row. If it is supposed to return 1 row, it is empty. If it is supposed to return 2 rows, it skips the first row and only displays the second...
  19. slatet

    alert won't display

    We are using an alert inside of a .net app that is written in VB. I'm not sure if the problem is Javascript or VB related so I am posting to both forums. All the previous code to this line works perfectly, but when you get to this line it sometimes works. Its one long line...
  20. slatet

    calling javascript

    I need to have a webpart with a continuously updating clock, in order words, it changes every second. I found something on the web in javascript that works. I have the webpart itself working but now I have to transfer the javascript code into the c# web part. Does anyone know the best way to...

Part and Inventory Search

Back
Top