Search

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

Matching Posts

  • Re: how to clear validation summary?

    as I actually work on this issue too, I found a solution for that problem. On client-side the framework calls Page_Validate(validationGroupName) function to validate the page and update the ValidationSummary control. This happens in general when the submit button is clicked. But It is possible to trigger this page wide validation manually, e.g. when a value in combo box changed. Handle the desired client-side event and call Page_Validate. This validates all Validators on client-side and updates the
    Posted to Web Forms (Forum) by rcerff on 10/14/2008
  • Re: how to clear validation summary?

    as a workaround, if you use AJAX and the Validator controls and the textbox are hosted in the same UpdatePanel, you can set the following two properties at your textbox to validate: AutoPostBack = true CausesValidation = true what you get: - ValidationSummary is updated and it looks almost that it is updated on the client. what it costs: - a real asynchronous postback occures, that means the validation hits the server.
    Posted to Web Forms (Forum) by rcerff on 10/10/2008
  • Re: Extender control adds a script tag on each async postback

    Hello James, thank you at first and excuse my English. I see, it is really not clear what behavior I expect. Adding the script tags as described in my post is something I don't want. It fills up the html unnecessarily and has maybe some other negative impact. Several times I've inspected my code, but I don't find anything that could cause that behavior. Regards Rolf
  • Extender control adds a script tag on each async postback

    I've developed an AJAX Extender control derived from ExtenderControl class. The extender works fine so far but when I look with firebug into html code I expect, that at evry asynchronous postback he following script tag is added to the header part of he html-page: <script type="text/javascript">Sys.Application.add_init(function() { $create(Rssweb.WebComponents.NewList.ListViewKeyBoardPagerBehavior, {"_nextCmdArgument":"Next","_nextKeyCode":"39"
  • Re: Extender Control properties in a switch/case

    Thanks Damien, but sorry it is a typo in my post. I'am actually using switch (KeyEvent.keyCode) instead of switch (KeyEvent) as I wrote. So I'am actually using the switch statement you suggest. Regards Rolf
    Posted to ASP.NET AJAX UI (Forum) by rcerff on 8/29/2007
  • Extender Control properties in a switch/case

    Hello, I have problems using properties of an Extender Control in a switch/case selection. I wrote an ASP.NET AJAX Extender Control to control a GridView with keyboard shortcuts. For that, the user can configure declaretively what keys to use for e.g. paging in the GridView. The key values are mapped to properties in the JavaScript part of the Extender Control ( Sys . UI . Behavior class) . In a handler function I determine which key the user has pressed and call the porper _postBack. This works
    Posted to ASP.NET AJAX UI (Forum) by rcerff on 8/29/2007
  • Re: Left Menu with Menu control in ASP.NET

    Hello Mahesh, I don't have a detailed solution for you, but maybe some hints that might help you. - You can bind the menu control to hierarchical xml data representing a parent/child relationship like one described in your question. You can bind the menu control to xml data in e.g. a XmlDocument. You can load the data of your tables and preversing the parent/child relationship of your tables by loading them into a DataSet object which contains two DataTable objects containing your Category and
  • CommandArgument of PostBack on Client side

    Hello, I need to get the CommandArgument, e.g. 'Select$5' of a postback in my BeginRequest event handler. I get the control which causes the postback by the args.get_postBackElement() method. But how can I get the second part, the CommandArgument value (__EVENTARGUMENT)? Is there also a property of sender or args parameter of the event handler or do I have to use the document.forms[0].__EVENTARGUMENT value? Thank you Regards Rolf
    Posted to ASP.NET AJAX UI (Forum) by rcerff on 8/25/2007
  • Re: Extending the Accoridon Control to support paging

    Hello Tom, maybe you've already found a solution for your problem. I was faced with the same problem some days ago. I've found a solution that works for me. I described it in my blog . I hope that solution works for you too, if a solution for that is still needed. Regards Rolf
    Posted to ASP.NET AJAX Control Toolkit (Forum) by rcerff on 3/8/2007
  • Re: ASP.NET 2.0 Treeview Checkboxes - Check All - Javascript

    Hello, I had the same problem. After some investigation I found the solution in replacing some only IE JavaScript commands with commands both browsers (and maybe more) understand. 1. I replaced the onclick handler with a version which has event as a parameter, i.e. onclick=="client_OnTreeNodeChecked(event);" 2. In the handle function replace "var obj = window.event.srcElement;" with "var obj = event.srcElement || event.target ;", because only IE supports srcElement property. This sentence works for
    Posted to FAQ - Frequently Asked Questions (Forum) by rcerff on 4/25/2006
Page 1 of 1 (10 items)