473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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.
Nov 17 '05 #1
1 1212
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:OZ**************@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.

Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Aidan Gill | last post by:
MS Visual Studio.NET Framework 1.1 Hello, I am trying to install the webcontrols. Have installed into the correct directories and can run the example pages under IIS. I am trying to install...
7
by: Mark Goldin | last post by:
How can I do that?
1
by: Bob Howard | last post by:
I am trying to figure out how to get the toolbar control to act like a Win32 Toolbar and have searched high and low for an example. For example, if I had a toolbar with "File Edit etc." and...
11
by: Kenneth P | last post by:
Hi, This link works but when you try to download IE WebControls you'll get to page that doesn't exist. http://msdn.microsoft.com/workshop/webcontrols/overview/overview.asp Anyone who could...
0
by: I am Sam | last post by:
Ok whats wrong with my toolbar? When I debug I don't get an error message and the databinding is working correctly but the toolbar itself and the <iewc:ToolbarDropDownlist /> control isn't showing...
8
by: Charts | last post by:
I download IEWebControls.exe, and installed it. Installation created IE Web Controls directory. The readme.txt said, 3. Create a /bin subdirectory for the application and copy the file...
3
by: dave | last post by:
We have an application that works perfectly in-house (tested on 3 different servers). It uses Microsoft.Web.UI.WebControls.dll for menubars and toolbars. Problem Description: We uploaded...
0
by: marcyb | last post by:
Can anyone help I am trying to get a WebControl toolbar to work this is my code for a toolbar in visual web developement 2005 express for C# <%@ Page Language="C#" Debug="true" %> <%@ Import...
1
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, i noticed in the msdn docs it says that the ie webcontrols are no longer supported. is there a new version (particularly the toolbar) that i should use? thanks, rodchar
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.