Search

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

Matching Posts

  • Re: Video control

    If you don't want to use Silverlight have a look at the following link, which explains how to do this using a Windows Media ActiveX control. http://www.c-sharpcorner.com/UploadFile/scottlysle/CsharpWebVideo04212007133218PM/CsharpWebVideo.aspx
    Posted to Web Forms (Forum) by lspence on 11/25/2009
  • Re: Get the title of the mage as the subject of mail !

    Is your code for sending the email and the page title you are trying to add to your subject all on the same page? If you are adding the page title to your subject from a different page you could store the title you want to appear in SessionState, Cookie, or a Hidden Field and then retrieve it on the page where you need to send your email.
    Posted to Getting Started (Forum) by lspence on 11/25/2009
  • Re: Get a data ID and pass to another webform

    You will need to post a little more code. I do not see where you are actually appending the value of "solic" to the querystring. I see you are trying to retrieve it, but not where it is being appended. Did you actually mean for the following line: [quote user="joaoluizbt"] < asp:HyperLink ID = "HLNovaOS" runat = "server" ImageUrl = "~/img/adicionar.ico" NavigateUrl ="~/Atendente/DtlsOS.aspx? modo = inclusao &s [/quote] To be < asp:HyperLink
    Posted to Web Forms (Forum) by lspence on 11/25/2009
  • Re: Get the title of the mage as the subject of mail !

    Sure this is a very simplified example that saves the Page title in a Session variable that is accessed from the page that will actually send the email out via Gmail. Default.aspx Page <div> This is the Default.aspx page. </div> Default.aspx.cs Page if (!Page.IsPostBack) { Session["PageTitle"] = Page.Title; Response.Redirect("~/Page2.aspx"); } Page2.aspx Page <div> Send Email Page <br /><br /> </div> <asp:Button ID="Button1" runat
    Posted to Getting Started (Forum) by lspence on 11/25/2009
  • Re: Question and Answer application

    You can use a button to move to the next question. The Wizard Control is very appropriate for something like this. If you haven't already you might want to also take a look at the "Building a Quiz Engine 1" 3 part video. http://www.asp.net/learn/videos/video-04.aspx
    Posted to Getting Started (Forum) by lspence on 11/24/2009
  • Re: best way to reset a page

    If by reset the page you mean to clear all values of textboxes, dropdowns, etc. The snippet I provided you will do this by recursively going through the controls on the page you have added to the function. You would just need to call the function when you want to reset the page to it's initial state prior to any data being entered, selected or populated by the user.
    Posted to Web Forms (Forum) by lspence on 11/18/2009
  • Re: best way to reset a page

    You can create a Subroutine with the following code to handle resetting the controls on your page. Add additional controls as needed. For Each ctrl As Control In Form.Controls If TypeOf ctrl Is TextBox Then Dim tb As TextBox = TryCast(ctrl, TextBox) tb.Text = String.Empty End If If TypeOf ctrl Is DropDownList Then Dim dd As DropDownList = TryCast(ctrl, DropDownList) dd.SelectedIndex = -1 End If If TypeOf ctrl Is GridView Then Dim gv As GridView = TryCast(ctrl, GridView) gv.DataSource = Nothing End
    Posted to Web Forms (Forum) by lspence on 11/16/2009
  • Re: Asp.Net Website - Android Phone - Videos

    I have not tried any of the following yet, but you can try them out. Video Player Act 1 Gallery (native app)
    Posted to Web Forms (Forum) by lspence on 11/16/2009
  • Re: Get contents of another site page

    Please refer to the following thread for an example of Screen Scraping. http://forums.asp.net/t/1475605.aspx
    Posted to Web Forms (Forum) by lspence on 11/16/2009
  • Re: How to jump to particular section of different page ?

    As mentioned you need to use named anchors and ensure that there is enough text filling the page to push the section you want to jump to up on the page. Default.aspx <div> <a href="Page2.aspx#Section3">Jump to Section 2</a> </div> Page2.aspx <div> <a name="Section1">Section 1</a> <p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque ac sem eros. Sed leo nisi, dictum vel semper tempor, dignissim non arcu. Phasellus
    Posted to Web Forms (Forum) by lspence on 11/13/2009
Page 1 of 135 (1347 items) 1 2 3 4 5 Next > ... Last »