Search

You searched for the word(s): userid:335919

Matching Posts

  • TreeView State

    Hello, I'd like to be able to open the treeview to a specific node based on the user's credentials. Is this possible? Bascially I want to be able to have have the TreeView open dynamically based on which "regionId" is associated with each user. I know that there is a selectedNodeIndex property, but I'm not sure how to set it dynamically. Any ideas, suggestions or comments graciously accepted. Gogoray
    Posted to Internet Explorer Web Controls (Forum) by gogoray on 4/23/2004
  • Re: No Solution or Project File...how can I restore?

    I thought I had source too, until I read schellem's post. i checked and he's right. the class files(ie c# code-behind pages) don't seem to be there. ugh. is that what happens when you copy the project and specifiy "only files needed to run this application"? yeah this doesn't look very good. thanks again for your help...it looks like i've got to roll up my sleeves and get to work sorting this out. gogoray
    Posted to Getting Started (Forum) by gogoray on 2/17/2004
  • Re: No Solution or Project File...how can I restore?

    thanks, i thought that was probably the way to go, but i didn't know if it was that straightforward. i'm very familiar with C#/asp.net but i've never used the portal before. should i install a new, clean version of the IBuySpy first, then replace it's code with the code from our server? or do you think it's enough just to create a new web application and then copy the code in? thanks so much for your help! gogoray
    Posted to Getting Started (Forum) by gogoray on 2/17/2004
  • No Solution or Project File...how can I restore?

    Hello, I just started a new job and inherited a customized IBuySpyPortal that apparently doesn't have a ".sln" file or a ".csprog" file. So obviously the person before me copied the project to the web server with only the files needed to run the site, but the problem is that no one knows where the real source code is located. In fact they think they probably walked out with the last programmer. Sooo, my question is this: How do you "restore" a project or solution from
    Posted to Getting Started (Forum) by gogoray on 2/17/2004
  • Re: Open Excel Spreadsheet ASP.NET/C#

    it's on the server. now it appears that i'm able to create a connection to the excel workbook, but it's not displaying in my browser window. here's the code so far: private Excel.Application excelApp = new Excel.ApplicationClass(); private void Page_Load(object sender, System.EventArgs e) { string workbookPath = @"c:\BACKUP\test.xls"; try { Excel.Workbook excelWorkBook = excelApp.Workbooks.Open(workbookPath, 0, true, 5, "", "", true, Excel.XlPlatform.xlWindows, "
    Posted to Web Forms (Forum) by gogoray on 2/11/2004
  • Open Excel Spreadsheet ASP.NET/C#

    Hello, I want to open an Excel spreadsheet in my ASP.NET/C# page, but the file cannot be found. Here's the code: <snip/> using Excel; using System.Reflection; using System.Runtime.InteropServices; <snip/> private Excel.Application excelApp = new Excel.ApplicationClass(); private void Page_Load(object sender, System.EventArgs e) { Excel.Workbook newWorkbook = excelApp.Workbooks.Add(XlWBATemplate.xlWBATWorksheet); excelApp.Visible=true; string workbookPath = "c:/BACKUP/test.xls";
    Posted to Web Forms (Forum) by gogoray on 2/11/2004
  • Hierarchal data / multidimensional array

    Hello, I'm trying to build a multidimensional array and I keep getting stuck. I want to take the results of a stored procedure and stuff parent and child Id's for each row into an array. I then plan on using the array to help me build a hierarchy. the id results of my sproc look something like this: locationId parentId 1 1 2 1 3 2 4 2 5 3 6 4 etc basically i want to loop thru these values and then build a tree based on parent/child relationships. i thought i could do this by creating a multidimensional
    Posted to Getting Started (Forum) by gogoray on 1/28/2004
  • Re: ViewDocument.aspx Security

    I just found another post that might help with this. Can I get the tabId of the referrer page and use that as my test? In other words if the referer URL doesn't contain the correct TabId then I could deny them acces to the file. Is that safe and or scalable? I could do something like this: string referer = Request.Params["HTTP_REFERER"]; //get referer url int position = referer.IndexOf("tabid=",0,referer.Length); string tabText = referer.Substring(position + 6) ; //6 is the length
    Posted to Portal Starter Kit (Forum) by gogoray on 1/22/2004
  • ViewDocument.aspx Security

    It seems that the document upload/download function of the portal is not secure - anyone with the URL can download a document directly, without actually logging in to the portal. So I'm trying to add a layer of authentication to the ViewDocument.aspx so that I check the user's role before displaying the uploaded document to them. For example, a smart enough user could type a direct path to a document and bypass all of the security of the portal, like so: http://MyPortalServer/uploads/MeetingMinutes
    Posted to Portal Starter Kit (Forum) by gogoray on 1/22/2004
  • Re: tabstrip styles

    hey bill, another stylesheet imparied developer looking for your legendary tabstrip stylesheet. can you send it to me at nogocashflow@yahoo.com? thank you very much! gogoray
    Posted to Internet Explorer Web Controls (Forum) by gogoray on 1/22/2004
Page 1 of 2 (16 items) 1 2 Next >