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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by mj616

  1. mj616

    strange compiler error I only get sometimes

    Yeah, adding namespaces the same as the application causes errors sometimes. Ok glad youve fixed it.
  2. mj616

    Installation Rights

    Are you installing a windows app? If so it will depend on the permissions of the current user trying to install I believe. An application can also check to make sure you have suffficient privaledges to specific directories etc.
  3. mj616

    Importing Dmoz Dump

    Don't know how you are reading the file in but Compression files need to be read by using the FileStream.WriteByte((byte)byteFromInFile).
  4. mj616

    strange compiler error I only get sometimes

    what version on .net are you using? I think I heard something that the compiled dlls in 2.0 need to match the .aspx version its referencing. Just a shot.
  5. mj616

    P3P compact policy for cross domain cookies

    Here is my problem. I have two sites, SiteA the host and SiteB the image provider. Setting cross Domain cookies with a script appended to the image file is getting blocked from SiteA because of the browser (IE6). When I add the appropriate p3p compact policy header to the response on the image...
  6. mj616

    Accessing Sessions

    could also use String s= Session["var"].ToString();
  7. mj616

    SqlMembershipProvider

    you can create a custom MembershipProvider if you wanted to, that is one option. Link
  8. mj616

    Using the Web.UI.Page class within another class

    I've been using this template. It allows you to create a custom template and then add anything else that is particular to a page in the actual .aspx you are calling. http://www.ftponline.com/vsm/2004_03/magazine/columns/aspnet/default.aspx
  9. mj616

    Using the Web.UI.Page class within another class

    So are you wanting to do something like asp.net 2.0 masterpages?
  10. mj616

    FormsAuthentication - can't get persistent cookie

    Yes you can access this from Response.cookies["cookieName"]
  11. mj616

    FormsAuthentication - can't get persistent cookie

    Try just using FormsAuthentication.RedirectFromLoginPage(username,true)and see if this will work for you. Everything else looks fine to me.
  12. mj616

    FormsAuthentication - can't get persistent cookie

    Did you check your web.config? http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gngrfforms.asp
  13. mj616

    datagrid hyperlink to new page/new datagrid

    yeah, make a method to in a DataLayer Class that receives an id parameter and returns a DataSet. Then when you need it just call that method and pass it a ds. Another possibility is to retreive all the data and cache it. This is of course if the database table doesn't contain alot of records...
  14. mj616

    Strange Datagrid Problem...

    Add a watch on e.Item.Cells(2).Text.Trim() and what do you get for the value when it gives you 6 as the length?
  15. mj616

    Navigation of web pages

    You could also use the server variable but set validation on the pages if the fields are not filled out. Either way sounds good to me.

Part and Inventory Search

Back
Top