Browse by Tags

Related Posts

  • How to get the line number of the code being executed

    I am new to Iron Python and .Net Programming. Please help me in this. I have to display the line number and the file name of the code written in Iron Python. As per my knowledge Iron Python gives the line number only when an exception occurs. Is there any way to get the line number and file name from...
    Posted to IronPython for ASP.NET (Forum) by sheetalp on 11-12-2008, 12:00 AM
    Filed under: IronPython
  • Import directive not recognized in IronPython?

    Hi, on a C# page, this directive would make the members of namespace Foo available: <%@ Import Namespace="Foo" %> To achieve the same on an IronPython page, I need to write: from Foo import * So the namespace directive is superfluent there. Is this by design or something that will get...
    Posted to IronPython for ASP.NET (Forum) by xanadu on 01-10-2008, 12:00 AM
    Filed under: ASP.NET Futures, DLR, IronPython
  • Re: Structure for a UserControl?

    Hi David - I ended up doing something very similar to this (using a Pair, since Python dicts aren't serialisable in the viewstate) - thanks for the advice. Is there any light on the problem with packages in App_Script? When is the next update of the IronPython integration likely to be made? Cheers...
    Posted to IronPython for ASP.NET (Forum) by christian.muirhead on 10-16-2007, 12:00 AM
    Filed under: IronPython
  • Re: Any Books for IronRuby and IronPython...?

    [quote user="SoftMind"] Hi, Any news on the books like... (1) IronRuby and (2) IronPython. Tutorials are also welcome. I know, both of them are relatively new languages for DLR, but just a little hope if any publisher has announced their aim for publishing such books in near future. Thanks...
    Posted to Book Reviews (Forum) by paggy4u on 09-14-2007, 12:00 AM
    Filed under: IronPython, IronRuby
  • Re: Serialize complex objects in IronPython for ASP.NET?

    Hi, back again... I've installed IronPython 2.0A1 which I believe is based on the Silverlight DLR stuff and done some more testing. Here's the code I'm runnig from the ipy.exe console: import clr import System clr.AddReference( "System.Xml" ) from System import * from System.IO...
    Posted to IronPython for ASP.NET (Forum) by jdanforth on 07-12-2007, 12:00 AM
    Filed under: IronPython
  • Re: Structure for a UserControl?

    Thanks David - That sounds like a sensible idea. I tried it using the following code: protected override object SaveViewState() { DynamicFunction f = this.ScriptTemplateControl.GetFunction("ScriptSaveViewState"); if (f == null) { return base.SaveViewState(); } else { return this.ScriptTemplateControl...
    Posted to IronPython for ASP.NET (Forum) by christian.muirhead on 06-08-2007, 12:00 AM
    Filed under: viewstate, IronPython
  • Re: Structure for a UserControl?

    Thanks David. I've upgraded to the ASP.NET Futures May 2007 release, and read through the quickstarts - it all sounds very exciting! One problem I've had with my UserControl after upgrading is that I can't import from packages in the App_Script folder - this is something that I had working...
    Posted to IronPython for ASP.NET (Forum) by christian.muirhead on 06-06-2007, 12:00 AM
    Filed under: usercontrols, viewstate, IronPython
  • Structure for a UserControl?

    Hi guys - I'm playing with the ASP.NET/IronPython integration, trying to work out how best to structure the code-behind for a user control. I want to write a control that is essentially an editor for a simple data structure - a list of items, where each item has a title and a body. The interface...
    Posted to IronPython for ASP.NET (Forum) by christian.muirhead on 05-29-2007, 12:00 AM
    Filed under: usercontrols, IronPython
  • Creating a Web Application from Visual Studio Team Suite 2005 ... error!

    I get an error message: The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\V8.0\WebApplications\Microsoft.WebApplication.targets" was not found. Confirm that the path in the <Import> declaration is correct, and the files exists on disk. C:\Documents and Settings\a-stevs...
    Posted to IronPython for ASP.NET (Forum) by Steve Stansbury on 05-18-2007, 12:00 AM
    Filed under: IronPython, IronPython ASP.NET
  • Why attribute injector mechanism only applies for Get, not Set?

    I found attribute injectors really simplified my work for creating an application. such as the 'FindControl' shortcut for Controls. But it only applies for getting a attribute from the target object, not Set. for example, we can write: a = ViewState.a but it's not possible to write this: ViewState.a...
    Posted to IronPython for ASP.NET (Forum) by Neil Chen on 12-17-2006, 12:00 AM
    Filed under: ASP.NET Python IronPython, IronPython, IronPython ASP.NET
Page 1 of 2 (17 items) 1 2 Next >