Search

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

Matching Posts

  • Re: Tips on increasing AutoCompleteExtender performance?

    Interesting! Hadn't head about Trie before. Will give it a try. Thanks!
    Posted to ASP.NET AJAX Control Toolkit (Forum) by johram on 5/17/2009
  • Re: Tips on increasing AutoCompleteExtender performance?

    The thing is that you should use the count parameter to restrict the number of hits. There is no point in returning 70,000+ records. I'd say 20-50 records - at a maximum - are meaningful in the result. Don't know the API you're using but in SQL you can issue a SELECT TOP, using the count parameter to limit the results to count rows. Good luck!
    Posted to ASP.NET AJAX Control Toolkit (Forum) by johram on 5/14/2009
  • Re: Autocompleteextender And ScrollBar

    Seems this problem is two-fold: 1) To prevent having a long completion list stretch beyond screen boundaries - set a fixed height (or even better a max-height) in the CSS, and also make sure you set overflow: auto. Use CompletionListCssClass in conjunction with a stylesheet. Then you'll get a nice scrollbar to play with. 2) If you experience that the completion list disappears when you click the scrollbar, it may be caused by AutoPostBack set to true on the asociated TextBox. Try changing AutoPostBack
    Posted to ASP.NET AJAX UI (Forum) by johram on 5/14/2009
  • Re: Imagebutton + Javascript (with parameters) = Impossible?

    If you are inside an UpdatePanel, you need to use ScriptManager.RegisterStartupScript instead of Page.ClientScript Script looks ok. For debugging purposes, try replacing the call to PrintDymo with a simple alert('somevalue') and see if that pops a message box. Then you know the code is triggered.
    Posted to Client Side Web Development (Forum) by johram on 5/6/2009
  • Re: meta tags in pages created from master page

    You're on the right track. Meta description is added like this: <meta name="Description" content="Here goes the description">, where name="Description" is static, i.e. you only change the value in the content attribute. All meta tags that you add in your master page will be applied to content pages, that's right. Now, if you want to have the option for a content page to modify any meta tags (for example you may want to have different description or keywords
    Posted to Getting Started (Forum) by johram on 4/30/2009
  • Re: ascx, custom controls

    You need to create a templated user control. See http://msdn.microsoft.com/en-us/library/36574bf6.aspx Also see the Gu's post: http://weblogs.asp.net/scottgu/archive/2006/06/04/Supporting-Templates-with-ASP.NET-User-Controls.aspx Two first hits on google. It's my lucky friday
    Posted to Custom Server Controls (Forum) by johram on 4/30/2009
  • Re: AspNet MVC frame work E-book

    Scott Guthrie has some excellent articles on his blog that will help you get started. There's a sample project called NerdDinner which he builds step by step. You can download his eBook for free which will explain the procedure. Have a look at http://weblogs.asp.net/scottgu/archive/2009/03/10/free-asp-net-mvc-ebook-tutorial.aspx Also available as HTML here: http://weblogs.asp.net/scottgu/archive/2009/04/28/free-asp-net-mvc-nerddinner-tutorial-now-in-html.aspx Download links and "get started"
    Posted to ASP.NET MVC (Forum) by johram on 4/30/2009
  • Re: Binding Arraylist of class objects with dropdown list

    [quote user="kha86lilo"] Just add the name as property in you class like the following ... [/quote] There is already a public member called Name, so that's not the problem. The problem is that the ArrayList does not expose typed objects, only objects of type Object :-) If you're using a typed data structure such as an normal array or a generic list, then it will work.
    Posted to Getting Started (Forum) by johram on 4/29/2009
  • Re: SNMP TRAP in ASP.NET

    public virtual bool Callback(SnmpSession session, SnmpPDU pdu, int requestID) { if (pdu == null ) { return false ; } if (pdu.Command == SnmpAPI.TRP_REQ_MSG) { System.Console.Out.WriteLine(pdu.PrintVarBinds()); } return true ; }
    Posted to C# (Forum) by johram on 4/29/2009
  • Re: Binding Arraylist of class objects with dropdown list

    You get this error because you are storing the Product objects in an ArrayList, which is untyped. All objects that is stored in ArrayList is stored as type object, which means that you explicitly have to cast it to the right type when you access it in the ArrayList. So when you perform the DataBind, all it sees is a list of objects and object has no knowledge of a Name property. Either you skip the ArrayList and place the Product objects in a standard array. Or: A better approach (if you're on
    Posted to Getting Started (Forum) by johram on 4/29/2009
Page 1 of 347 (3470 items) 1 2 3 4 5 Next > ... Last »