Search

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

Matching Posts

  • Re: Visual Studio 2008 fails to debug an ASP.NET project... Sometimes

    Since I started running VS as administrator this problem doesn't occur no more. You can right click on the shortcut icon for VS2008, go to properties and in general tab click on advanced and then run as administrator. Your application will always run under administrator when accessed from that shortcut.
    Posted to Visual Studio 2008 (Forum) by orange_square on 8/24/2009
  • Re: WebForms.PageRequestManagerServerErrorException: Status code 500

    I had the same problem because I was passing a string containing the special characters (<,>, &, ', ") to the asynchrounous call. The page validation doesn't allow rendering these types of characters, therefore you need to use ValidateRequest="false" in the tag <%@ Page ...%>. Please make sure if it's safe to do this in your application as it can be a source of HTML injection.
  • Re: Weird postback issue with tab control

    Great suggestion Richard! I had the same exact problem, but used validation groups and evthg works good now. Thanks!
  • Re: Close popup window after file download

    Hi! Here's another idea that I used. Create a new <IFRAME> element in your javascript code right when you click to download the file and attach it to you body element and set the source element of the iframe to the url where you want to process the info. Here's the javascript code: if(document.getElementById("downloadDiv") == null) { downloadDiv = document.createElement("div"); document.getElementsByTagName("body")[0].appendChild(downloadDiv); downloadDiv.style.width = "0px"; downloadDiv.style
    Posted to Web Forms (Forum) by orange_square on 6/28/2006
  • Re: Invalid postback or callback argument.

    I think the error you get is because of a control within the page, not the page itself, therefore you have to see which control changes its structure, during postbacks and try to make your own custom control derived from the one you just use. You need to override the LoadPostData function, because inside in the original function there is a call to a ValidateEvent function which crashes, because the original data that was sent to the client is not the same with the one that is received on the server
  • Re: Invalid postback or callback argument.

    Add a new custom control derived from the control you are using (e.g. DropDownList) and in the new class override the LoadPostData function. protected override bool LoadPostData( string postDataKey, System.Collections.Specialized. NameValueCollection postCollection) { return true ; } It should work. It did for me. Regards
  • Re: Asp.NET debugging problem

    I only tried it on localhost IIS webs. I am not alone on this project and we are using source safe. The colegue I am working with doesn't have this problem though. I am also using C#. It is very spooky what happens and thank you for trying to help me.
    Posted to Visual Studio 2005 (Forum) by orange_square on 7/1/2005
  • Asp.NET debugging problem

    I am having a problem that slows down my work. I have the VS 2005 Beta 2 and everytime I open a Web project and run it the first time, the debugging is working normally. if I close the browser (stop the application) and then run it again I cannot add any more breakpoints in the code, I cannot modify the code (I know I can't modify it in the other project libraries from the solution, but I should be able to change the code in the web project, hit refresh on the browser and see how the changes affected
    Posted to Visual Studio 2005 (Forum) by orange_square on 6/30/2005
  • Re: How to bind a hierarchical data source to a menu (or treeview) control?

    Thank you Fredrik, I did as you said, and it's working. The Hierarchical Data Source would of have been of great use, thinking about code reuse and I would still want to see an example of a hierarchical data source bound to a treeView or a menu control if anyone did it. For those who want to see my example, here it is: I used a SqlDataReader of the following type: NID | PID | Name 1 0 Projects 2 1 .NET 5 2 aaa 4 2 bbb 3 1 Java 7 3 ccc 6 3 ddd The PID corresponds to the parent item in the NID column
    Posted to Data Presentation Controls (Forum) by orange_square on 11/25/2004
  • Re: How to bind a hierarchical data source to a menu (or treeview) control?

    I tried follow that example but it really was over my strenghts. The only thing I want to do is to bind the following SqlDataReader object : ParentID | Name 1 Father 2 Sister 2 me 1 Uncle 2 Cousin 3 Nephew to a Menu control. Thank you! Radu
    Posted to Data Presentation Controls (Forum) by orange_square on 11/25/2004
Page 1 of 2 (16 items) 1 2 Next >