Search

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

Matching Posts

  • Re: Lines of text in Output Window are truncated to 256 characters

    The string gets chopped off. If I enable line wrapping, the line wraps at the right edge of the output window but the second line still gets chopped at the same character position.
    Posted to Visual Studio 2005 (Forum) by pgrealy on 11/5/2007
  • Re: Lines of text in Output Window are truncated to 256 characters

    Re-reading my original post, I was not very clear about waht I am doing. While in VS 2005, I am opening our SQL 2003 server in ServerExplorer and chooisng a stored procedure from one of our databses. I then right-click and execute. We have stored procedures that read through some tables and auto-generate some lines of code. It shuold generate some asp code and vb code to cut-and-paste into asp.net forms I am developing. This works well except for some very long lines. The procedure below is a simplified
    Posted to Visual Studio 2005 (Forum) by pgrealy on 11/5/2007
  • Lines of text in Output Window are truncated to 256 characters

    Hi, If I execute a stored procedure in VS 2005 that generates long lines of output they are truncated at 256 character maximum. Is there a way to increase this limit? Thanks, Pat G.
    Posted to Visual Studio 2005 (Forum) by pgrealy on 11/2/2007
  • Re: Custom Control with Radio Button List

    Great - items.clear is exactly what I was thinking of. I'm still testing all this but so far everything is copacetic. Thanks again. - Pat G.
    Posted to Web Forms (Forum) by pgrealy on 10/18/2006
  • Re: Custom Control with Radio Button List

    Thanks - I tried your first two suggestions and they both worked. I suppose I will stick with the PreRender override as you suggest. So, now I create the RBL control in the Overrides Sub CreateChildControls but I loop through the code to add option items(rblRRL1.Items.Add(strTxItem(intCounter))) in the PreRender, is that right? Are there any gotchas I should look out for? Thanks again, Pat G.
    Posted to Web Forms (Forum) by pgrealy on 10/17/2006
  • Custom Control with Radio Button List

    Hi, I'm using Visual Studio 2003, ASP.net 1.1, VB.net. I am trying to learn how to use custom composite controls and have been doing ok so far except that I cannot figure out how to generate an asp radio button list(RBL) with a variable number of option buttons. Is this even possible? The code below is for a simple single-control example that demonstrates the problem. I have compiled this into a custom control library I call TestControls. I would like to create a custom control called TestRBL
    Posted to Web Forms (Forum) by pgrealy on 10/17/2006
  • Re: How to open a pdf file in a new window

    Agus, Thanks for your suggestions. I tried the response.writefile and it partially worked. The pdf window was obscured by browser window and I had to click refresh to get them drawn correctly. However, we have decided to go back to using response.redirect, keeping the document opened in the same window. I'm playing with this now, testing .pdf as well as .txt and .doc files. My main problem at this point is getting the subfolder path resolved. Also, I wonder is there a way to disguise the URL from
    Posted to Web Forms (Forum) by pgrealy on 12/5/2005
  • How to open a pdf file in a new window

    Hi, I can open a pdf file in the browser using response.redirect. I'm using aspx web forms, clicking a link and opening a dummy page that should display the file using VB code-behind. As a test I'm trying to open temp.txt in Notepad. I've done a lot of searching and spent a lot of time trying to get the process.startinfo and process.start stuff to work with little success. Further searching seems to indicate that these are SERVER processes that do me no good. Elsewhere in this forum I found this
    Posted to Web Forms (Forum) by pgrealy on 12/1/2005
  • Re: How to check web control TabIndex in code-behind VB

    Hi, I have solved my problem thanks to a posting by Cathi Gero in Universal Thread Magazine, Feb 2003 ( http://www.utmag.com/February2003/Page3.asp ). I needed to figure out one additional step using the GetValue: intTabIx1 = CInt(myControl.GetType().GetProperty("TabIndex").GetValue(myControl, Nothing)) Pat G. FYI, the excerpt from Universal Thread Magazine follows: Iterating through the controls on an ASP.NET page There are times that you may need to iterate through the controls on a Page inside
    Posted to Web Forms (Forum) by pgrealy on 10/17/2005
  • How to check web control TabIndex in code-behind VB

    Hi, I have a web form with multiple controls. I have two read-only text boxes with TabIndex = -1 so they are skipped by the user. My problem: I have a code-behind VB function that processes all the controls on the form and I would like to skip the controls with TabIndex < 0. I can check a specific control like if txtTextbox1.TabIndex < 0 then ... However, looping through a collection of controls I don't see that the TabIndex property is available. Here's part of what I have: Public Function
    Posted to Web Forms (Forum) by pgrealy on 10/14/2005
Page 1 of 2 (15 items) 1 2 Next >
Microsoft Communities