Forums
This topic is locked
:( UD is irritating me....
25 Jan 2002 11:35:07 I Mahomed posted:
Orignal code--- <select name="Cat" onChange="MM_jumpMenu('parent',this,0)" class="Fields">
<option value="subcat.asp" selected>Select Category</option>
<option value="subcat.asp">View All</option>
<%
While (NOT rsCat.EOF)
%>
<option value="subcat.asp?CID=<%=(rsCat.Fields.Item("CAT_ID".Value)%>" <% if (rsCat.Fields.Item("CAT_ID".Value) = Request.QueryString("CID" Then Response.Write(" Selected" %> ><%=(rsCat.Fields.Item("Cat_Title".Value)%></option>
<%
rsCat.MoveNext()
Wend
If (rsCat.CursorType > 0) Then
rsCat.MoveFirst
Else
rsCat.Requery
End If
%>
</select>
---- Ud Generated COde
<select name="Cat" onChange="MM_jumpMenu('parent',this,0)" class="Fields">
<option value="subcat.asp" selected>Select Category</option>
<option value="subcat.asp">View All</option>
<option><%
While (NOT rsCat.EOF)
%></option>
<option><MM_ASPSCRIPT></option>
<option><MM:EndLock></option>
<option value="subcat.asp?CID=<%=(rsCat.Fields.Item("CAT_ID".Value)%>"><%=(rsCat.Fields.Item("Cat_Title".Value)%></option>
<option><%
rsCat.MoveNext()
Wend
If (rsCat.CursorType > 0) Then
rsCat.MoveFirst
Else
rsCat.Requery
End If
%></option>
<option><MM_ASPSCRIPT></option>
<option><MM:EndLock></option>
</select>
ud keeps changing my code to the 1 above and everytime i gotta go in and clean up :\ sum1 know why ? and could sum1 please recommend a good editor dats not slow as hell , replaces code and gives errors:
Replies
Replied 25 Jan 2002 12:59:27
25 Jan 2002 12:59:27 Mark Labordus replied:
Don't make the mistake of dubbel-clicking UD's server-behaviors when you know you made changes by hand!
UD is not made for 'handcoders', you need a good editor for that, I use Multiedit (www.multiedit.com/), but any editor will do.. Sometimes I use MSE (MS Development Environment) of MS-Office, specially the intelisence I like a lot.
Mark.
UD is not made for 'handcoders', you need a good editor for that, I use Multiedit (www.multiedit.com/), but any editor will do.. Sometimes I use MSE (MS Development Environment) of MS-Office, specially the intelisence I like a lot.
Mark.