Hi all,
I have a form which is programmatically created from reading values from a
database table.
There is a 'form' for each DocumentType - when I say form I mean as in a
different form will be displayed depending on the DocumentType.
If the querystring contains the DocumenType then the drop down menu is
removed and a text box (readonly) is put in its place to show the users what
the DocumentType is, I have to cover the possibility that a DocumentType may
not be specified in the querystring, and therefore if its not there the drop
down menu is displayed with its various options, again from the database.
All of the above is fine - I have this working - my problem is that I now
need to have a "when somethings changed" event for this object - but I cant
add one in the normal fasion for a control that you may have dragged and
dropped onto the page because in the code view the control doesn't exist
yet! Can someone please advise me as to how I can create the relevant event
(I think its SelectedIndex_Changed or something isn't it?). It will
obviously only be called when it is visible on the page.
Any information would be appreciated.
Regards
Rob