Tristan@work
April 24th, 2001, 09:02 AM
Hello,
I know it is a bit off-topic but I have some problems using the DesignTimeControls (DTC) in MS VisualInterdev, in the past I used only HTML-elements in my application, now I wanted to try the listbox-DTC and encountered some problems (propably because I'm to stupid or such...).
When I add this element to my ASP-side and try to add an item to this listbox via:
(using VBScript server-side)
<%
for i = 1 to 10
Listbox1.AddItem "bla"
next
%>
as it is shown in several sample-applications I just get an empty listbox, everything I'm trying (using additional parameters, brackets,...) leads to an empty listbox ...
Same problem with the textbox-DTC, whenever I try to read out the Value of the the object (so the string the user entered) in an Textbox1_OnChange-event gives me an empty Textbox1.value-string ... there is just nothing in it ... the whole string is empty ... why? I have a bunch of books dealing with ASP but they all describe only the common HTML-listboxes and such, not with DTCs ... what can I do about it - any suggestions?
Thanx in advance ...
Tristan
--> Tristan @ Work <--
I know it is a bit off-topic but I have some problems using the DesignTimeControls (DTC) in MS VisualInterdev, in the past I used only HTML-elements in my application, now I wanted to try the listbox-DTC and encountered some problems (propably because I'm to stupid or such...).
When I add this element to my ASP-side and try to add an item to this listbox via:
(using VBScript server-side)
<%
for i = 1 to 10
Listbox1.AddItem "bla"
next
%>
as it is shown in several sample-applications I just get an empty listbox, everything I'm trying (using additional parameters, brackets,...) leads to an empty listbox ...
Same problem with the textbox-DTC, whenever I try to read out the Value of the the object (so the string the user entered) in an Textbox1_OnChange-event gives me an empty Textbox1.value-string ... there is just nothing in it ... the whole string is empty ... why? I have a bunch of books dealing with ASP but they all describe only the common HTML-listboxes and such, not with DTCs ... what can I do about it - any suggestions?
Thanx in advance ...
Tristan
--> Tristan @ Work <--