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 gmmastros 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. Jacqui1811

    OnSelectedIndexChanged not firing when selected index set in code behind.

    Hi there. I am having problems with OnSelectedIndexChanged. If fires if I manually change the selected item in the drop down but not when I select an item in the dropdown in the code behind. I have checked and all the values are different, the drop down is not reloading when I have changed...
  2. Jacqui1811

    Could do with a little advice to start off with.

    Hi, I hate how broad this question is but I could really do with some help. I have played about a bit with Sharepoint before and published a form template to a form library but that is as far as my experience goes. I have been asked to develop a form that writes customer information to a...
  3. Jacqui1811

    Command event doesnt fire for button dynamic added to end of datagrid.

    Hi Lodlaiden Thanks for your reply. I added that but no luck. I gave it the name of the function that the command event would have fired but no luck. I have tried everything I have come across while searching, with and without a check for onpostback, with and without EnableViewState. The...
  4. Jacqui1811

    Command event doesnt fire for button dynamic added to end of datagrid.

    Hi, I dynamically add a link button to my datagrid with a command name etc but the Item Command event handler won't fire. I add the datagrid event handlers in the onload event like so : grdFunds.EditCommand += new DataGridCommandEventHandler(grdFunds_Edit)...
  5. Jacqui1811

    Hi, I want to be able to read the

    Hi, Thanks for the link but my production server won't have word installed and this references the word.application class. Unless I am mistaken I would need to install word to gain access to this. Sorry I thought I mentioned in the OP the main problem is no office/word will be there. Many thanks...
  6. Jacqui1811

    Hi, I want to be able to read the

    Hi, I want to be able to read the text from an uploaded word document into a string and save the string in a resx file. I am fine doing this if the document is a txt or a html by using : //// html and text doc this works. StreamReader sr = new StreamReader(FileUpload.PostedFile.InputStream)...
  7. Jacqui1811

    get the word after backslash

    Hi, this should work. yourString = D123\UNIX outputstring = yourString.Substring(yourString.IndexOf('\\') + 1); Regards Jacqui
  8. Jacqui1811

    Log4Net not logging.

    Hi, Managed to figure it out I had to call before I tried to do any logging. log4net.Config.XmlConfigurator.Configure(); All happy and working now :) Jacqui
  9. Jacqui1811

    Best Practices web application security , HELP PLS!

    Sorry, realised I could be a bit more help. That was debug code. The code I use in my production is a little more help to your end result. string group = "AD Group to check" bool userisinrole = false; if (User.IsInRole(group.Trim())) userisinrole = true; if (!userisinrole) {...
  10. Jacqui1811

    Best Practices web application security , HELP PLS!

    Hi, I have used this in the .cs page on load to print to a label all the ad groups the user belongs to. Is the below what you want ? //// DEBUG CODE gets each of the logged on user's groups // gets current user WindowsIdentity user = WindowsIdentity.GetCurrent()...
  11. Jacqui1811

    Log4Net not logging.

    Hi there. I have used log4net many times before with success but am having problems getting it to log in this one web site. I have [assembly: log4net.Config.XmlConfigurator(Watch = true)] in my AssemblyInfo.cs Here is the code in the page at the top is. private static readonly ILog log =...
  12. Jacqui1811

    MCMS edit template issue

    Okay, I got this sorted now so thought I would put down on record what the fix was. I needed to open the file using Open Web Site - Local IIS and then select the project. Thanks. Jacqui.
  13. Jacqui1811

    MCMS edit template issue

    Hi, I have an issue with a site I have inherited, it is an MCMS 2002 SP2 project. I have managed to check out the project from VSS and have opened the project with the Template Explorer menu populated nicely. However when I try and open up the template to edit I get Error message: Could not...
  14. Jacqui1811

    Preventing 'Save As' on Excel 2007 Workbook

    @PGO01. Sorry it took so long to get back but I was given higher priority stuff for a while. Anyway back on to this, I used that and it does the trick perfectly. Many Thanks. Jacqui.
  15. Jacqui1811

    Subreport will now show.

    Hi, I have a main report and a sub-report which gets its data from a different table. When I run the main report it does not show the sub report. The sub report runs on it's own as a main report and shows me the data I expect to see. There are no parameters or anything complex. I have added a...
  16. Jacqui1811

    Preventing 'Save As' on Excel 2007 Workbook

    I know there are soooooo many ways around it but my boss wants it as it is part of what our customer is asking for so as far as he is concerned it needs to be done no matter what. I have explained everything about it to him and he just shrugged his shoulders and said it needed to be done. I will...
  17. Jacqui1811

    help with passing variables into stored proc

    Thanks Simian will have a try at both of those. I will let both of you know what I have ended up implementing. Thanks again you two. Jacqui.
  18. Jacqui1811

    help with passing variables into stored proc

    Thanks markros I am looking over that link :). Regards Jacqui.
  19. Jacqui1811

    help with passing variables into stored proc

    It is a little more comples than it would appear. It does need to be dynamic as I might be passing other values to be in the where clause so it might be. where name = 'myname' and title = 'mr' and area= 'home' or it might be just where name = 'myname'. Or there might not even be a where clause...
  20. Jacqui1811

    help with passing variables into stored proc

    I have an issue with the sql for a report and wondered if anbody could help. I want to pass an entire where clause to a stored procedure to make filtering easy for the report. So I will have @filter = " where name = 'myname' ", exec sp_get name @filter the stored proc reads. sql = 'select *...

Part and Inventory Search

Back
Top