Issue with Web block

Issue with Web block

  

Hi,

I am trying to create my own web block. I was able to do so successfully. However I want that each instance of this webcontrol should have a unique id. How to achieve this. 

Any help in this direction is appreciated.


Thanks,

Sandesh

Hi Sandesh,

You can give a web block a name (via the Name property), and retrieve the auto-generated Id by using Name.Id (where Name is the name you gave it). Is that what you are looking for?