Search:

Type: Posts; User: davebat

Page 1 of 13 1 2 3 4

Search: Search took 0.53 seconds.

  1. Replies
    0
    Views
    927

    Very strange iissue

    My client has an admin site and a front end on a different server. Images are uploaded to the from the admin site, but this way the front end wouldn't be able to see them. What i did was create the...
  2. Replies
    5
    Views
    2,802

    Re: regularexpression for decimal

    Yes it client side, I managed to work it out anyway, and learn something so was quite good.


    ^[1-9]{1}([0-9]+)?(\.[0-9][0-9]?)?

    The ^[1-9]{1} means:
    ^ Start of string
    [1-9] character...
  3. Replies
    5
    Views
    2,802

    Re: regularexpression for decimal

    Hi Gep, Thats the first thing I tried mate but that means no 0's would be allowed before the decimal.

    so 12.58 would pass but 10.58 wouldnt.

    I wanted to have this all done through the same...
  4. Replies
    5
    Views
    2,802

    [RESOLVED] regularexpression for decimal

    I currently have this regular expression for a whole number with optional decimal to 2 places.

    I need to chnage it so that the number has to be greater than 1.

    Can anyoen help

    ...
  5. Replies
    13
    Views
    3,332

    Re: The connection was reset

    Hmmm, thanks for the suggestions both of you. As Im no iis/server expert I dont really want to mess with registry values. Ill test ona different server for now and look at getting our dev server to...
  6. Re: Response.BinaryWrite within iframe

    My client doesnt have the problem, I think what has happened is that the test site I was looking at didnt have the files on the server, although had a record for them in the database.

    Thanks...
  7. Replies
    13
    Views
    3,332

    Re: The connection was reset

    Yeah, I cant get any info on how to chnage the request limits. Basically if the querystring is too big for any site on this server I get the error
  8. [RESOLVED] Response.BinaryWrite within iframe

    I'm working on a site that is quite strange in it's set up, but it is what it is....

    ....Anyway, a page on site A has an iframe opening a page on site B. The IFrame displays info about a file...
  9. Replies
    13
    Views
    3,332

    Re: The connection was reset

    makes sense, your'e right its iis 6 :o
  10. Replies
    13
    Views
    3,332

    Re: The connection was reset

    lol was that a freudian slip "just ruinning the site"
  11. Replies
    13
    Views
    3,332

    Re: The connection was reset

    Thanks saptor, Ive seen that link already but couldnt see where to change these settings on my server.

    Incidentally what does "windows 2003 running iis 7" What?No. mean?

    Hi Gary, im not...
  12. Re: [RESOLVED] Overload resolution failed because no accessible 'New' can be called w

    Overload resolution failed because no accessible 'New' can be called without a narrow
  13. Re: Overload resolution failed because no accessible 'New' can be called without a na

    sorted, i changed too


    Dim filepath As String = (Server.MapPath(sSavePath & sFilename))
    Dim newFile As FileStream
    newFile = New FileStream(filepath, FileMode.Append)
  14. Re: Overload resolution failed because no accessible 'New' can be called without a na

    exactly the same error, but thanks for trying. Unfortuantely I never properly learnt any programming so have no idea about the diffeerence between new and = etc
  15. Thread: Post url

    by davebat
    Replies
    9
    Views
    1,391

    VS 2008 Re: Post url

    Hi GJA

    Yes this is certainly possible, it would be sueful if you could answer Geps questiosn first tho mate
  16. Replies
    13
    Views
    3,332

    The connection was reset

    I have used a payment provider to accept payments, its all working fine but on my dev server I get an error.

    The provideer returns to my site with a large querystring (around 650 characters) this...
  17. [RESOLVED] Overload resolution failed because no accessible 'New' can be called without a narrow

    Im working on a really old site and the following line is causing an error



    Dim newFile As FileStream = New FileStream(Server.MapPath(sSavePath + sFilename), System.IO.FileMode.Create,...
  18. Thread: Post url

    by davebat
    Replies
    9
    Views
    1,391

    VS 2008 Re: Post url

    What do you want the receiving page to do?
    Do you know how to write an aspx page?
    Have you attempted to write the page?
    Do you have more code sample?
  19. Thread: Master Pages

    by davebat
    Replies
    4
    Views
    1,207

    VS 2008 Re: Master Pages

    Shodan, the div is placed by default on a page in visual studio. You dont need it so feel free to remove it. Tables generally should only be used to display tabular data, and the divs + CSS to...
  20. Re: What is the best control for a Shopping Cart?

    heres a smaple repeater that should help



    <asp:Repeater ID="Users" runat="server">
    <HeaderTemplate>
    <table width="100%" border="0" cellpadding="5" cellspacing="1"...
  21. Re: What is the best control for a Shopping Cart?

    Hi,

    You would never refer to an image like this, as this would actually try to find it on the users local c:

    Ideally you would store the web path of the image in the database. If you cant do...
  22. Re: What is the best control for a Shopping Cart?

    Use a repeater to disply a html table
  23. Re: Asynchronously bind multiple repeaters on page laod

    Thanks, I found a good solution using javascript to do the button click

    http://jakkaj.wordpress.com/tag/updatepanel/
  24. Asynchronously bind multiple repeaters on page laod

    Hi,

    I have four repeaters, that are al independant to each other. They all bind via web services on page load and then display the results.

    There is a noticeable delay however and I would like...
  25. Replies
    0
    Views
    544

    Serviong user file through filestream

    Hi all, for security I am goign to store files outside the website, give the folder asp.net full permission and then stream the file to the user.


    Dim fs As FileStream
    Dim strFileName As...
  26. Replies
    2
    Views
    641

    Re: c# to vb .net conversion

    Hi Jdogg,

    Yes I'm converting to asp.net with vb as the code behind, I always confuse myself wheh describing these two.

    Anyway, Ive sorted it now, and dint need the settings file.

    Thanks
  27. Replies
    1
    Views
    789

    VS 2010 Re: Best way to hide divs based on Roles

    Javascript sounds like the way to go, assign the divs a class based on role required, and on page load feed in the users role to the js function.
  28. Replies
    2
    Views
    641

    c# to vb .net conversion

    Hi,

    Im converting a project to vb .net, and so far so good using an online tool. However the original project has a .settings file which as far as i can tell grabs properties from the web config....
  29. Replies
    4
    Views
    788

    VS 2008 Re: Custom Membership Provider question

    Hi Nitesh

    I assume the staff and teacher data is different hence why they are in seperate tables. Personally I would store the fields that are the same for both teachers and pupils in one table...
  30. Replies
    4
    Views
    788

    VS 2008 Re: Custom Membership Provider question

    Just add teacher and pupils as roles, why complicate things?
  31. Replies
    1
    Views
    1,082

    Re: what LCID in asp.net

    HttpSessionState.LCID Property

    Gets or sets the locale identifier (LCID) of the current session.
    ...
  32. VS 2010 Re: Initialize javascript with masterpage.

    can you confirm the link to the javascript file is correct, if it is then there problem lies within this file, and as you haven't posted the javascript I dont know
  33. Replies
    1
    Views
    4,755

    Help with class selectors

    I have a data driven form, and selecting certain values will open other inputs hidden in a div.

    I had this working when just one div was opened with one value, but adding multiple values has...
  34. Replies
    5
    Views
    1,136

    Re: Email Campaign - track clicks?

    A link takes you to a webpage, on the webpage there will be some tracking activity. A querystring from email can be used for identification
  35. VS 2010 Re: Question about membership and layered architecture

    I dont think youll need too - but I may be wrong. your web layer is protected by membership, and so only authenticated people accessing the web layer will access the db layer.
  36. VS 2010 Re: how to change menu items on master page depending on content page selection

    set up public properties on the master page for any controls you need to access from the page. Declare the master page at the top of the aspx page so you can access the properties. his way you can...
  37. Replies
    2
    Views
    1,624

    Re: Make label blinking

    Blink was a tag used in netscape navigator around 10-12 years ago, quite interesting on how it was invented http://www.montulli.org/theoriginofthe&#37;3Cblink%3Etag

    however its not used anymore, for...
  38. Re: [RESOLVED] access multiple controls in gridview rowupdating

    Good to hear, based on your photo i always imagine you getting quite exasperated answering all these stupid questions lol.

    Cheers again.
  39. Re: access multiple controls in gridview rowupdating

    Thanks once again Gep, I used the find control method, I should have thought of that!
  40. [RESOLVED] access multiple controls in gridview rowupdating

    I was asked to change a textbox for date of birth into three seperate dropdowns.

    Now I can only find the first one. here is a sample of code



    <asp:TemplateField HeaderText="Date of Birth">
    ...
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Click Here to Expand Forum to Full Width