Webcontrols toolbar question

Ask a Question related to ASP.NET General, Design and Development.

  1. #1

    Default Webcontrols toolbar question

    Hi all,

    My app is using the toolbar webcontrol. Adding to and removing from the
    toolbar is fine but I want to add something like an 'onclick' event to a
    particular toolbaritem I'm adding to the toolbar so that it invokes a
    javascript function but only for that image. How do I do this? I see that
    the toolbar item does not have an 'attributes' attribute.

    Regards
    John.


    John Guest

  2. Similar Questions and Discussions

    1. Another question to hiding navigation toolbar
      Hi all, I'm having problem in hiding the navigation panes for pdf-file opened in browser. The parameter navpanes=0 does work for adobe of newer...
    2. Toolbar Question
      Working on tables in IDcs. I have needing to make changes to the boards and lines to the tables. When the table is selected and I go to fix the...
    3. Aspx pages and webcontrols question
      Hi, i have a newbie dud I would like to develop a portal, and i have two web controls (the left menu, and the top menu The only thing that i...
    4. Webcontrol toolbar image click question
      Hi all, Firstly, allow me to just say that programming asp.net AND using viewstate has been (and still is at the moment) the most painful...
    5. Basic Toolbar Question
      I am having the hardest time getting my toolbars menu to pop down without shadowing, does anyone know how to do that? Currently, when I click on...
  3. #2

    Default Re: Webcontrols toolbar question

    i've hacked this.
    in the designer, click on the items collection and find the toolbar item in
    question replace the text property with this beauty:
    <span onclick="SaveToDataBase()";
    style="color:blue;Border:outset;">Save</span>
    it's downhill from there.

    "John" <a@b.com> wrote in message
    news:OZPqtmPVDHA.1812@TK2MSFTNGP11.phx.gbl...
    > Hi all,
    >
    > My app is using the toolbar webcontrol. Adding to and removing from the
    > toolbar is fine but I want to add something like an 'onclick' event to a
    > particular toolbaritem I'm adding to the toolbar so that it invokes a
    > javascript function but only for that image. How do I do this? I see that
    > the toolbar item does not have an 'attributes' attribute.
    >
    > Regards
    > John.
    >
    >

    Alvin Bruney Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139