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 strongm 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: mj616
  • Order by date
  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.
  16. mj616

    Datagrid sorting - need help

    You need to check if your initial field is the current sort field if it is then switch direction from asc, to desc and vice versa.
  17. mj616

    Asp:HyperLink Question

    That is what I am doing now. However I have about 20 or so links and images on pages. So it would be easier to do it with the bind expression <%# %> than in code. The reason this is needing to be done to images and links is for different enviroments this web app is going to be setup on, I.E...
  18. mj616

    Asp:HyperLink Question

    Can anyone explain to me why this won't work. .aspx <asp:Hyperlink NavigateURL= "<%# appLocation %>" runat='server' id='link'>text</asp:hyperlink> codebehind public appLocation = "server.whatever"; Why doesn't my NavigateUrl get filled with the value? Thanks for the info. MJ
  19. mj616

    AJAX for .net

    On the brink of .net 2.0 and client callbacks I found a pretty cool AJAX .net controls someone has built for the current .net . Here is the link: http://jason.diamond.name/weblog/
  20. mj616

    comma in DataTable.Column name

    I am assigning columns to a dataTable and they have a comma in them. This doesn't pose a problem until I want to sort the table then it blows up on the dataview.sort command. It seems to stop reading my string I pass for the column as soon as it hits the comma. Is there a way to make this work...

Part and Inventory Search

Back
Top