Search

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

Matching Posts

  • Re: Open Print Dialog in C# without JavaScript

    Hi sonorforce The Print Dialog openning is a pure client-side behavior, it is can be done by client-side script (such as Javascript, VBScript and so on) . However, C# is a server-side programming language, so, we cannot open the Print Dialog from web page directly by C#. As a workaround, we can output the JavaScript from server side by C#, just like the following code: protected void Button1_Click(object sender, EventArgs e) { ClientScript.RegisterStartupScript(Page.GetType(), "print",
    Posted to Getting Started (Forum) by Lance Zhang - MSFT on 9/21/2009
  • Re: Ipaddress info

    Hi marko If you need to get your internal IP Address, you can try the following code: using System.Net; Dns.Resolve(Dns.GetHostName()).AddressList.GetValue(0).ToString(); .Net Framework haven't build-in library to get the external IP, so we have to get if from external site (such as http://www.whatismyip.com/automation/n09230945.asp, http://www.ciker.net/ip/index.asp) Your code can achieve the facing goal, and I would like to suggest you add "using" to WebClient class, because it implemented
    Posted to Getting Started (Forum) by Lance Zhang - MSFT on 9/21/2009
  • Re: How to prepare a Widget as Service

    Hi dotnetdouts You can provide a piece of JavaScript to other pages, such as: <script language='javascript'>http://www.yourdomain.com/widget.js</script> In the http://www.yourdomain.com/widget.js, you can write content like following: document.write ("<a href=http://www.yourdomain.com/JobList.aspx?id=15 target=_blank>job 15</a>"); document.write ("<a href=http://www.yourdomain.com/JobList.aspx?id=16 target=_blank>job 16</a>"); document
    Posted to Getting Started (Forum) by Lance Zhang - MSFT on 9/21/2009
  • Re: How add attributes dynamically into method domainservice class

    Hi mlho .NET Reflection can do read-only operations, cannot add Attribute dynamically on the fly. Please read the following link, which talks about the same question: http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/33110f54-8b73-4b43-b8e1-a427f501df35 If you need to create code on the fly, the only way I think is CodeDom or Emit . Thanks.
    Posted to Getting Started (Forum) by Lance Zhang - MSFT on 9/21/2009
  • Re: File Downloading

    Hi kwanann I don't think limit the bandwidth can be done by program, I would like to suggest you find ways in configure web server or by hardware. Resume/pause download cannot be done by ASP.NET, if your client-side using some RIA (such as Silverlight, Flex, Flash) to do the download, it can be controlled in the RIA's code. Thanks.
    Posted to Getting Started (Forum) by Lance Zhang - MSFT on 9/21/2009
  • Re: How to record the audio by using Asp.net 3.5

    Hi BaluChandaka In your scenario, I think you need to record audio on client-side. So, I would like to suggest you to use ActiveX control, and there are many ActiveX controls for sounds recording. Please check the following links for more information: http://search.brothersoft.com/activex-voice-record http://www.download3000.com/web-voice-recording-downloads.html http://3d2f.com/tags/tapi/voice/record/ If I’ve misunderstood the facing issue, please feel free to let me know. Thanks.
  • Re: passing arguments to popup window

    Hello Mohan1 From the code above, I think you are using a third-party control names “BulkEditGridView”, right? If so, I would like to suggest you post the question on their support forum or contact the service provider for help. Because this is a generic ASP.NET forum. And community members not familiar with that control. Hope you can get more helpful information there. Thanks.
  • Re: MaskedEditExtender, CalendarExtender, and TextBox with Globalization date failure

    Hello edge_gkn To globalization the CalendarExtender, please refer to the following thread: http://forums.asp.net/p/1413036/3112600.aspx#3112600 And there is a CultureName property in MaskedEditExtender , which we can use to setting the globalization information. Thanks.
  • Re: fileuploader (flajaxian)? how can i show pictures to picturebox that upload with fileuploader ? How can i save files with different names with fileuploader ?

    Hello oguzkaygun From the code above, I think you are using a third-party control names “flajaxian”, right? If so, I would like to suggest you post the question on their support forum: http://www.codeplex.com/FlajaxianFileUpload/Thread/List.aspx Because this is a generic ASP.NET forum. And community members not familiar with that control. Hope you can get more helpful information there. Thanks.
  • Re: Animation Extender on an image ..

    Hello skubagirl The document and API of AnimationExtender is following: Using Animations http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Walkthrough/UsingAnimations.aspx Animation Reference http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Walkthrough/AnimationReference.aspx#FadeInAnimation And there is a good article which talks about how to scripting Animations, I suggest you have a look: Scripting Animations from the Ms Ajax AnimationExtender http://blogs.msdn.com/phaniraj/archive/2007/05
Page 1 of 235 (2350 items) 1 2 3 4 5 Next > ... Last »