By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,508 Members | 1,856 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,508 IT Pros & Developers. It's quick & easy.

Client event handlers and parameters

P: n/a
I am assigning a client event handler like this:
this.Treeview.Attributes.Add("onselectedindexchang e", "executeClick()");

Can specify parameters for it? LIke this:

this.Treeview.Attributes.Add("onselectedindexchang e",
"executeClick(parms)");

Thanks
Nov 18 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
this.Treeview.Attributes.Add("onselectindexchange" ,
string.Format("executeClick{0}", yourParamVariable.ToString()))
Who will pass the value for your client handler parameter? Code-behind? In
this case what is the problem:)

"Mark Goldin" <ma********@comcast.net> wrote in message
news:OW**************@TK2MSFTNGP09.phx.gbl...
I am assigning a client event handler like this:
this.Treeview.Attributes.Add("onselectedindexchang e", "executeClick()");

Can specify parameters for it? LIke this:

this.Treeview.Attributes.Add("onselectedindexchang e",
"executeClick(parms)");

Thanks

Nov 18 '05 #2

P: n/a
Can I send parameters from either side?

"Yuri Belenky" <yu***@mercatus.no> wrote in message
news:e9**************@tk2msftngp13.phx.gbl...
this.Treeview.Attributes.Add("onselectindexchange" ,
string.Format("executeClick{0}", yourParamVariable.ToString()))
Who will pass the value for your client handler parameter? Code-behind? In
this case what is the problem:)

"Mark Goldin" <ma********@comcast.net> wrote in message
news:OW**************@TK2MSFTNGP09.phx.gbl...
I am assigning a client event handler like this:
this.Treeview.Attributes.Add("onselectedindexchang e", "executeClick()");

Can specify parameters for it? LIke this:

this.Treeview.Attributes.Add("onselectedindexchang e",
"executeClick(parms)");

Thanks


Nov 18 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.