[CLOSED] Template that can identify headings

Page 2 of 2 FirstFirst 12
  1. #11
     i.Listeners.Click.Handler = "Ext.net.DirectMethods.ActivityEditor.SetTask('"+r.ServiceID.ToString()+"','"+r.ServiceName+"');";
    I switched the menu listener for a menuitem listener that calls a direct method.
    Partly because the dropdown is now in valuetext mode and the dropdown panel hides itself.

    Using .setValue(string) on the client side was just not recognizing that the widget had a value.
  2. #12
    I'd suggest you to avoid server if it's not really required.

    You can use .ClientID of DropDownField:
    mp.Menu.Listeners.ItemClick.Handler = TaskType.ClientID + ".setValue(menuItem.text);";
Page 2 of 2 FirstFirst 12

Similar Threads

  1. [CLOSED] How to identify upload file size before uploading in IE?
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jun 29, 2012, 5:54 PM
  2. [CLOSED] Center FormPanel with appropriate headings
    By wisdomchuck in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: May 23, 2012, 7:17 PM
  3. [CLOSED] How to identify the notification iframe?
    By csssi_coolite in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Oct 07, 2011, 8:56 AM
  4. [CLOSED] Identify Row Number Selected in Grid
    By CMA in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 26, 2011, 2:03 PM
  5. [CLOSED] How to identify which page was loaded in a panel?
    By flormariafr in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Feb 26, 2010, 10:42 AM

Tags for this Thread

Posting Permissions