This is a migrated thread and some comments may be shown as answers.

getting DataFieldID with Javascript

0 Answers 27 Views
PanelBar
This is a migrated thread and some comments may be shown as answers.
aykut
Top achievements
Rank 1
aykut asked on 05 Nov 2008, 10:59 AM

I want to use panelbar's datafield ID (for example ID field of database) with javascript. according to value I will call 'location.href=....' script. It must be javascript because I need to change iframe content so I cannot use navigationurl field.

function onClicking(sender, eventArgs)
{

alert("The " + eventArgs.get_item().get_text() + " item has been clicked");

}

works but I need DataFieldID

I searched helps and forums but couldn't find anything...

Any sample please ??*

No answers yet. Maybe you can help?

Tags
PanelBar
Asked by
aykut
Top achievements
Rank 1
Share this question
or