Search Results - VBForums

Search:

Type: Posts; User: brin351

Page 1 of 13 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    969

    Re: Displaying UDP messages on a page.

    If your calling the function on each timer tick your error suggests that your port connection isn't released before you try and make another. You could check the state of the udpClient object before...
  2. Replies
    1
    Views
    718

    VS 2008 Re: Getting javascript object required error

    I think you need to use PageRequestManager for custome JS inside a updatePanel.

    http://msdn.microsoft.com/en-us/library/bb311028(v=vs.100).aspx
  3. Replies
    1
    Views
    630

    VS 2005 Re: Label Not Hiding At Runtime

    It would be best to test the dataSource for rows and show/hide the label before binding the grid... unless you are using the sqlDataSource control?
  4. Replies
    2
    Views
    960

    Re: ASP.NET COM Error

    I haven't used COM objects in asp.net but when ever I get errors I can't resolve Google the msg usually turns up people who have run into the same problem.

    I'd google : No such interface supported...
  5. Thread: ASP.net

    by brin351
    Replies
    5
    Views
    1,142

    Re: ASP.net

    Do you have the Design page (Html, controls page) as well or just the code behind you have showen? I guess "Results" could be a server control like a gridview or repeater etc from the way it's being...
  6. Re: asp.net performance, profiling memory issues etc.

    My understanding is garbage collection relates more to win forms as web forms code is disposed once page processing completes... beyond that limited understanding I don't know.

    I'd be interested...
  7. Re: asp.net performance, profiling memory issues etc.

    All good info but some of it may be out of date depending on the win server version your running.

    I find it difficult to monitor performance. One of the best features in developement (or locally)...
  8. Replies
    2
    Views
    847

    VS 2012 Re: Creating Web Form with Code

    Yes with managed code you can dynamicaly create controls and render them sequentially.
  9. Replies
    6
    Views
    908

    VS 2010 Re: mobile friendly web

    There are considerable differences between a browser on a PC and a mobile device. Any website can be viewed on a modern mobile device but as you may be aware it's common for business/website to also...
  10. Replies
    2
    Views
    1,012

    VS 2010 Re: Publishing web sites

    Yep you can just upload the .aspx page and associated .dll to the bin. If you have made changes to code files in the app_code folder then upload the app.dll as well. I'd suggest making a copy of the...
  11. Re: PageRequestManagerServerErrorException Error stops all partial post backs on page

    There is no limit on viewstate as it's held on the page in a hidden field and posted to the server, if you view source you will see it above the html. You only need to be cautious of causing "bloat"...
  12. VS 2012 Re: How to format my table/rows/cells to have same width as gridview cells

    You can set the width of a table column by just setting the width of the first row td/th width, you don't have to set every one. From what I see all cell widths are 10px which is tiny and will not...
  13. Re: PageRequestManagerServerErrorException Error stops all partial post backs on page

    I'll have a stab in the dark because I don't have experience with update panels in production. If you know better my bad...

    1st guess - the site has been running for some time and the error as you...
  14. Replies
    11
    Views
    1,139

    Re: Cookies don't work.

    Have had no problems with localhost cookies on my dev machine. Do you need to specify a cookie "path" - do you have multipul apps...paths in the website that cookies can't cross?

    I'd try setting...
  15. Re: VS2010: ASP.Net RDLC Report Question

    Step 8 in the article Sapator linked to shows how to programatically attach a datasource/set to the report. Given that you should be able create a dataset from your SP and bind it to the report.
  16. VS 2012 Re: How to format my table/rows/cells to have same width as gridview cells

    VS design mode will not render the same as browser. For layout etc you'll need to test it in browser/s to see the actual result. Also to line the 2 tables up I'd view source in the browser to see...
  17. VS 2012 Re: Not getting value from my dropdownlist on RowUpdating event

    Yep sorry here is the link

    http://geekswithblogs.net/dotNETvinz/archive/2013/03/02/gridviewndashimplementing-cascading-dropdownlist-on-edit-mode.aspx
  18. Replies
    3
    Views
    759

    Re: Session or cookies

    Correct a session relates to the browser if you close it the session ends. Cookies have an expiry that you set so will persist until that time (accross browser sessions) unless deleted by the user. ...
  19. Re: Global Error Handler, How Neat It Could Be.

    Further to the good advice provided here is a link to msdn showing a complete example

    http://msdn.microsoft.com/en-us/library/bb397417(v=vs.100).aspx

    It doesn't show try-catch blocks around...
  20. VS 2012 Re: Not getting value from my dropdownlist on RowUpdating event

    Hmm seems strange that the method ddProductdg_SelectedIndexChanged is being raised on grid update if you're not calling it. Without seeing all the code I really can't say why. I googled and found...
  21. Replies
    8
    Views
    1,249

    VS 2010 Re: Controls out of line on different PC's

    You can certainly use tables as a fail safe - if you want to use css I posted some markup in a previous thread here

    From that example I'd drop the <fieldset> and use 2 divs 1 for each set/column...
  22. VS 2012 Re: Not getting value from my dropdownlist on RowUpdating event

    Your code looks like it should work so I'm thinking your binding the grid onpage load everytime therefore resetting dropdown 2,3. I'm guessing here but if you loose values on postback check when your...
  23. Replies
    5
    Views
    1,053

    Re: XSLT, opinions.

    Well I've not done much and anything but the simplest use I found overly complicated (my limitation). For example formatting xml to be used as a bindable datasource wasn't hard, much beyond that and...
  24. VS 2012 Re: Not getting value from my dropdownlist on RowUpdating event

    You comment that "'WHEN DEBBUGING, the text for ddBodyColor.Text is an empty string." have you tried ddBodyColor.selectedValue, I think it's best to get/set the value of items in the drop down.
    ...
  25. Replies
    5
    Views
    1,053

    Re: XSLT, opinions.

    Are you talking about using xslt to layout/style xml or something different?
  26. Replies
    8
    Views
    1,249

    VS 2010 Re: Controls out of line on different PC's

    Are you wanting the layout/alignment to appear like 2 columns labels in one and controls in 2nd? css classing every lbl and control is cumbersom I'd suggest a different approach.
  27. Replies
    12
    Views
    1,301

    Re: Further My Understanding of Pages/DAL

    It's always debatable to use n-teir/bll/dal or simply ad-hock ado objects to get and bind data. Really I think it comes down to personal preference, size and complexity of the business, performance...
  28. VS 2010 Re: Content Page Accessing Event Handlers from Two Different Master Pages

    I'm not on my dev machine so can't check/give some code that I think addresses this but from memory the solution is.

    1. create a base class that derives from master page that your 2 master pages...
  29. Replies
    4
    Views
    912

    VS 2008 Re: How can I fill color in part of image?

    To load an existing image just use

    dim myImg as image = system.drawing.Image.FromFile("path to image")

    you should be able to use system.drawing.graphics members to draw on the image

    you...
  30. Replies
    4
    Views
    912

    VS 2008 Re: How can I fill color in part of image?

    This link should help. It's targeting win forms but you can take what you need and run it on a server. Working with graphics is resource hungry which is fine in win forms but you need to consider the...
  31. Replies
    5
    Views
    997

    VS 2010 Re: Better way to align controls?

    Hello,

    Here is the way I tend to layout forms, it's a simple login form but you should be able to drop your controlls in there no prob. The allignment is set by label width which will wrap text if...
  32. VS 02/03 Re: Application_Error in Global.asax not returning Error line numbers

    Yes .net 2 and 4 have issues with browser deffinition files that don't recognise the latest userAgent string sent by new browsers IE10 etc and treated them as down level browsers. .net 4.5 browser...
  33. Replies
    15
    Views
    2,056

    Re: How to reference web user control

    Sorry my bad just delete the line 'Dim ProcessMenuContrl As New ProcessMenuContrl' you don't want to create a new instance you can refrence the usercontrol by its ID directly. (<uc1:ProcessMenuContrl...
  34. Replies
    4
    Views
    964

    VS 2012 Re: Not sure if I should use Gridview or not

    The 2 design options are 1 use javascript to fire the event when the user reaches the 2nd last column input/object and to display another row of controls be it by creating it, making it visable or...
  35. VS 2010 Re: webforms url rewriting in localhost errors

    Have you tried the url http://localhost:8241/folder1/170/ without the domain name.

    I run win server 2008 so I'm not sure about IIS express but without a DNS server localhost is finicky and I'd...
  36. Replies
    15
    Views
    2,056

    Re: How to reference web user control

    As suggested better to use public property to get/set controls on the usercontol.

    usercontrol


    Public Property customerButton() As Boolean
    Get
    Return...
  37. Replies
    0
    Views
    726

    VS 2010 Browser Definition files

    Im getting postback bugs reported by users of Chrome on windows, mac, devices etc.

    The site is running .net 4.0 and I installed the .net 4.5 .browser files a wile ago (for the site only not...
  38. VS 2008 Re: How to set the value of a dropdown in a gridview?

    Firstly late binding is best avoided if possible (SelectedValue='<%# Bind("Approved") %>'>) it's not good practice.

    To access each row as it's created you can use the rowDataBound event of the...
  39. Re: asyncFileUpload.UploadedFileError occurs on page partial post back

    I don't use update pannels but as the file upload seams to fire on the linkbut click and the error seams to indicate that no file was present (could try adding a file path then clicking the linkBut)...
  40. Replies
    2
    Views
    736

    VS 2008 Re: Download file from http/https

    The ftpwebrequest methods will do it if you have the ftp credentials to access the remote server.

    http://msdn.microsoft.com/en-us/library/ms229711.aspx
Results 1 to 40 of 500
Page 1 of 13 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.