i need help in 2 things:
first i have several imagebutton so dynamically i change their ID but when i click in a button the ID reset to default = the ID before run time,so because the page reset because the page returned to the server ,but is their any method to remain this ID? because in the form load i write: if not page.postback <code> end if
so in the form load i change the iD,so any idea how to remain them?
and i want the server side i don't prefer javascript because i know what i need in asp.net not javascript and i have asp.net controls not input type so i want asp.net controls.
second:
i need to know the ID of the imagebutton who caused the postback but with no result i have an empty string.
so really i need your advices.
thank you.
cocoll 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.