address of button
-
I am adding three buttons for every new question. suppose i have two questions then i have two pairs of three buttons all having different ids. If i click the first button then i want the id of this button and if i click the second button i want his id.And i have this function which i am calling in the form load event.In this function i am adding controls at runtime.Is this ok.It is very urgent.
Mohinder Singh
-
I am adding three buttons for every new question. suppose i have two questions then i have two pairs of three buttons all having different ids. If i click the first button then i want the id of this button and if i click the second button i want his id.And i have this function which i am calling in the form load event.In this function i am adding controls at runtime.Is this ok.It is very urgent.
Mohinder Singh
vengaqua wrote:
f i click the first button then i want the id of this button and if i click the second button i want his id
You can use button.clientId
vengaqua wrote:
And i have this function which i am calling in the form load event
Which function ? I m not seeing anything :confused:
printf("Navaneeth!!") www.w3hearts.com
-
vengaqua wrote:
f i click the first button then i want the id of this button and if i click the second button i want his id
You can use button.clientId
vengaqua wrote:
And i have this function which i am calling in the form load event
Which function ? I m not seeing anything :confused:
printf("Navaneeth!!") www.w3hearts.com
i have a function that adds the controls at runtime and i generate their ids at that time.And i am calling this function in the form load event. outside that function i dont have access to the buttons. Now tell me how to do it.i want the id of the button i click.I need this thing very urgently.Please hel me dear.
Mohinder Singh